mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-30 10:08:11 +08:00
miniprot-like splice model
slightly worse on iso-seq and slightly better on direct-RNA
This commit is contained in:
+4
-2
@@ -3308,8 +3308,10 @@ function paf_gff2junc(args) {
|
||||
if (t[0][0] == '#') continue;
|
||||
if (t[2].toLowerCase() != feat.toLowerCase()) continue;
|
||||
//print(t.join("\t"));
|
||||
if ((m = /\bParent=([^;]+)/.exec(t[8])) == null)
|
||||
throw Error("Can't find Parent");
|
||||
if ((m = /\bParent=([^;]+)/.exec(t[8])) == null) {
|
||||
warn("Can't find Parent");
|
||||
continue;
|
||||
}
|
||||
t[3] = parseInt(t[3]) - 1;
|
||||
t[4] = parseInt(t[4]);
|
||||
t.unshift(m[1]);
|
||||
|
||||
Reference in New Issue
Block a user