From 550ddd981b3d84271c1137a0ccd152488df746ca Mon Sep 17 00:00:00 2001 From: tderrien Date: Fri, 8 Dec 2023 20:21:42 +0100 Subject: [PATCH] Modify parse_ndr to reverse gene_id,tx_id fields in new bambu3.0.8 --- bin/filter_gtf_ndr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/filter_gtf_ndr.py b/bin/filter_gtf_ndr.py index 7e9570e..5f8abf7 100755 --- a/bin/filter_gtf_ndr.py +++ b/bin/filter_gtf_ndr.py @@ -26,7 +26,7 @@ def parse_ndr(csv, origin, th) -> Set[str]: elif origin == "tfkmers": line = parse_tfkmers(line) - _, tx_id, ndr = line + tx_id, _, ndr = line ndr = float(ndr) if ndr < th: