- if (rareNames.size() != 0) {
- string rare = outputDir + getRootName(getSimpleName(fastafile)) + tag + "rare.fasta";
- openOutputFile(rare, rout);
- outputNames.push_back(rare);
- }
-
- if (abundNames.size() != 0) {
- string abund = outputDir + getRootName(getSimpleName(fastafile)) + tag + "abund.fasta";
- openOutputFile(abund, aout);
- outputNames.push_back(abund);
- }
-
-
+ string rare = outputDir + m->getRootName(m->getSimpleName(fastafile)) + tag + "rare.fasta";
+ m->openOutputFile(rare, rout);
+ outputNames.push_back(rare);
+
+ string abund = outputDir + m->getRootName(m->getSimpleName(fastafile)) + tag + "abund.fasta";
+ m->openOutputFile(abund, aout);
+ outputNames.push_back(abund);
+