@classmethod
def from_interval(cls, interval):
    """Create the ranges object from `pybedtools.Interval`

        # Arguments
            interval: `pybedtools.Interval` instance
        """
    return cls(chr=interval.chrom, start=interval.start, end=interval.end,
        id=interval.name, strand=interval.strand)
