wrapper for easy use of sufArray
More...
#include <OpenMS/DATASTRUCTURES/SuffixArrayPeptideFinder.h>
List of all members.
Detailed Description
wrapper for easy use of sufArray
Member Typedef Documentation
Constructor & Destructor Documentation
constructor
- Parameters:
-
| filename | FASTA File name |
| method | Name of the method used (trypticCompressed, seqan, trypticSeqan) |
| weight_mode | if not monoistopic weight should be used, this parameters can be set to AVERAGE |
- Exceptions:
-
| FileNotFound | is thrown if the filename is not found |
| ParseError | is thrown if a error in parsing of the fasta file occurs |
| InvalidValue | is thrown if an unknown method is supplied |
Member Function Documentation
| void getCandidates |
( |
std::vector< std::vector< std::pair< FASTAEntry, String > > > & |
candidates, |
|
|
const std::vector< DoubleReal > & |
spec | |
|
) |
| | |
finds all candidates for given spectrum in the suffix array
- Parameters:
-
| spec | vector holding the mass values to query |
| candidates | Output holding the candidates for input masses (one vector per mass) FASTAEntry contains the FASTA header and the peptide sequence The String contains the modification (if any) in the format specified by getModificationOutputMethod() |
- See also:
- sufArray.h
| void getCandidates |
( |
std::vector< std::vector< std::pair< FASTAEntry, String > > > & |
candidates, |
|
|
const String & |
DTA_file | |
|
) |
| | |
finds all candidate for given DTA file
- Parameters:
-
| DTA_file | DTA file location |
| candidates | Output parameters which holds the candidates suitable for the mass given in the dta file FASTAEntry contains the FASTA header and the peptide sequence The String contains the modification (if any) in the format specified by getModificationOutputMethod() |
- Exceptions:
-
| FileNotFound | if DTA file does not exists |
| ParseError | is thrown if the dta file could not be parsed |
- See also:
- sufArray.h
| String getModificationOutputMethod |
( |
|
) |
|
getter for modification output method
- Returns:
- String
| Size getNumberOfModifications |
( |
|
) |
const |
getter for number of modifications
- Returns:
- number of modifications
| const std::vector<String>& getTags |
( |
|
) |
|
getter for tags
- Returns:
- const reference to vector of strings
allowed tolerance for mass match
- Returns:
- Tolerance in u
getter for use_tags
- Returns:
- bool indicating whether tags are used or not
| void setModificationOutputMethod |
( |
const String & |
s |
) |
|
set modification output method (valid are: "mass", "stringUnchecked", "stringChecked")
- Parameters:
-
| s | describing how modifications sould be given back |
- Exceptions:
-
| InvalidValue | is thrown if method s is not known |
| void setNumberOfModifications |
( |
Size |
number_of_mods |
) |
const |
setter for number of modifications
- Parameters:
-
| void setTags |
( |
const std::vector< String > & |
tags |
) |
|
setter for tags
- Parameters:
-
| tags | reference to vector of strings with tags |
- Note:
- sets use_tags = true
allowed tolerance for mass match
- Parameters:
-
| void setUseTags |
( |
bool |
use_tags |
) |
|
setter for use_tags
- Parameters:
-
| use_tags | indicating whether tags should be used or not |
Member Data Documentation
bigString object holding all peptides of fasta file
output method for modifications
| OpenMS / TOPP release 1.10.0 |
Documentation generated on Thu Mar 7 2013 09:42:53 using doxygen 1.7.1 |