MACS3.Signal.Region module
Region class
- class MACS3.Signal.Region.Regions
Bases:
objectFor plain region of chrom, start and end
- add_loc(chrom, start, end)
- exclude(regions_object2)
Remove overlapping regions in regions_object2, another Regions object. This regions object will be altered.
- expand(flanking)
Expand regions to both directions with ‘flanking’ bps.
- get_chr_names()
- Return type:
set
- init_from_PeakIO(peaks)
Initialize the object with a PeakIO object.
Note: I intentionally forgot to check if peakio is actually a PeakIO…
- intersect(regions_object2)
Get the only intersecting regions comparing with regions_object2, another Regions object. Then return a new Regions object.
- merge_overlap()
Merge overlapping regions of itself.
- pop(n)
- regions = None
- sort()
- total = None
- total_length()
Return the total length of the Regions object.
- Return type:
typedef
- write_to_bed(fhd)
- MACS3.Signal.Region.bool(*args, **kwargs)