r113: fixed a sam header bug

This commit is contained in:
Heng Li 2017-06-29 22:43:06 -04:00
parent 11167f511b
commit 03267e8fa7
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@ -10,7 +10,7 @@
#include "minimap.h"
#include "mmpriv.h"
#define MM_VERSION "2.0-r112-pre"
#define MM_VERSION "2.0-r113-pre"
void liftrlimit()
{

2
map.c
View File

@ -349,7 +349,7 @@ int mm_map_file(const mm_idx_t *idx, const char *fn, const mm_mapopt_t *opt, int
if (opt->flag & MM_F_OUT_SAM) {
uint32_t i;
for (i = 0; i < idx->n_seq; ++i)
printf("@SQ\tID:%s\tLN:%d\n", idx->seq[i].name, idx->seq[i].len);
printf("@SQ\tSN:%s\tLN:%d\n", idx->seq[i].name, idx->seq[i].len);
}
kt_pipeline(n_threads == 1? 1 : 2, worker_pipeline, &pl, 3);
free(pl.str.s);