-
Notifications
You must be signed in to change notification settings - Fork 2
Usage
Here is your command line:
snakemake
Yes. Nothing more as long as you have [Snpeff, and SnpSift in you PATH
.
However, conda provides an efficient way to dynamically build virtual environments and to double check your tool versions, that's why we recommend:
snakemake --use-conda
And if you want to be sure that your OS is not interfering with your run, then use:
snakemake --use-conda --singularity
I won't detail more of the Snakemake possibilities, please see their documentation. However, many users like the following:
snakemake --use-conda --singularity --reason --printshellcmds
With these supplementary arguments, you will have the executed command lines printed to your STDOUT, and each rule will give you the reason why it is being executed. Nice, isn't it ?
In addition to the previous arguments, one might want to use this pipeline on a PBS Torque cluster.
snakemake --cluster " qsub -l walltime=00:{resources.time_min}:00,nodes=1:ppn={threads},mem={resources.mem_mb}mb -V " --use-conda --singularity --reason --printshellcmds --jobs 20 --restart-times 3
In addition to the previous arguments, one might want to use this pipeline on a Slurm cluster.
snakemake --cluster " sbatch --mem={resources.mem_mb}M --cpus-per-task={threads} --time={resources.time_min} " --use-conda --singularity --reason --printshellcmds --jobs 20 --restart-times 3
Use the Snakemake profiles if you have one that suits you:
snakemake --profile <your_profile>
Typos corrections and issues are welcomed