This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Plotting common SNPs from four individual from a vcf file

Hi

I have got the vcf file with the SNP informations from four individuals. I want to make a Venn diagram (or another graphical display of the SNPs) of the SNPs? To see how many SNPs are shared and private between these four individuals. Is there a tool who does it. My data looks like this :

##fileformat=VCFv4.1
##contig=<ID=1,length=48143371>
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Indi_A   Indi_B   Indi_C  Indi_D
1       50      .       G       C       .       .       .       GT      0       0       0       1
1       55      .       G       T       .       .       .       GT      0       1       0       1
1       267     .       G       T       .       .       .       GT      0       0       1       0
1       271     .       T       G       .       .       .       GT      0       1       0       0
1       366     .       C       A       .       .       .       GT      0       1       0       0

Thanks

snp

3 answers

Once again, I'm going to suggest UpSetR. A venn diagram with four intersections starts being quite messy.

I dont't know a tool that does that directly.

But you can extract the SNPs that intersects between your individuals manually and then do Venn diagrams.

You can do that with SNPSift for example.

see : Filter genotype in multi-sample VCF file

http://bioinformatics.psb.ugent.be/webtools/Venn/ I normally use it

Log in to answer this question.