We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11d53b0 + e624290 commit f090f93Copy full SHA for f090f93
bwakit/bwa-postalt.js
@@ -283,7 +283,7 @@ function bwa_postalt(args)
283
// process SAM
284
var buf2 = [], hla = {};
285
file = args.length - getopt.ind >= 2? new File(args[getopt.ind+1]) : new File();
286
- while (file.readline(buf) >= 0) {
+ while (file.readline(buf) > 0) {
287
var m, line = buf.toString();
288
289
if (line.charAt(0) == '@') { // print and then skip the header line
0 commit comments