I'm using the VariantAnnotation package and I want to intersect two VCF files to find overlapping variants. What's the most efficient way to achieve this?
I can intersect the coordinates of the two VCFs with the GenomicRanges::findOverlaps function, but I still want to make sure that the ALT fields of the intersected coordinates match. As these are represented by DNAStringSetLists it's not clear to me how to efficiently achieve this.