//**********************************************************************************************************************
vector<string> NormalizeSharedCommand::getValidParameters(){
try {
- string Array[] = {"groups","label","scale","outputdir","inputdir","norm"};
+ string Array[] = {"groups","label","method","outputdir","inputdir","norm"};
vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
return myArray;
}
else {
//valid paramters for this command
- string AlignArray[] = {"groups","label","scale","outputdir","inputdir","norm"};
+ string AlignArray[] = {"groups","label","method","outputdir","inputdir","norm"};
vector<string> myArray (AlignArray, AlignArray+(sizeof(AlignArray)/sizeof(string)));
OptionParser parser(option);
float newNorm = relabund * norm;
//round to nearest int
finalNorm = (int) floor((newNorm + 0.5));
-
+ //cout << thisLookUp[i]->getGroup() << '\t' << abund << '\t' << relabund << '\t' << norm << '\t' << newNorm << '\t' << finalNorm << endl;
+
}else{ m->mothurOut(method + " is not a valid scaling option."); m->mothurOutEndLine(); m->control_pressed = true; return 0; }
//cout << finalNorm << '\t';
eliminateZeroOTUS(thisLookUp);
for (int i = 0; i < thisLookUp.size(); i++) {
- out << thisLookUp[i]->getLabel() << '\t' << thisLookUp[i]->getGroup() << '\t' << thisLookUp[i]->getNumBins() << '\t';
+ out << thisLookUp[i]->getLabel() << '\t' << thisLookUp[i]->getGroup() << '\t';
thisLookUp[i]->print(out);
}