f89f84b01139ae264d04172036a023c949ece4db,nucleus/util/ranges.py,,bed_parser,#Any#,353

Before Change


  Yields:
    nucleus.genomics.v1.Range protobuf objects.
  
  for line in fd:
    parts = line.split("\t")
    yield make_range(parts[0], int(parts[1]), int(parts[2]))


def from_regions(regions, contig_map=None):
  Parses each region of `regions` into a Range proto.

  This function provides a super high-level interface for

After Change


    nucleus.genomics.v1.Range protobuf objects.
  
  with bed.BedReader(filename) as fin:
    for r in fin.iterate():
      yield make_range(r.reference_name, r.start, r.end)


def from_regions(regions, contig_map=None):
  Parses each region of `regions` into a Range proto.

  This function provides a super high-level interface for
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: google/nucleus
Commit Name: f89f84b01139ae264d04172036a023c949ece4db
Time: 2018-04-13
Author: no-reply@google.com
File Name: nucleus/util/ranges.py
Class Name:
Method Name: bed_parser


Project Name: google/nucleus
Commit Name: f89f84b01139ae264d04172036a023c949ece4db
Time: 2018-04-13
Author: no-reply@google.com
File Name: nucleus/util/ranges.py
Class Name:
Method Name: bed_parser


Project Name: google/deepvariant
Commit Name: 2f5667b2065568a3c774d76abddb43d726da8c75
Time: 2018-04-13
Author: no-reply@google.com
File Name: third_party/nucleus/util/ranges.py
Class Name:
Method Name: bed_parser


Project Name: tensorflow/datasets
Commit Name: 3be1154314111df8cd327a321fe3d68e7b661c68
Time: 2020-05-29
Author: charlespatel07@gmail.com
File Name: tensorflow_datasets/text/pg19.py
Class Name: Pg19
Method Name: _generate_examples