Skip to content

Instantly share code, notes, and snippets.

@andreas-wilm
Created November 21, 2019 13:53
Show Gist options
  • Save andreas-wilm/96deb28a0c8a664fcf9f1ae1b0c8e124 to your computer and use it in GitHub Desktop.
Save andreas-wilm/96deb28a0c8a664fcf9f1ae1b0c8e124 to your computer and use it in GitHub Desktop.
bwa index on slurm with singularity
#!/bin/bash
#SBATCH --job-name=bwaindex
#SBATCH --output=bwaindex.out
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --time=01:00:00
#SBATCH --mem-per-cpu=20000
SIF=/shared/containers/dnazoo-uwa-20191106.sif
cd /shared/scratch
srun singularity exec $SIF bwa index draft.fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment