code: def all_regions(self):
          
          regions = []
          for sq in self._bam.header["SQ"]:
              regions.append((sq["SN"], 1, int(sq["LN"])))
          return regions
docs: Get a tuple of all chromosome, start and end regions.