From 73c669160880441c5386ab6a90ea99cd8c513da0 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 30 May 2023 12:48:45 -0400 Subject: [PATCH] r235: fixed wrong --gtf --trans output resolves #45 --- format.c | 2 +- miniprot.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/format.c b/format.c index 087a432..fe3d757 100644 --- a/format.c +++ b/format.c @@ -418,7 +418,7 @@ void mp_write_output(kstring_t *s, void *km, const mp_idx_t *mi, const mp_bseq1_ mp_write_paf(s, mi, seq, 0, opt->flag&MP_F_GFF); } else if (opt->flag&MP_F_GTF) { if (opt->flag & (MP_F_SHOW_RESIDUE|MP_F_SHOW_TRANS)) { - mp_write_paf(s, mi, seq, r, opt->flag&MP_F_GFF); + mp_write_paf(s, mi, seq, r, opt->flag&MP_F_GTF); mp_write_residue(s, mi, opt, seq->seq, r); } mp_write_gtf(s, km, mi, seq, r, opt->gff_prefix, id, seq->name); diff --git a/miniprot.h b/miniprot.h index 6752469..84be901 100644 --- a/miniprot.h +++ b/miniprot.h @@ -3,7 +3,7 @@ #include -#define MP_VERSION "0.11-r234" +#define MP_VERSION "0.11-r235-dirty" #define MP_F_NO_SPLICE 0x1 #define MP_F_NO_ALIGN 0x2