openInputFile(fastafile, inFasta);
while(!inFasta.eof()) {
- Sequence seq(inFasta);
+ Sequence seq(inFasta); gobble(inFasta);
if (seq.getName() != "") { seqs.push_back(seq); }
}
inFasta.close();
}
outFasta << seqs[k].getAligned() << endl;
- }else { mothurOut(seqs[k].getName() + " is not in your fasta file. Please correct."); mothurOutEndLine(); }
+ }
}
outFasta.close();