X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=consensusseqscommand.cpp;h=9bfdc9caba1e6bef2fe14d6eb469af2218bd29d8;hb=c85db0a4be3a1f8037a71a23ca73f9762184e28a;hp=f0fc6bff9da6d6d8b0ed8b368ad2422f25cd732a;hpb=deba0af0ccdcb6005ed5b2b82649b137c63fbdf7;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(); }