bx.align.tools.chop module

Support for chopping a list of alignment blocks to only the portion that intersects a particular interval.

bx.align.tools.chop.chop_list(blocks, src, start, end)

For each alignment block in the sequence blocks, chop out the portion of the block that overlaps the interval [start,`end`) in the component/species named src.