@staticmethod
def validate(sr):
    """
        Simple sanity check
        :param sr:
        :return:
        """
    assert int(sr.annotations['size']) == len(sr)
    assert sr.annotations['start'] + sr.annotations['size'
        ] - 1 <= sr.annotations['srcSize']
