2024-10-15
Nadia GOUE, Sébastien RAVEL, Chloé QUIGNOT
Source: adapted from FAIRbioinfo 2021 training material of the IFB and Snakemake introduction tutorial from BIOI2
Material under CC-BY-SA
licence
*.fastq.gz
)Don’t worry about understanding what QC analysis does
Snakemake’s FAQ: https://snakemake.readthedocs.io/en/latest/project_info/faq.html
Go to the Moodle web page and open up instructions for exercise A.
https://moodle.france-bioinformatique.fr/course/view.php?id=29
input
and output
to specify input & output
files):rule myRuleName
input: "myInputFile"
output: "myOutputFile"
shell: "echo {input} > {output}"
{input}
&
{output}
placeholders within the shell directivesnakemake --cores 1
command
(+ other options available)--dag
, --rulegraph
,
--filegraph
and --dry-run
+ -p
to
print shell commands