This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
grep -v -xFf A.tsv B.tsv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
watch "scontrol show jobid $1 | grep StdOut | cut -d"=" -f2 | xargs tail -n 25" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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/ | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# icaoberg - this example is fork that uses a bedtools in a Singularity container | |
CONTAINER=../../singularity-bedtools.simg | |
echo "chr1 10 50 10" > a.bed | |
echo "chr1 20 40 20" > b.bed | |
echo "chr1 30 33 30" > c.bed | |
# Find the sub-intervals shared and unique to each file. | |
if [ -f $CONTAINER ]; then | |
singularity run --app bedtools $CONTAINER multiinter -i a.bed b.bed c.bed | column -t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.txt | |
*.bedg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
shopt -s nullglob | |
FILE=$1 | |
if [ -f $FILE ]; then | |
mv -v "$FILE" $(uuidgen).${FILE##*.} | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/bash | |
# icaoberg yes, i know there are better cleaner ways... | |
task project:$1 list | grep tasks | cut -d" " -f 1 | sed '/^[[:space:]]*$/d' | awk '{$1=$1;print}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bootstrap: docker | |
From: ubuntu:16.04 | |
IncludeCmd: yes | |
%labels | |
Maintainer icaoberg AT alumni DOT cmu DOT edu | |
Version v1.0 | |
%runscript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for F in *.webp | |
do | |
dwebp $F -o $F.png | |
done |