pybedtools.featurefuncs.
midpoint
Specialized version of center() that just returns the single-bp midpoint
center()
pybedtools
BedTool
BEDTools
pybedtools.contrib