r476: multi-file fragment mode working

This commit is contained in:
Heng Li
2017-10-05 15:39:26 -04:00
parent b839758335
commit ae2adf04d4
4 changed files with 12 additions and 6 deletions
+1
View File
@@ -490,6 +490,7 @@ int mm_map_file_multi_seg(const mm_idx_t *idx, int n_segs, const char **fn, cons
pipeline_t pl;
if (n_segs < 1) return -1;
memset(&pl, 0, sizeof(pipeline_t));
pl.n_fp = n_segs;
pl.fp = (mm_bseq_file_t**)calloc(n_segs, sizeof(mm_bseq_file_t*));
for (i = 0; i < n_segs; ++i) {
pl.fp[i] = mm_bseq_open(fn[i]);