This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extract samples from a VCF file that contain marker

Hey!

I have a vcf file from which I want to extract the samples (genotypes) that contain specific SNPs that I have in a list. That is since I ran a GWAS and came up with significant SNPs that might explain my phenotype. I want to see if the SNPs are correlated and for that, I only want to keep the genotypes that contain such SNPS.

Is it possible to use bcftools for that?

Thank you in advance!

bcftools snps

contain specific SNPs that I have in a list

explain/describe

0 answers

No answers yet.

Log in to answer this question.