2f5667b2065568a3c774d76abddb43d726da8c75,third_party/nucleus/util/ranges.py,,bed_parser,#Any#,368

Before Change


  
  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):

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: 3

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: f89f84b01139ae264d04172036a023c949ece4db
Time: 2018-04-13
Author: no-reply@google.com
File Name: nucleus/util/ranges.py
Class Name:
Method Name: bed_parser


Project Name: pantsbuild/pants
Commit Name: 80b3d3c1b2ce855fad39a2c88976f587241fd228
Time: 2015-12-16
Author: benjyw@gmail.com
File Name: src/python/pants/help/help_printer.py
Class Name: HelpPrinter
Method Name: _print_options_help