diff --git a/bwase.c b/bwase.c index 8ddbcc4..2dd2a35 100644 --- a/bwase.c +++ b/bwase.c @@ -518,6 +518,7 @@ void bwa_print_sam1(const bntseq_t *bns, bwa_seq_t *p, const bwa_seq_t *mate, in if (p->strand) seq_reverse(p->len, p->qual, 0); // reverse quality printf("%s", p->qual); } else printf("*"); + if (bwa_rg_id) printf("\tRG:Z:%s", bwa_rg_id); if (p->clip_len < p->full_len) printf("\tXC:i:%d", p->clip_len); putchar('\n'); } diff --git a/main.c b/main.c index daafa76..eff0d68 100644 --- a/main.c +++ b/main.c @@ -3,7 +3,7 @@ #include "main.h" #ifndef PACKAGE_VERSION -#define PACKAGE_VERSION "0.5.9rc1-2 (r1605)" +#define PACKAGE_VERSION "0.5.9rc1-9" #endif static int usage()