scglue.genomics.interval_dist

scglue.genomics.interval_dist(x, y)[source]

Compute distance and relative position between two bed intervals

Parameters
  • x (Interval) – First interval

  • y (Interval) – Second interval

Return type

int

Returns

dist – Signed distance between x and y