bde9abbb18dcdf19b4c4d2a02ccd323f90ebd5d4,deeptrio/make_examples.py,,make_examples_runner,#Any#,1567

Before Change


  with OutputsWriter(options) as writer:
    running_timer = timer.TimerStart()
    for region in regions:
      candidates, examples, gvcfs = region_processor.process(region)
      n_candidates += len(candidates)
      n_examples += len(examples)
      n_regions += 1

After Change


  last_reported = 0
  running_timer = timer.TimerStart()

  writers_dict = {}

  for region in regions:
    candidates_dict, examples_dict, gvcfs_dict = region_processor.process(
        region)
    for sample in candidates_dict:
      candidates = candidates_dict[sample]
      examples = examples_dict[sample]
      gvcfs = gvcfs_dict[sample]

      if sample not in writers_dict:
        // Only use suffix in calling mode
        suffix = None if in_training_mode(options) else sample
        writers_dict[sample] = OutputsWriter(options, suffix=suffix)
      writer = writers_dict[sample]

      n_candidates += len(candidates)
      n_examples += len(examples)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: google/deepvariant
Commit Name: bde9abbb18dcdf19b4c4d2a02ccd323f90ebd5d4
Time: 2020-06-25
Author: sidharthgoel@google.com
File Name: deeptrio/make_examples.py
Class Name:
Method Name: make_examples_runner


Project Name: deepmipt/DeepPavlov
Commit Name: c15e52623156084fbd74727dd3f34df2825e2ad3
Time: 2018-10-29
Author: yoptar@gmail.com
File Name: deeppavlov/core/common/cross_validation.py
Class Name:
Method Name: calc_cv_score


Project Name: google/deepvariant
Commit Name: 510ca4e9bb7403703aee755e9d9d5b75698b21ed
Time: 2020-07-23
Author: pichuan@google.com
File Name: deepvariant/labeler/haplotype_labeler.py
Class Name:
Method Name: enumerate_all_possible_haplotypes