OpenMS
2.6.0
|
Class for reading Percolator tab-delimited output files. More...
#include <OpenMS/FORMAT/PercolatorOutfile.h>
Public Types | |
enum | ScoreType { QVALUE, POSTERRPROB, SCORE, SIZE_OF_SCORETYPE } |
Types of Percolator scores. More... | |
Public Member Functions | |
PercolatorOutfile () | |
Constructor. More... | |
void | load (const String &filename, ProteinIdentification &proteins, std::vector< PeptideIdentification > &peptides, SpectrumMetaDataLookup &lookup, enum ScoreType output_score=QVALUE) |
Loads a Percolator output file. More... | |
Static Public Member Functions | |
static enum ScoreType | getScoreType (String score_type_name) |
Return a score type given its name. More... | |
Static Public Attributes | |
static const std::string | score_type_names [SIZE_OF_SCORETYPE] |
Names of Percolator scores (to match ScoreType) More... | |
Private Member Functions | |
void | getPeptideSequence_ (String peptide, AASequence &seq) const |
Converts the peptide string to an 'AASequence' instance. More... | |
void | resolveMisassignedNTermMods_ (String &peptide) const |
Resolve cases where N-terminal modifications may be misassigned to the first residue (for X! Tandem results) More... | |
Class for reading Percolator tab-delimited output files.
For PSM-level output, the file extension should be ".psms".
enum ScoreType |
Constructor.
|
private |
Converts the peptide string to an 'AASequence' instance.
Return a score type given its name.
void load | ( | const String & | filename, |
ProteinIdentification & | proteins, | ||
std::vector< PeptideIdentification > & | peptides, | ||
SpectrumMetaDataLookup & | lookup, | ||
enum ScoreType | output_score = QVALUE |
||
) |
Loads a Percolator output file.
|
private |
Resolve cases where N-terminal modifications may be misassigned to the first residue (for X! Tandem results)
|
static |
Names of Percolator scores (to match ScoreType)