scglue.genomics.interval_dist

scglue.genomics.interval_dist(x, y)[源代码]

Compute distance and relative position between two bed intervals

参数:
  • x (pybedtools.cbedtools.Interval) – First interval

  • y (pybedtools.cbedtools.Interval) – Second interval

返回类型:

int

返回:

dist – Signed distance between x and y