X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nast.cpp;fp=nast.cpp;h=0741ccd7ad444a250fa1dec5b23790771142a99c;hb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2;hp=2d3db22b08c66de9798128292dfe7be149bdc50f;hpb=37e0d78135e32b5aa58ca163f4d416716c78b67f;p=mothur.git diff --git a/nast.cpp b/nast.cpp index 2d3db22..0741ccd 100644 --- a/nast.cpp +++ b/nast.cpp @@ -82,7 +82,7 @@ void Nast::removeExtraGaps(string& candAln, string tempAln, string newTemplateAl // Part C of Fig. 2 from DeSantis et al. if((isalpha(newTemplateAlign[i]) != isalpha(tempAln[i]))){ //if there is a discrepancy between the regapped -// cout << i << '\t';cout.flush(); + // Part D of Fig. 2 from DeSantis et al. // template sequence and the official template sequence for(leftIndex=i-1;leftIndex>=0;leftIndex--){ // then we've got problems... @@ -92,7 +92,7 @@ void Nast::removeExtraGaps(string& candAln, string tempAln, string newTemplateAl break; } } -// cout << leftIndex << '\t' << leftRoom << endl; + for(rightIndex=i+1;rightIndexsetAligned(candAln); }