This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Create a Venn diagram for 5 VCF Files (each VCF file is a population)

Hi All Dear,

I have 5 VCF files, each of this files is for a population. So, I want to create a Venn Diagram based on SNPs.

I have been able to find this script by searching.

vcf-compare sample1.flt.vcf.gz sample2.flt.vcf.gz > venn.out

So, How do I edit this script for my case?

Best Regard

snp vcf venn

From each VCF subset, "chrom, pos, alt, ref" columns (bcftools), read into R (or Python). Paste those columns together, then use one of the many ready packages for Venn diagrams.

0 answers

No answers yet.

Log in to answer this question.