int FilterSeqsCommand::execute() {
try {
-
ifstream inFASTA;
openInputFile(globaldata->getFastaFile(), inFASTA);
if(globaldata->getHard().compare("") != 0) { doHard(); } // has to be applied first!
if(globaldata->getTrump().compare("") != 0) { doTrump(); }
- if(isTrue(globaldata->getVertical())) { doVertical(); }
+ if(isTrue(globaldata->getVertical()) == true) { doVertical(); }
if(globaldata->getSoft().compare("") != 0) { doSoft(); }
-
-
-
-
-
-
ofstream outfile;
string filterFile = getRootName(globaldata->inputFileName) + "filter";