89 std::vector<PeptideIdentification>& id_data,
90 bool load_proteins =
true,
91 bool load_empty_hits =
true);
98 void endElement(
const XMLCh*
const ,
const XMLCh*
const ,
const XMLCh*
const qname)
override;
101 void startElement(
const XMLCh*
const ,
const XMLCh*
const ,
const XMLCh*
const qname,
const xercesc::Attributes& attributes)
override;
104 void characters(
const XMLCh*
const chars,
const XMLSize_t )
override;
148 std::map<UInt, std::vector<const ResidueModification*> >
mods_map_;
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
Representation of a set of modification definitions.
Definition: ModificationDefinitionsSet.h:59
Used to load OMSSAXML files.
Definition: OMSSAXMLFile.h:62
OMSSAXMLFile & operator=(const OMSSAXMLFile &rhs)
std::vector< PeptideEvidence > actual_peptide_evidences_
Definition: OMSSAXMLFile.h:124
PeptideEvidence actual_peptide_evidence_
Definition: OMSSAXMLFile.h:122
void readMappingFile_()
reads the mapping file needed for modifications
ProteinIdentification actual_protein_id_
Definition: OMSSAXMLFile.h:128
PeptideIdentification actual_peptide_id_
Definition: OMSSAXMLFile.h:126
std::map< UInt, std::vector< const ResidueModification * > > mods_map_
modifications mapping file from OMSSA mod num to UniMod accession
Definition: OMSSAXMLFile.h:148
PeptideHit actual_peptide_hit_
Definition: OMSSAXMLFile.h:120
std::vector< PeptideIdentification > * peptide_identifications_
the identifications (storing the peptide hits)
Definition: OMSSAXMLFile.h:116
String tag_
Definition: OMSSAXMLFile.h:130
ModificationDefinitionsSet mod_def_set_
modification definitions set of the search, needed to annotate fixed modifications
Definition: OMSSAXMLFile.h:154
std::map< String, UInt > mods_to_num_
modification mapping reverse, from the modification to the mod_num
Definition: OMSSAXMLFile.h:151
OMSSAXMLFile()
Default constructor.
OMSSAXMLFile(const OMSSAXMLFile &rhs)
ProteinHit actual_protein_hit_
Definition: OMSSAXMLFile.h:118
bool load_empty_hits_
should empty peptide identifications be loaded or skipped?
Definition: OMSSAXMLFile.h:145
void startElement(const XMLCh *const, const XMLCh *const, const XMLCh *const qname, const xercesc::Attributes &attributes) override
String actual_mod_type_
type of the modification
Definition: OMSSAXMLFile.h:136
void setModificationDefinitionsSet(const ModificationDefinitionsSet &rhs)
sets the valid modifications
bool load_proteins_
should protein hits be read from the file?
Definition: OMSSAXMLFile.h:142
void characters(const XMLCh *const chars, const XMLSize_t) override
std::vector< std::pair< UInt, String > > modifications_
modifications of the peptide defined by site and type
Definition: OMSSAXMLFile.h:139
~OMSSAXMLFile() override
Destructor.
void endElement(const XMLCh *const, const XMLCh *const, const XMLCh *const qname) override
UInt actual_mod_site_
site of the actual modification (simple position in the peptide)
Definition: OMSSAXMLFile.h:133
Representation of a peptide evidence.
Definition: PeptideEvidence.h:51
Representation of a peptide hit.
Definition: PeptideHit.h:57
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
Representation of a protein hit.
Definition: ProteinHit.h:60
Representation of a protein identification run.
Definition: ProteinIdentification.h:76
A more convenient string class.
Definition: String.h:60
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
void load(const String &filename, ProteinIdentification &protein_identification, std::vector< PeptideIdentification > &id_data, bool load_proteins=true, bool load_empty_hits=true)
loads data from a OMSSAXML file
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
Returns a pointer to a modified residue given a residue and a pointer to a modification from the.