Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

OMSSAXMLFile Class Reference
[File IO]

Used to load OMSSAXML files. More...

#include <OpenMS/FORMAT/OMSSAXMLFile.h>

Inheritance diagram for OMSSAXMLFile:
XMLHandler XMLFile DefaultHandler

List of all members.

Public Member Functions

 OMSSAXMLFile ()
 Default constructor.
virtual ~OMSSAXMLFile ()
 Destructor.
void load (const String &filename, ProteinIdentification &protein_identification, std::vector< PeptideIdentification > &id_data, bool load_proteins=true)
 loads data from a OMSSAXML file
void setModificationDefinitionsSet (const ModificationDefinitionsSet &rhs)
 sets the valid modifications

Protected Member Functions

void endElement (const XMLCh *const , const XMLCh *const , const XMLCh *const qname)
void startElement (const XMLCh *const , const XMLCh *const , const XMLCh *const qname, const xercesc::Attributes &attributes)
void characters (const XMLCh *const chars, const XMLSize_t)

Private Member Functions

 OMSSAXMLFile (const OMSSAXMLFile &rhs)
OMSSAXMLFileoperator= (const OMSSAXMLFile &rhs)
void readMappingFile_ ()
 reads the mapping file needed for modifications

Private Attributes

std::vector
< PeptideIdentification > * 
peptide_identifications_
 the identifications (storing the peptide hits)
ProteinHit actual_protein_hit_
PeptideHit actual_peptide_hit_
PeptideIdentification actual_peptide_id_
ProteinIdentification actual_protein_id_
String tag_
UInt actual_mod_site_
 site of the actual modification (simple position in the peptide)
String actual_mod_type_
 type of the modification
std::vector< std::pair< UInt,
String > > 
modifications_
 modifications of the peptide defined by site and type
bool load_proteins_
 should protein hits be read from the file?
Map< UInt, std::vector
< ResidueModification > > 
mods_map_
 modifications mapping file from OMSSA mod num to UniMod accession
Map< String, UIntmods_to_num_
 modification mapping reverse, from the modification to the mod_num
ModificationDefinitionsSet mod_def_set_
 modification definitions set of the search, needed to annotate fixed modifications

Detailed Description

Used to load OMSSAXML files.

This class is used to load documents that implement the schema of OMSSAXML files.


Constructor & Destructor Documentation

OMSSAXMLFile (  ) 

Default constructor.

virtual ~OMSSAXMLFile (  )  [virtual]

Destructor.

OMSSAXMLFile ( const OMSSAXMLFile rhs  )  [private]

Member Function Documentation

void characters ( const XMLCh *const   chars,
const   XMLSize_t 
) [protected]
void endElement ( const XMLCh *  const,
const XMLCh *  const,
const XMLCh *const   qname 
) [protected]
OMSSAXMLFile& operator= ( const OMSSAXMLFile rhs  )  [private]
void readMappingFile_ (  )  [private]

reads the mapping file needed for modifications

void setModificationDefinitionsSet ( const ModificationDefinitionsSet rhs  ) 

sets the valid modifications

void startElement ( const XMLCh *  const,
const XMLCh *  const,
const XMLCh *const   qname,
const xercesc::Attributes &  attributes 
) [protected]

Member Data Documentation

site of the actual modification (simple position in the peptide)

type of the modification

bool load_proteins_ [private]

should protein hits be read from the file?

modification definitions set of the search, needed to annotate fixed modifications

std::vector<std::pair<UInt, String> > modifications_ [private]

modifications of the peptide defined by site and type

Map<UInt, std::vector<ResidueModification> > mods_map_ [private]

modifications mapping file from OMSSA mod num to UniMod accession

Map<String, UInt> mods_to_num_ [private]

modification mapping reverse, from the modification to the mod_num

the identifications (storing the peptide hits)

String tag_ [private]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:54 using doxygen 1.7.1