Go to the documentation of this file.
23 #ifndef _SERIALIZER_PEPXML_HPP_
24 #define _SERIALIZER_PEPXML_HPP_
45 Config(
bool readSpectrumQueries =
true) : readSpectrumQueries(readSpectrumQueries) {}
51 void write(std::ostream& os,
const IdentData& mzid,
const std::string& filepath,
55 void read(boost::shared_ptr<std::istream> is,
IdentData& mzid,
100 #endif // _SERIALIZER_PEPXML_HPP_
PWIZ_API_DECL PepXMLSpecificity pepXMLSpecificity(const Enzyme &ez)
converts an identdata::Enzyme into a pepXML cut/no_cut/sense tuple
PWIZ_API_DECL CVID pepXMLSoftwareNameToCVID(const std::string &softwareName)
converts a software name stored in pepXML software element into its corresponding CVID,...
MZIDData <-> pepXML stream serialization.
Implementation of EnzymeType from the mzIdentML schema.
Serializer_pepXML(const Config &config=Config())
PWIZ_API_DECL void write(minimxml::XMLWriter &writer, const CV &cv)
Serializer_pepXML configuration.
const PWIZ_API_DECL std::string & scoreCVIDToPepXMLScoreName(CVID softwareCVID, CVID scoreCVID)
for a given software CVID, converts a score CVID into the preferred name for that score in pepXML; an...
handles registration of IterationListeners and broadcast of update messages
Implementation of the MzIdentMLType from the mzIdentML schema.
PWIZ_API_DECL std::string stripChargeFromConventionalSpectrumId(const std::string &id)
strips charge state from known conventions of the pepXML spectrum attribute; used to find a unique id...
PWIZ_API_DECL CVID nativeIdStringToCVID(const std::string &id)
attempts to convert a period-delimited id into a nativeID format (e.g. "1.0.123" appears to be a Ther...
Config(bool readSpectrumQueries=true)
const PWIZ_API_DECL std::string & softwareCVIDToPepXMLSoftwareName(CVID softwareCVID)
converts a software CVID to the preferred name for that software in pepXML; an unrecognized software ...
PWIZ_API_DECL void read(std::istream &is, CV &cv)
PWIZ_API_DECL CVID pepXMLScoreNameToCVID(CVID softwareCVID, const std::string &scoreName)
for a given software CVID, converts a pepXML score name into its corresponding CVID,...