Permalink
Browse files
Eliminates zero OTUs in biom generated shared files
- Loading branch information...
Showing
with
2 additions
and
0 deletions.
-
+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