| 290 | } |
| 291 | |
| 292 | vector<ProteinHit>::iterator ProteinIdentification::findHit( |
| 293 | const String& accession) |
| 294 | { |
| 295 | vector<ProteinHit>::iterator pos = protein_hits_.begin(); |
| 296 | for (; pos != protein_hits_.end(); ++pos) |
| 297 | { |
| 298 | if (pos->getAccession() == accession) |
| 299 | { |
| 300 | break; |
| 301 | } |
| 302 | } |
| 303 | return pos; |
| 304 | } |
| 305 | |
| 306 | const vector<ProteinIdentification::ProteinGroup>& ProteinIdentification::getProteinGroups() const |
| 307 | { |