Hi there,
I have been trying to run the Snakemake tutorial with the following:
rule bwa_map:
input:
"data/genome.fa",
"data/samples/A.fastq"
output:
"mapped_reads/A.bam"
shell:
"bwa mem {input} | samtools view -Sb -> {output}"
However, I am getting the error Missing output files: mapped_reads/A.bam
when run with the following:
snakemake -n -r
Any advice is greatly appreciated. Thank you.
Maybe try changing "->" to ">" in your shell command ?
Thank you for looking into this.