File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ rule samtools_depth_all_sites:
219219 log :
220220 LOGDIR / "samtools_depth_all_sites" / "{sample}.txt" ,
221221 shell :
222- "samtools depth --threads {threads} -a -H -J -Q {params.min_mq } -q {params.min_bq } -o {output:q} {input:q} >{log:q} 2>&1"
222+ "samtools depth --threads {threads} -a -H -J -Q {params.min_bq } -q {params.min_mq } -o {output:q} {input:q} >{log:q} 2>&1"
223223
224224
225225rule bcftools_mpileup_all_sites :
@@ -238,7 +238,7 @@ rule bcftools_mpileup_all_sites:
238238 mpileup = LOGDIR / "bcftools_mpileup_all_sites" / "{sample}.mpileup.txt" ,
239239 query = LOGDIR / "bcftools_mpileup_all_sites" / "{sample}.query.txt" ,
240240 shell :
241- "bcftools mpileup --ignore-RG -a AD,ADF,ADR --fasta-ref {input.reference:q} --threads {threads} -Q {params.min_mq } -q {params.min_bq } -Ov -o {output.mpileup:q} {input.bam:q} >{log.mpileup:q} 2>&1 && "
241+ "bcftools mpileup --no-BAQ -a AD,ADF,ADR --fasta-ref {input.reference:q} --threads {threads} -Q {params.min_bq } -q {params.min_mq } -Ov -o {output.mpileup:q} {input.bam:q} >{log.mpileup:q} 2>&1 && "
242242 "echo 'CHROM\t POS\t REF\t ALT\t DP\t AD\t ADF\t ADR' >{output.query:q} && "
243243 "bcftools query -f '%CHROM\t %POS\t %REF\t %ALT\t %DP\t [ %AD]\t [ %ADF]\t [ %ADR]\n ' {output.mpileup:q} >>{output.query:q} 2>{log.query:q}"
244244
You can’t perform that action at this time.
0 commit comments