1f3dcd25bcbefcda72218a76f0cb609460bc9b98,nucleus/examples/ascii_pileup.py,,main,#,45

Before Change


  with sam.SamReader(in_sam) as sam_reader:
    reads = sam_reader.query(r)
    pos_seq_pairs = sorted(
        (read.alignment.position.position, read.aligned_sequence)
        for read in reads)
    if not pos_seq_pairs:
      print("No overlapping reads found for", argv[2])
      sys.exit(0)

After Change


    return -1
  in_sam = argv[1]
  query = argv[2]
  print("\n".join(ascii_pileup(in_sam, query)))


if __name__ == "__main__":
  app.run(main)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 4

Instances


Project Name: google/nucleus
Commit Name: 1f3dcd25bcbefcda72218a76f0cb609460bc9b98
Time: 2019-05-03
Author: no-reply@google.com
File Name: nucleus/examples/ascii_pileup.py
Class Name:
Method Name: main


Project Name: ClementPinard/SfmLearner-Pytorch
Commit Name: 2a74e12fec206dd222f98cd3ac2a15c48ebdf0a9
Time: 2019-02-18
Author: clement.pinard@parrot.com
File Name: data/prepare_train_data.py
Class Name:
Method Name: main


Project Name: geekcomputers/Python
Commit Name: b13d18d4bbc1464f6bef38c601e48eb4e0d67cbb
Time: 2020-04-12
Author: 50592495+Prince326@users.noreply.github.com
File Name: Print_List_of_Even_Numbers.py
Class Name:
Method Name:


Project Name: D2KLab/entity2rec
Commit Name: 79156412f9c131d734cdd2f6df14a9bec62a5a6b
Time: 2018-01-26
Author: enricopalumbo0@gmail.com
File Name: entity2rec/evaluator.py
Class Name: Evaluator
Method Name: features


Project Name: explosion/thinc
Commit Name: 9228c75443ce33549767e07be5d385b3c80f23a1
Time: 2020-01-16
Author: ines@ines.io
File Name: examples/textcat_from_config.py
Class Name:
Method Name: main


Project Name: cve-search/cve-search
Commit Name: f4e7b3012167c6904fb9df691ac4a4e2c76449b6
Time: 2015-03-10
Author: pieterjan.moreels@gmail.com
File Name: bin/db_cpe_browser.py
Class Name:
Method Name:


Project Name: PIQuIL/QuCumber
Commit Name: 64ab9fa70d219f2b8f3337e98f2aca5c25fc6159
Time: 2019-06-26
Author: emerali@users.noreply.github.com
File Name: qucumber/callbacks/metric_evaluator.py
Class Name: MetricEvaluator
Method Name: on_epoch_end