Skip to content

Commit

Permalink
less stringent spike in filter bams
Browse files Browse the repository at this point in the history
  • Loading branch information
CChahrour committed May 24, 2024
1 parent ee52c85 commit 2659eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seqnado/workflow/rules/exogenous_norm.smk
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ rule filter_bam_spikein:
"seqnado_output/logs/aligned_spikein/{sample}_filter.log",
shell:
"""
samtools view -b -F 3332 -q 30 -@ 8 {input.bam} > {output.bam} &&
samtools view -b -F 256 -f 2 -q 30 -@ 8 {input.bam} > {output.bam} &&
echo 'Filtered bam number of mapped reads:' > {log} 2>&1 &&
samtools view -c {output.bam} >> {log} 2>&1
"""
Expand Down

0 comments on commit 2659eed

Please sign in to comment.