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,
82 #endif // _SERIALIZER_PEPXML_HPP_
Implementation of EnzymeType from the mzIdentML schema.
PWIZ_API_DECL PepXMLSpecificity pepXMLSpecificity(const Enzyme &ez)
converts an identdata::Enzyme into a pepXML cut/no_cut/sense tuple
MZIDData <-> pepXML stream serialization.
Serializer_pepXML configuration.
PWIZ_API_DECL void write(minimxml::XMLWriter &writer, const CV &cv)
Implementation of the MzIdentMLType from the mzIdentML schema.
PWIZ_API_DECL void read(std::istream &is, CV &cv)
handles registration of IterationListeners and broadcast of update messages
Config(bool readSpectrumQueries=true)
Serializer_pepXML(const Config &config=Config())
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...