pybedtools.featurefuncs.center

pybedtools.featurefuncs.center()

Return the width bp from the center of a feature. If a feature is smaller than width, then return the entire feature.