Answers to challenge activities and CLI/cluster warmup
- Win scp, filezilla or secure copy (scp)
samples = ["A", "B", "C"]
https://snakemake.readthedocs.io/en/stable/project_info/faq.html#how-do-i-remove-all-files-created-by-snakemake-i-e-like-make-clean ORrm -rf calls/ mapped/ plots/
-
shell: "module load samtools; " "module load bcftools; "
-
rule vcf_tsv: input: "calls/all.vcf" output: "calls/vcf.tsv" shell: "sed '/##/d' {input} > {output}"
rule all:
input:
"calls/all.vcf",
"plots/quals.svg",
"calls/vcf.tsv"
OR
"sed '1,28d' {input} > {output}"
- temp() on the sort rule output like bwa rule.