samtools / bcftools

This is the official development repository for BCFtools. See installation instructions and other documentation here http://samtools.github.io/bcftools/howtos/install.html
http://samtools.github.io/bcftools/
Other
681 stars 240 forks source link

Find polymorphic genotypes from merged vcf file #2083

Open bioinfoanalyst opened 10 months ago

bioinfoanalyst commented 10 months ago

Hi Github community,

I want to filter out homozygous, heterozygous and missing genotypes from multi-sample single vcf file and need to keep only polymorphic alleles. Kindly suggest which tool or strategy should i employ to get only polymorphic genotypes.

Thanks

pd3 commented 10 months ago

http://samtools.github.io/bcftools/howtos/index.html http://samtools.github.io/bcftools/bcftools.html#view http://samtools.github.io/bcftools/bcftools.html#query http://samtools.github.io/bcftools/bcftools.html#expressions