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


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

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: deepmipt/DeepPavlov
Commit Name: 3b3f8bd00c463e441600673141ff2de608880c9a
Time: 2018-02-05
Author: yoptar@gmail.com
File Name: deeppavlov/datasets/dialog_dataset.py
Class Name: DialogDataset
Method Name: batch_generator


Project Name: google/deepvariant
Commit Name: 13a85e08e713f374933bc4fc082f67e1fa8dcd02
Time: 2018-02-20
Author: cym@google.com
File Name: deepvariant/util/io_utils.py
Class Name:
Method Name: read_shard_sorted_tfrecords