Skip to content

Commit

Permalink
r1130: changed "ah" to "AH"
Browse files Browse the repository at this point in the history
  • Loading branch information
lh3 committed Apr 28, 2016
1 parent 9e5852c commit 3c03825
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions bwa.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,11 @@ void bwa_print_sam_hdr(const bntseq_t *bns, const char *hdr_line)
}
}
if (n_SQ == 0) {
for (i = 0; i < bns->n_seqs; ++i)
err_printf("@SQ\tSN:%s\tLN:%d\n", bns->anns[i].name, bns->anns[i].len);
for (i = 0; i < bns->n_seqs; ++i) {
err_printf("@SQ\tSN:%s\tLN:%d", bns->anns[i].name, bns->anns[i].len);
if (bns->anns[i].is_alt) err_printf("\tAH:Y\n");
else err_fputc('\n', stdout);
}
} else if (n_SQ != bns->n_seqs && bwa_verbose >= 2)
fprintf(stderr, "[W::%s] %d @SQ lines provided with -H; %d sequences in the index. Continue anyway.\n", __func__, n_SQ, bns->n_seqs);
if (hdr_line) err_printf("%s\n", hdr_line);
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "utils.h"

#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "0.7.13-r1126"
#define PACKAGE_VERSION "0.7.13-r1130-dirty"
#endif

int bwa_fa2pac(int argc, char *argv[]);
Expand Down

0 comments on commit 3c03825

Please sign in to comment.