34 #ifndef OPENMS_FORMAT_XQUESTRESULTXMLFILE_H 35 #define OPENMS_FORMAT_XQUESTRESULTXMLFILE_H 60 void load(
const String & filename,
61 std::vector< std::vector< PeptideIdentification > > & csms,
62 std::vector< ProteinIdentification > & prot_ids,
63 Size min_n_hits_per_spectrum = 0,
64 bool load_to_peptideHit =
false);
73 int getNumberOfHits()
const;
79 double getMinScore()
const;
85 double getMaxScore()
const;
112 static void writeXQuestXML(
String out_file,
String base_name,
const std::vector< PeptideIdentification >& peptide_ids,
const std::vector< std::vector< OPXLDataStructs::CrossLinkSpectrumMatch > >& all_top_csms,
const PeakMap& spectra,
113 String precursor_mass_tolerance_unit,
String fragment_mass_tolerance_unit,
double precursor_mass_tolerance,
double fragment_mass_tolerance,
double fragment_mass_tolerance_xlinks,
String cross_link_name,
125 static void writeXQuestXMLSpec(
String out_file,
String base_name,
const OPXLDataStructs::PreprocessedPairSpectra& preprocessed_pair_spectra,
const std::vector< std::pair<Size, Size> >& spectrum_pairs,
const std::vector< std::vector< OPXLDataStructs::CrossLinkSpectrumMatch > >& all_top_csms,
const PeakMap& spectra);
134 static void writeXQuestXMLSpec(
String out_file,
String base_name,
const std::vector< std::vector< OPXLDataStructs::CrossLinkSpectrumMatch > >& all_top_csms,
const PeakMap& spectra);
160 #endif // OPENMS_FORMAT_XQUESTRESULTXMLFILE_H A more convenient string class.
Definition: String.h:57
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:66
double min_score_
Definition: XQuestResultXMLFile.h:156
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
Definition: XQuestResultXMLFile.h:45
The PreprocessedPairSpectra struct represents the result of comparing a light and a heavy labeled spe...
Definition: OPXLDataStructs.h:288
int n_hits_
Definition: XQuestResultXMLFile.h:154
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:74
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:82
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
double max_score_
Definition: XQuestResultXMLFile.h:157
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:49