Skip to content

Commit 6f39715

Browse files
committed
keep mate positions
1 parent 5c87869 commit 6f39715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bwa-postalt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ function bwa_postalt(args)
582582
if (opt.verbose >= 5) print(obj2str(hits[i]));
583583
if (hits[i].g != reported_g || i == reported_i) continue;
584584
if (!opt.show_pri && idx_alt[hits[i].ctg] == null) continue;
585-
var s = [t[0], 0, hits[i].ctg, hits[i].start+1, mapQ, hits[i].cigar, '*', 0, 0];
585+
var s = [t[0], 0, hits[i].ctg, hits[i].start+1, mapQ, hits[i].cigar, t[6], t[7], t[8]];
586586
// print sequence/quality and set the rev flag
587587
if (hits[i].rev == hits[reported_i].rev) {
588588
s.push(t[9], t[10]);

0 commit comments

Comments
 (0)