Signed distance between this interval and e -- number of nucleotides.

    Get the signed distance from this genomic interval to another one. We
    consider intervals that overlap to have a distance of 0 to each other. The
    distance between two intervals on different chromosomes is considered
    undefined, and causes an exception to be raised. If e comes earlier than
    self, the distance will be negative.

    :return: the signed distance from this GenomicInterval to e.
    :param e: the other genomic interval to find the distance to.
    :raise GenomicIntervalError: if self and e are on different chromosomes.

def signedDistance(self, e):
    """
    Signed distance between this interval and e -- number of nucleotides.

    Get the signed distance from this genomic interval to another one. We
    consider intervals that overlap to have a distance of 0 to each other. The
    distance between two intervals on different chromosomes is considered
    undefined, and causes an exception to be raised. If e comes earlier than
    self, the distance will be negative.

    :return: the signed distance from this GenomicInterval to e.
    :param e: the other genomic interval to find the distance to.
    :raise GenomicIntervalError: if self and e are on different chromosomes.
    """
    dist = self.distance(e)
    if e < self:
      dist = dist * -1
    return dist