Skip to content

Commit

Permalink
r979: fixed asmgene wrong report. Resolves #581.
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Apr 6, 2020
1 parent cb56fb7 commit 0a5e386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/paftools.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env k8

var paftools_version = '2.17-r975-dirty';
var paftools_version = '2.17-r979-dirty';

/*****************************
***** Library functions *****
Expand Down Expand Up @@ -898,7 +898,7 @@ function paf_asmgene(args)
if (auto_only && /^(chr)?[XY]$/.test(refpos[g][2])) continue;
for (var i = 0; i < n_fn; ++i) {
if (gene[g][i] == null) {
rst[4][i]++;
rst[5][i]++;
if (print_err) print('M', header[i], refpos[g].join("\t"));
} else if (gene[g][i][0] == 1) rst[0][i]++;
else if (gene[g][i][0] > 1) {
Expand Down

0 comments on commit 0a5e386

Please sign in to comment.