bio.intervals
¶
Source code: bio/intervals.seq
- class bio.intervals.Interval¶
Properties:
Magic methods:
- __new__(st: int, en: int, chrom_id: int)
- __len__()
- __bool__()
Methods:
- with_max(max: int)¶
- class bio.intervals.IntervalTree¶
Interval tree data structure. Adapted from [cgranges](https://github.com/lh3/cgranges).
Magic methods:
- __init__()
- __len__()
- __bool__()
- __contains__(chrom: str)
- __iter__()
Iterator over all intervals in the tree
Methods: