Skip to content

Commit

Permalink
limit to biallelic
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens committed Jul 10, 2024
1 parent 2a1fb83 commit ff23d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/harpy/snakefiles/phase.smk
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ rule extract_heterozygous:
"Extracting heterozygous variants: {wildcards.sample}"
shell:
"""
bcftools view -s {wildcards.sample} -Ou {input.vcf} | bcftools view -i 'GT="het"' > {output}
bcftools view -s {wildcards.sample} -Ou -m 2 -M 2 {input.vcf} | bcftools view -i 'GT="het"' > {output}
"""

rule extract_homozygous:
Expand Down

0 comments on commit ff23d68

Please sign in to comment.