7804a2fc6e24b3ecb9365e5459fb16ab6048ef8f,third_party/nucleus/io/fasta.py,RefFastaReader,iterate,#RefFastaReader#,96

Before Change


    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)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: google/deepvariant
Commit Name: 7804a2fc6e24b3ecb9365e5459fb16ab6048ef8f
Time: 2018-08-28
Author: no-reply@google.com
File Name: third_party/nucleus/io/fasta.py
Class Name: RefFastaReader
Method Name: iterate


Project Name: google/nucleus
Commit Name: 99b8e632e9cff1bccf843ad2c3b11b984662e782
Time: 2018-08-28
Author: no-reply@google.com
File Name: nucleus/io/fasta.py
Class Name: InMemoryRefReader
Method Name: iterate


Project Name: google/deepvariant
Commit Name: 7804a2fc6e24b3ecb9365e5459fb16ab6048ef8f
Time: 2018-08-28
Author: no-reply@google.com
File Name: third_party/nucleus/io/fasta.py
Class Name: InMemoryRefReader
Method Name: iterate


Project Name: google/nucleus
Commit Name: 99b8e632e9cff1bccf843ad2c3b11b984662e782
Time: 2018-08-28
Author: no-reply@google.com
File Name: nucleus/io/fasta.py
Class Name: RefFastaReader
Method Name: iterate