From 03267e8fa7425d7c2d94b939dfbb7e653fe075b7 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Thu, 29 Jun 2017 22:43:06 -0400 Subject: [PATCH] r113: fixed a sam header bug --- main.c | 2 +- map.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 34a09ff..a760565 100644 --- a/main.c +++ b/main.c @@ -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() { diff --git a/map.c b/map.c index 91b7a9d..df98af4 100644 --- a/map.c +++ b/map.c @@ -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);