r113: fixed a sam header bug
This commit is contained in:
parent
11167f511b
commit
03267e8fa7
2
main.c
2
main.c
|
|
@ -10,7 +10,7 @@
|
||||||
#include "minimap.h"
|
#include "minimap.h"
|
||||||
#include "mmpriv.h"
|
#include "mmpriv.h"
|
||||||
|
|
||||||
#define MM_VERSION "2.0-r112-pre"
|
#define MM_VERSION "2.0-r113-pre"
|
||||||
|
|
||||||
void liftrlimit()
|
void liftrlimit()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
2
map.c
2
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) {
|
if (opt->flag & MM_F_OUT_SAM) {
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
for (i = 0; i < idx->n_seq; ++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);
|
kt_pipeline(n_threads == 1? 1 : 2, worker_pipeline, &pl, 3);
|
||||||
free(pl.str.s);
|
free(pl.str.s);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue