How to perform VennDiagram from a VCF file?
1
0
Entering edit mode
6.1 years ago
jaafari.omid ▴ 80

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 • 2.7k views
ADD COMMENT
0
Entering edit mode
6.1 years ago

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/
ADD COMMENT
0
Entering edit mode

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,

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 2432 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6