Permalink
Browse files

Eliminates zero OTUs in biom generated shared files

  • Loading branch information...
1 parent 088c67c commit 676f36bc0cea9adf1408951451e89f557b77edb8 @mothur-westcott mothur-westcott committed Sep 22, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 source/commands/sharedcommand.cpp
@@ -476,6 +476,8 @@ int SharedCommand::createSharedFromBiom() {
//read data
vector<SharedRAbundVector*> lookup = readData(matrixFormat, thisLine, matrixElementType, groupNames, otuNames.size());
+
+ eliminateZeroOTUS(lookup);
m->mothurOutEndLine(); m->mothurOut(lookup[0]->getLabel()); m->mothurOutEndLine();
lookup[0]->printHeaders(out);

0 comments on commit 676f36b

Please sign in to comment.