X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=consensusseqscommand.cpp;h=9bfdc9caba1e6bef2fe14d6eb469af2218bd29d8;hb=75a7fd6a05a22226c71370a8b3f49c5df7507f18;hp=f0fc6bff9da6d6d8b0ed8b368ad2422f25cd732a;hpb=1a5c2356c1b955c6ec024b2baf9f46377ee7c72e;p=mothur.git diff --git a/consensusseqscommand.cpp b/consensusseqscommand.cpp index f0fc6bf..9bfdc9c 100644 --- a/consensusseqscommand.cpp +++ b/consensusseqscommand.cpp @@ -219,6 +219,8 @@ int ConsensusSeqsCommand::execute(){ if (abort == true) { if (calledHelp) { return 0; } return 2; } + int start = time(NULL); + readFasta(); if (m->control_pressed) { return 0; } @@ -391,6 +393,8 @@ int ConsensusSeqsCommand::execute(){ delete input; } + m->mothurOut("It took " + toString(time(NULL) - start) + " secs to find the consensus sequences."); + m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine(); for (int i = 0; i < outputNames.size(); i++) { m->mothurOut(outputNames[i]); m->mothurOutEndLine(); }