Merge remote-tracking branch 'origin/master'

This commit is contained in:
Heng Li 2018-04-10 15:01:35 -04:00
commit e4d7a94252
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ function bwa_postalt(args)
// process SAM
var buf2 = [], hla = {};
file = args.length - getopt.ind >= 2? new File(args[getopt.ind+1]) : new File();
while (file.readline(buf) >= 0) {
while (file.readline(buf) > 0) {
var m, line = buf.toString();
if (line.charAt(0) == '@') { // print and then skip the header line