This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to perform VennDiagram from a VCF file?

Hi all dears, I have a .VCF file which it is included by 5 populations. In this step I want to perform a VennDiagram but I don't know how can I do it? Actually what should be the input file to do it? should I use my .vcf file?

Any solution and suggestion would be appreciated in advance.

Cheers

snp genome venndiagram

1 answer

Hey! You can use venny or jvenn online if the file is not too big. The input can be chromosome and position from your .vcf file which are the first two columns. You can paste them with a delimiter to get a unique key for each entry.

http://bioinfogp.cnb.csic.es/tools/venny/
http://jvenn.toulouse.inra.fr/app/example.html

You can use R if you're familar with it.

https://stats.idre.ucla.edu/r/faq/how-can-i-generate-a-venn-diagram-in-r/

Thank you so much for your answer. Sorry maybe I couldn't completely catch what exactly you have mentioned. You mean I should generate an input file including all possible combinations between my populations in two columns (Chromosome and position)? So there is no needing to have a third column as SNP or Fst?

Cheers,

Can you clarify if this a multisample .vcf file i.e all the 5 samples are included in a single .vcf file?

Yes it is just a single .vcf file which is included by 130 samples and these 130 samples belong to 5 different groups or locations. So there is just one .vcf file.

Yes I have seen it already but if I've understood it correctly, it is for comparison between for example 3 .vcf files but for me it is just one .vcf file.

Log in to answer this question.