def __len__(self):
        # add +1 because both coordinates are 1-based (number of *bases*)
        return (self.end - self.start) + 1


# +--------------------------------------------------------------------+
# | Sample ORM classes
# +--------------------------------------------------------------------+
Return the number of bases.
dataset/ETHPy150Open robinandeer/chanjo/chanjo/store/models.py/Exon.__len__