Skip to content

Commit

Permalink
r235: fixed wrong --gtf --trans output
Browse files Browse the repository at this point in the history
resolves #45
  • Loading branch information
lh3 committed May 30, 2023
1 parent 5c147e0 commit 73c6691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion format.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion miniprot.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <stdint.h>

#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
Expand Down

0 comments on commit 73c6691

Please sign in to comment.