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)
left_position = pos_seq_pairs[0][0]
for start, seq in pos_seq_pairs:
print_read(left_position, start, position, seq)
After Change
return -1
in_sam = argv[1]
query = argv[2]
print("\n".join(ascii_pileup(in_sam, query)))
if __name__ == "__main__":
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
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: oval-group/logger
Commit Name: 1e73293efb902f223f60b89750d66f953338499b
Time: 2018-05-11
Author: leonardbj@hotmail.fr
File Name: logger/plotter.py
Class Name: Plotter
Method Name: plot_config
Project Name: oddt/oddt
Commit Name: e456cc88392f8cc0587b8d79c08678dab0b36e44
Time: 2017-11-23
Author: maciek@wojcikowski.pl
File Name: oddt/toolkits/extras/rdkit.py
Class Name:
Method Name: MolToPDBQTBlock