This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
guides:slurm:basics [16.10.2020 10:47] Juha Kekäläinen |
guides:slurm:basics [03.03.2021 13:45] Administrator |
||
---|---|---|---|
Line 47: | Line 47: | ||
``` | ``` | ||
**[sbatch](https:// | **[sbatch](https:// | ||
+ | |||
+ | Here is an another example on how to analyze variants. | ||
+ | |||
+ | ``` | ||
+ | #!/bin/bash | ||
+ | #SBATCH --ntasks 1 # Number of task | ||
+ | #SBATCH --time 00: | ||
+ | #SBATCH --mem 2000 # Reserve 2 GB RAM for the job | ||
+ | #SBATCH --partition serial | ||
+ | |||
+ | module load bcftools # load modules | ||
+ | |||
+ | # filter variants and calculate stats | ||
+ | bcftools filter --include' | ||
+ | ``` | ||
+ | |||
+ | Submit the job to computing queue with the **[sbatch](https:// | ||
+ | |||
+ | ``` | ||
+ | sbatch variants.sbatch | ||
+ | ``` | ||