| 111 | |
| 112 | '''For Workshop''' |
| 113 | |
| 114 | {{{ |
| 115 | #!/bin/bash |
| 116 | #SBATCH --job-name=fastDLmapper # Job Name |
| 117 | #SBATCH --partition=workshop7 # Partition |
| 118 | #SBATCH --qos=workshop # Quality of Service |
| 119 | #SBATCH --time=0-24:00:00 # Wall clock time limit in Days-HH:MM:SS |
| 120 | #SBATCH --nodes=1 # Node count required for the job |
| 121 | #SBATCH --ntasks-per-node=1 # Number of tasks to be launched per Node |
| 122 | #SBATCH --cpus-per-task=20 # Number of threads per task (OMP threads) |
| 123 | #SBATCH --output=try_fastDLmapper.out ### File in which to store job output |
| 124 | #SBATCH --error=try_fastDLmapper.err ### File in which to store job error messages |
| 125 | |
| 126 | # Load Singularity module |
| 127 | module load singularity/3.9.0 |
| 128 | |
| 129 | # Set $TMPDIR in containar to /tmp, keeping $TMPDIR in host (/local/tmp/...) |
| 130 | export SINGULARITYENV_TMPDIR=/tmp |
| 131 | |
| 132 | # Mount the lustre directory to home, $TMPDIR to /tmp |
| 133 | export SINGULARITY_BINDPATH=/lustre/project/group/user:/home/user,$TMPDIR:/tmp |
| 134 | |
| 135 | # Run container |
| 136 | singularity exec fastdtlmapper_latest.sif FastDTLmapper -i fastdtlmapper/example/minimum_dataset/fasta/ -t fastdtlmapper/example/minimum_dataset/species_tree.nwk -o fastdtlmapper/output_minimum |
| 137 | }}} |
| 138 | |
| 139 | |
| 140 | '''Non Workshop''' |
| 141 | |