Skip to content
Snippets Groups Projects
Commit 6b977d69 authored by Sander Bollen's avatar Sander Bollen
Browse files

fixed mapped basenum

parent ad49bd4f
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ rule mapped_basenum:
output:
num=out_path("{sample}/bams/{sample}.mapped.basenum")
conda: "envs/samtools.yml"
shell: "samtools view -F 4 {input.bam} | wc -c > {output.num}"
shell: "samtools view -F 4 {input.bam} | cut -f10 | wc -c > {output.num}"
rule unique_num:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment