Permalink
Browse files

Adds tax spaces to screen.seqs

  • Loading branch information...
1 parent 9ead811 commit b30ae5e33b894d7e3d5e26675c23786f241ebf28 @mothur-westcott mothur-westcott committed Aug 24, 2016
Showing with 3 additions and 2 deletions.
  1. +3 −2 source/commands/screenseqscommand.cpp
@@ -2192,14 +2192,15 @@ int ScreenSeqsCommand::screenTaxonomy(map<string, string> badSeqNames){
while(!input.eof()){
if (m->control_pressed) { goodTaxOut.close(); input.close(); m->mothurRemove(goodTaxFile); return 0; }
- input >> seqName; m->gobble(input); input >> tax;
+ input >> seqName; m->gobble(input);
+ tax = m->getline(input); m->gobble(input);
+
it = badSeqNames.find(seqName);
if(it != badSeqNames.end()){ badSeqNames.erase(it); }
else{
goodTaxOut << seqName << '\t' << tax << endl;
}
- m->gobble(input);
}
if (m->control_pressed) { goodTaxOut.close(); input.close(); m->mothurRemove(goodTaxFile); return 0; }

0 comments on commit b30ae5e

Please sign in to comment.