69 void load(
const String & filename, std::map<
String, std::vector<AASequence> > & peptides);
74 void endElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname)
override;
77 void startElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname,
const xercesc::Attributes & attributes)
override;
95 std::map<String, std::vector<AASequence> > *
peptides_;
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:49
Base class for XML handlers.
Definition: XMLHandler.h:326
Used to load Mascot PepXML files.
Definition: PepXMLFileMascot.h:57
std::map< String, std::vector< AASequence > > * peptides_
The peptides together with the spectrum title.
Definition: PepXMLFileMascot.h:95
String actual_sequence_
The sequence of the actual peptide hit.
Definition: PepXMLFileMascot.h:89
String actual_title_
Pointer to fill in protein identifications.
Definition: PepXMLFileMascot.h:86
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:92
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:101
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:104
std::vector< AASequence > actual_aa_sequences_
stores the actual peptide sequences
Definition: PepXMLFileMascot.h:98
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48