finds all Peptide Candidates with given masses and given fasta file
More...
#include <OpenMS/CHEMISTRY/EdwardsLippertIterator.h>
List of all members.
Detailed Description
finds all Peptide Candidates with given masses and given fasta file
The used algorithm was described by Edwards and Lippert. The algorithm uses two pointers to iterator over a sequence. One pointer represents the start the other the end.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
| virtual bool begin |
( |
|
) |
[virtual] |
initializing iterator
- Returns:
- true if everything was ok
- Exceptions:
-
| InvalidIterator | is thrown if the begin iterator is invalid |
Implements PepIterator.
| virtual String getFastaFile |
( |
|
) |
[virtual] |
| static const String getProductName |
( |
|
) |
[inline, static] |
| virtual const std::vector<DoubleReal>& getSpectrum |
( |
|
) |
[virtual] |
getter for spectrum
- Returns:
- the used spectrum
Implements PepIterator.
getter for tolerance
- Returns:
- tolerance
Implements PepIterator.
| void goToNextAA_ |
( |
|
) |
[protected] |
finds the next starting position where a digesting enzyme will cut the sequence
| bool hasNext_ |
( |
|
) |
[protected] |
indicates if there will be a next element
- Returns:
- true if iterator has more elements
| virtual bool isAtEnd |
( |
|
) |
[virtual] |
indicates whether iterator is at end
- Returns:
- true if iterator is at end
- See also:
- hasNext
Implements PepIterator.
| virtual bool isDigestingEnd |
( |
char |
, |
|
|
char |
| |
|
) |
| | [virtual] |
indicated if a digesting enzyme will cut at this position
- Returns:
- true if digenting enzym cuts the sequence
Reimplemented in EdwardsLippertIteratorTryptic.
| virtual bool isInSpectrum_ |
( |
DoubleReal & |
mass |
) |
[protected, virtual] |
indicates if a mass is in spectrum
- Returns:
- true if a given mass is in spectrum
| virtual std::string next_ |
( |
|
) |
[protected, virtual] |
getting the next candidate
- Returns:
- string with next sequence
* operator for getting the value of the iterator
- Returns:
- FASTAEntry with specific candidate
- Exceptions:
-
| InvalidIterator | if iterator has not been initialized |
Implements PepIterator.
opperator ++ for postincrement
- Returns:
- Reference to PepIterator
- Exceptions:
-
| InvalidIterator | if iterator has not been initialized |
Implements PepIterator.
opperator ++ for preincrement
- Returns:
- pointer to PepIterator
- Exceptions:
-
| InvalidIterator | if iterator has not been initialized |
Implements PepIterator.
| virtual void setFastaFile |
( |
const String & |
f |
) |
[virtual] |
setter for fasta file
- Parameters:
-
| f | String with fasta file location |
- Exceptions:
-
| FileNotFound | if file could not be found |
Implements PepIterator.
| virtual void setSpectrum |
( |
const std::vector< DoubleReal > & |
s |
) |
[virtual] |
setter for spectrum
- Parameters:
-
| s | spectrum as a vector of DoubleReals |
- Exceptions:
-
| InvalidValue | if spectrum is not sorted |
Implements PepIterator.
| virtual void setTolerance |
( |
DoubleReal |
t |
) |
[virtual] |
setter for tolerance
- Parameters:
-
- Exceptions:
-
| InvalidValue | if tolerance is negative |
Implements PepIterator.
Member Data Documentation
unsigned int b_ [protected] |
unsigned int e_ [protected] |
to ints representing a position within the actual string (b = begin, e = end)
indicates if iterator is at end
| OpenMS / TOPP release 1.10.0 |
Documentation generated on Thu Mar 7 2013 09:42:50 using doxygen 1.7.1 |