tidesurf.transcript.Intron.overlaps

tidesurf.transcript.Intron.overlaps#

Intron.overlaps(chromosome: str, strand: Strand, start: int, end: int, min_overlap: int = 1) bool#

Check if the feature overlaps with a given region.

Parameters:
chromosome str

Chromosome of interest.

strand Strand

Strand of interest.

start int

Genomic start position of region.

end int

Genomic end position of region.

min_overlap int

Minimum number of overlapping bases (default: 1).

Returns:

Whether the feature overlaps with the region by at least min_overlap bases.

Return type:

bool