Skip to content

Instantly share code, notes, and snippets.

View icaoberg's full-sized avatar

icaoberg icaoberg

View GitHub Profile
@icaoberg
icaoberg / Singularity
Created June 2, 2021 21:37
Singularity recipe for tokei
Bootstrap: docker
From: alpine:edge
%labels
AUTHOR icaoberg
MAINTAINER icaoberg@psc.edu
WEBSITE https://www.andrew.cmu.edu/~icaoberg
VERSION 12.1.2
%post
@icaoberg
icaoberg / Singularity
Last active June 2, 2021 21:26
Singularity recipe for hyperfine
Bootstrap: docker
From: alpine:edge
%labels
AUTHOR icaoberg
MAINTAINER icaoberg@psc.edu
WEBSITE https://www.andrew.cmu.edu/~icaoberg
VERSION 1.11.0
%post
@icaoberg
icaoberg / bioinformatics
Last active May 26, 2021 19:45
Simple script that lists modulefiles in the 'Biological Sciences' category
#!/bin/bash
module keywords "Biological Sciences"
@icaoberg
icaoberg / Singularity
Last active May 4, 2021 16:11
GROMACS 2021 Spack+Singularity recipe
Bootstrap: docker
From: spack/ubuntu-bionic
%labels
MAINTAINER icaoberg
EMAIL icaoberg@psc.edu
WEBSITE http://github.com/icaoberg/singularity-gromacs
COPYRIGHT Copyright © 2021 Pittsburgh Supercomputing Center. All Rights Reserved.
VERSION 2021.1
@icaoberg
icaoberg / example.gnu
Created May 3, 2021 02:41
GNUplot example script
set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400
set output 'image.png'
set key outside right top vertical Right noreverse enhanced autotitle nobox
set title "plot with filledcurve [options]"
set xrange [ * : * ] noreverse writeback
set x2range [ * : * ] noreverse writeback
set yrange [ * : * ] noreverse writeback
set y2range [ * : * ] noreverse writeback
set zrange [ * : * ] noreverse writeback
set cbrange [ * : * ] noreverse writeback
@icaoberg
icaoberg / Singularity
Last active April 23, 2021 13:09
Basic Spack+Singularity recipe
Bootstrap: docker
From: spack/ubuntu-bionic
%labels
MAINTAINER icaoberg
EMAIL icaoberg@psc.edu
WEBSITE http://github.com/icaoberg/singularity-<PACKAGE-NAME>
COPYRIGHT Copyright © 2021 Pittsburgh Supercomputing Center. All Rights Reserved.
VERSION <PACKAGE-VERSION>
@icaoberg
icaoberg / script.sh
Created February 25, 2021 16:28
List files in B but not A
#!/bin/bash
grep -v -xFf A.tsv B.tsv
@icaoberg
icaoberg / sshow
Created May 27, 2020 19:34
sshow
#!/bin/bash
watch "scontrol show jobid $1 | grep StdOut | cut -d"=" -f2 | xargs tail -n 25"
@icaoberg
icaoberg / script.sh
Created February 20, 2020 20:55
[CELLORGANIZER] demo2D11 for Sergiu Sanielevici at PSC
#!/bin/bash
# @icaoberg 20/02/2020
# This script will
# * Download and extract a pre-release version of CellOrganizer v2.9.0
# * Run demo2D11. A training demo created for Sergiu Sanielevici
#
# For more information about CellOrganizer, visit the last release documentation
# http://www.cellorganizer.org/docs/2.8.1/
#
@icaoberg
icaoberg / .gitignore
Last active February 3, 2020 23:21 — forked from arq5x/make-master-hmm.sh
[bedtools] For Gemini: Create a master ChromHMM track from the 9 distinct cell types.
*.txt
*.bedg