Skip to content

Commit

Permalink
Pass -threads option to meryl. Issue #8.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Jul 28, 2021
1 parent 854547f commit 576d351
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/merfin/merfin-globals.C
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ merfinGlobal::load_Sequence(void) {
else
snprintf(merylpath, FILENAME_MAX, "%s/meryl", dirname(execName));

snprintf(merylcount, FILENAME_MAX, "%s count k=%d memory=%.3f %s output %s", merylpath, kmer::merSize(), maxMemory, seqName, seqDBname);
snprintf(merylcount, FILENAME_MAX, "%s threads=%d count k=%d memory=%.3f %s output %s",
merylpath, threads, kmer::merSize(), maxMemory, seqName, seqDBname);

fprintf(stderr, "%s\n\n", merylcount);
system(merylcount);
Expand Down

0 comments on commit 576d351

Please sign in to comment.