Skip to content

Commit 7469280

Browse files
committed
Added -e flag
1 parent 80d4ec3 commit 7469280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline_consensus/Snakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rule call_consensus:
3131
"{out_dir}/consensus_sequences/{sample}.fa"
3232
shell:
3333
"""
34-
samtools mpileup -A -Q 0 -d 300000 {input} | ivar consensus -p {output} -n N -m 10
34+
samtools mpileup -A -Q 0 -d 300000 {input} | ivar consensus -p {output} -m 10
3535
"""
3636

3737
rule trim_reads:
@@ -44,7 +44,7 @@ rule trim_reads:
4444
tmp="{out_dir}/trimmed_bams/{sample}.trimmed.bam"
4545
shell:
4646
"""
47-
ivar trim -i {input} -b {params.bed} -p {params.tmp}
47+
ivar trim -e -i {input} -b {params.bed} -p {params.tmp}
4848
samtools sort -T {wildcards.sample}.trim -o {output} {params.tmp}
4949
rm {params.tmp}
5050
"""

0 commit comments

Comments
 (0)