Open
Description
is there an easy way to use
pyensembl
to e.g. intersect a collection of loci with exonic regions? can't remember
I don’t think there’s any function in pyensembl now that does that
bedtools intersect
butpyensembl.Locus
(which is the base class forExon
) hasoverlaps
andcontains
methods, which seem pretty far in the direction of implementing an intersection helper