From c15fa1204a8eaf584db9190fe56d47a46720c219 Mon Sep 17 00:00:00 2001 From: Heng Li Date: Sat, 31 May 2014 11:45:22 -0400 Subject: [PATCH] r164: change default -M to 1000 --- main.c | 4 ++-- mrope.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index cdc4869..f0495c1 100644 --- a/main.c +++ b/main.c @@ -11,7 +11,7 @@ #include "kseq.h" KSEQ_INIT(gzFile, gzread) -#define ROPEBWT2_VERSION "r163" +#define ROPEBWT2_VERSION "r164" static unsigned char seq_nt6_table[128] = { 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, @@ -147,7 +147,7 @@ int main_ropebwt2(int argc, char *argv[]) fprintf(stderr, " -r build BWT in RCLO, overriding -s \n"); fprintf(stderr, " -m INT batch size for multi-string indexing; 0 for single-string [10g]\n"); fprintf(stderr, " -P always use a single thread\n"); - fprintf(stderr, " -M INT switch to single thread when < INT strings remain in a batch [%d]\n\n", 500); + fprintf(stderr, " -M INT switch to single thread when < INT strings remain in a batch [%d]\n\n", 1000); fprintf(stderr, " -i FILE read existing index in the FMR format from FILE, overriding -s/-r [null]\n"); fprintf(stderr, " -L input in the one-sequence-per-line format\n"); fprintf(stderr, " -F skip forward strand\n"); diff --git a/mrope.c b/mrope.c index 959925a..44e4542 100644 --- a/mrope.c +++ b/mrope.c @@ -18,7 +18,7 @@ mrope_t *mr_init(int max_nodes, int block_len, int sorting_order) assert(sorting_order >= 0 && sorting_order <= 2); r = calloc(1, sizeof(mrope_t)); r->so = sorting_order; - r->thr_min = 100; + r->thr_min = 1000; for (a = 0; a != 6; ++a) r->r[a] = rope_init(max_nodes, block_len); return r;