2f5667b2065568a3c774d76abddb43d726da8c75,third_party/nucleus/util/ranges.py,,bed_parser,#Any#,368
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
Yields:
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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
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: google/nucleus
Commit Name: 09a8f6dbe1ae360d7bfa1c9dd0d1a636e1bd86ea
Time: 2019-09-13
Author: cym@google.com
File Name: nucleus/io/tfrecord.py
Class Name:
Method Name: read_tfrecords
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