base pairs in the genome can be performed by querying for the full range of
each contig defined in the header.
raise NotImplementedError("Can not iterate through a FASTA file")
def query(self, region):
Returns the base pairs (as a string) in the given region.
return self._reader.bases(region)
After Change
def iterate(self):
Returns an iterable of (name, bases) tuples contained in this file.
return self._reader.iterate()
def query(self, region):
Returns the base pairs (as a string) in the given region.
return self._reader.bases(region)