43 void load(
const String & filename, std::map<
String, std::vector<AASequence> > & peptides);
48 void endElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname)
override;
51 void startElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname,
const xercesc::Attributes & attributes)
override;
69 std::map<String, std::vector<AASequence> > *
peptides_;
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:23
Base class for XML handlers.
Definition: XMLHandler.h:300
Used to load Mascot PepXML files.
Definition: PepXMLFileMascot.h:31
std::map< String, std::vector< AASequence > > * peptides_
The peptides together with the spectrum title.
Definition: PepXMLFileMascot.h:69
String actual_sequence_
The sequence of the actual peptide hit.
Definition: PepXMLFileMascot.h:63
String actual_title_
Pointer to fill in protein identifications.
Definition: PepXMLFileMascot.h:60
void matchModification_(double mass, String &modification_description)
void load(const String &filename, std::map< String, std::vector< AASequence > > &peptides)
Loads peptide sequences with modifications out of a PepXML file.
std::vector< std::pair< String, UInt > > actual_modifications_
The modifications of the actual peptide hit (position is 1-based)
Definition: PepXMLFileMascot.h:66
void startElement(const XMLCh *const, const XMLCh *const, const XMLCh *const qname, const xercesc::Attributes &attributes) override
PepXMLFileMascot()
Constructor.
std::vector< String > fixed_modifications_
stores the fixed residue modifications
Definition: PepXMLFileMascot.h:75
void endElement(const XMLCh *const, const XMLCh *const, const XMLCh *const qname) override
std::vector< std::pair< String, double > > variable_modifications_
stores the variable residue modifications
Definition: PepXMLFileMascot.h:78
std::vector< AASequence > actual_aa_sequences_
stores the actual peptide sequences
Definition: PepXMLFileMascot.h:72
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22