This is a test version of Biostars. For the public version, visit https://www.biostars.org.
What Does It Mean To Find The Intersection, Complement And Union Of .Vcf Files?

I'm new to this field and was wondering what exactly it means to find the intersection, complement and union of .vcf files. Related to this, is why would you want to perform these actions? If there is a tutorial on this I would be interested to know it. Any responses would be appreciated.

vcf

1 answer

An intersection means that a particular object (in this case a SNP) belongs to both sets. A union would be an object that belongs to one or the other set. The complement is what is not in the first set but in the second set.

These things fall in the category of set theory, and wikipedia has some nice visual representations as venn diagrams for what this all means: Complement, symmetric difference, union, intersection

You would want to do these types of analyses to compare conditions of samples that you have SNPs for.

Log in to answer this question.