X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removerarecommand.cpp;h=c378e41447013ba021935d07e76af3ae029ad1b0;hb=499f4ac6e321f9f03d4c3aa25c3b6880892c8b83;hp=a551681fb6721e4b3670fe912e1b6bfe909dd388;hpb=af0a94ea8f02421b2b73e77e68753a2b4c37768e;p=mothur.git diff --git a/removerarecommand.cpp b/removerarecommand.cpp index a551681..c378e41 100644 --- a/removerarecommand.cpp +++ b/removerarecommand.cpp @@ -411,7 +411,7 @@ int RemoveRareCommand::processList(){ util.setGroups(Groups, namesGroups); m->openOutputFile(outputGroupFileName, outGroup); }else if (countfile != "") { - ct.readTable(countfile, true); + ct.readTable(countfile, true, false); if (ct.hasGroupInfo()) { vector namesGroups = ct.getNamesOfGroups(); SharedUtil util; @@ -850,7 +850,7 @@ int RemoveRareCommand::processLookup(vector& lookup){ //eliminates zero otus if (allZero) { for (int j = 0; j < newRabunds.size(); j++) { newRabunds[j].pop_back(); } } - else { headers.push_back(m->currentBinLabels[i]); } + else { headers.push_back(m->currentSharedBinLabels[i]); } } }else { //for each otu @@ -867,7 +867,7 @@ int RemoveRareCommand::processLookup(vector& lookup){ //eliminates otus below rare cutoff if (totalAbund <= nseqs) { for (int j = 0; j < newRabunds.size(); j++) { newRabunds[j].pop_back(); } } - else { headers.push_back(m->currentBinLabels[i]); } + else { headers.push_back(m->currentSharedBinLabels[i]); } } }