Question: Multiple VCF filtering
0
gravatar for deniselavezzari
6 months ago by
deniselavezzari0 wrote:

Hi!

I have a vcf with 20 samples and I want to remove from it the variants that are commons (with the same zygosity) to all samples. How can I do it?

Thanks

illumina exom wgs vcf • 170 views
ADD COMMENTlink modified 6 months ago by _r_am32k • written 6 months ago by deniselavezzari0
2
gravatar for _r_am
6 months ago by
_r_am32k
Baylor College of Medicine, Houston, TX
_r_am32k wrote:

Use bcftools view with an exclude/include expression that operates on COUNT(GT="hom") as shown in the examples here: https://samtools.github.io/bcftools/bcftools.html#expressions

ADD COMMENTlink written 6 months ago by _r_am32k

Thank you very much.

ADD REPLYlink written 6 months ago by deniselavezzari0

If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they all work.

Upvote|Bookmark|Accept

ADD REPLYlink written 6 months ago by _r_am32k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 991 users visited in the last hour