string candidateName, templateName;
- while(d=blastFile.get() != '='){}
+ while((d=blastFile.get()) != '='){}
blastFile >> candidateName; // Get the candidate sequence name from flatfile
- while(d=blastFile.get() != '('){}
+ while((d=blastFile.get()) != '('){}
blastFile >> candidateLength; // Get the candidate sequence length from flatfile
- while(d=blastFile.get()){
+ while((d=blastFile.get())){
if(d == '>'){
blastFile >> templateName; // Get the template sequence name from flatfile
break;
pairwiseLength = 0;
// string dummy;
-// while(dummy != "query:"){ mothurOut(dummy, ""); mothurOutEndLine(); blastFile >> dummy; }
+// while(dummy != "query:"){ m->mothurOut(dummy, ""); m->mothurOutEndLine(); blastFile >> dummy; }
// blastFile >> seqBend;
-// mothurOut(toString(seqBend), ""); mothurOutEndLine();
+// m->mothurOut(toString(seqBend), ""); m->mothurOutEndLine();
// for(int i=0;i<seqBend;i++){
// seqAaln += 'Z';
// seqBaln += 'X';
}
}
- while(d=blastFile.get() != '='){}
+ while((d=blastFile.get()) != '='){}
blastFile >> templateLength; // Get the template sequence length from flatfile
- while(d=blastFile.get() != 'Q'){} // Suck up everything else until we get to the start of the alignment
+ while((d=blastFile.get()) != 'Q'){} // Suck up everything else until we get to the start of the alignment
int queryStart, sbjctStart, queryEnd, sbjctEnd;
string queryLabel, sbjctLabel, query, sbjct;
while(queryLabel == "Query:"){
blastFile >> queryStart >> query >> queryEnd;
- while(d=blastFile.get() != 'S'){};
+ while((d=blastFile.get()) != 'S'){};
blastFile >> sbjctLabel >> sbjctStart >> sbjct >> sbjctEnd;