35 #ifndef OPENMS_FORMAT_XTANDEMINFILE_H 36 #define OPENMS_FORMAT_XTANDEMINFILE_H 83 void setFragmentMassTolerance(
double tolerance);
86 double getFragmentMassTolerance()
const;
89 void setPrecursorMassTolerancePlus(
double tol);
92 double getPrecursorMassTolerancePlus()
const;
95 void setPrecursorMassToleranceMinus(
double tol);
98 double getPrecursorMassToleranceMinus()
const;
101 void setPrecursorErrorType(
MassType mono_isotopic);
104 MassType getPrecursorErrorType()
const;
107 void setFragmentMassErrorUnit(
ErrorUnit unit);
110 ErrorUnit getFragmentMassErrorUnit()
const;
113 void setPrecursorMassErrorUnit(
ErrorUnit unit);
116 ErrorUnit getPrecursorMassErrorUnit()
const;
119 void setNumberOfThreads(
UInt threads);
122 UInt getNumberOfThreads()
const;
131 void setOutputFilename(
const String& output);
134 const String& getOutputFilename()
const;
137 void setInputFilename(
const String& input_file);
140 const String& getInputFilename()
const;
143 void setTaxonomyFilename(
const String& filename);
146 const String& getTaxonomyFilename()
const;
149 void setDefaultParametersFilename(
const String& filename);
152 const String& getDefaultParametersFilename()
const;
155 void setTaxon(
const String& taxon);
158 const String& getTaxon()
const;
161 void setMaxPrecursorCharge(
Int max_charge);
164 Int getMaxPrecursorCharge()
const;
167 void setNumberOfMissedCleavages(
UInt missed_cleavages);
170 UInt getNumberOfMissedCleavages()
const;
173 void setOutputResults(
String result);
176 String getOutputResults()
const;
179 void setMaxValidEValue(
double value);
182 double getMaxValidEValue()
const;
185 void setSemiCleavage(
const bool semi_cleavage);
188 void setAllowIsotopeError(
const bool allow_isotope_error);
191 bool getNoiseSuppression()
const;
194 void setNoiseSuppression(
const bool noise_suppression);
197 void setCleavageSite(
const String& cleavage_site);
200 const String& getCleavageSite()
const;
213 void write(
const String& filename,
bool ignore_member_parameters =
false,
214 bool force_default_mods =
false);
222 void writeTo_(std::ostream& os,
bool ignore_member_parameters);
224 void writeNote_(std::ostream& os,
const String& label,
const String& value);
226 void writeNote_(std::ostream& os,
const String& label,
const char* value);
228 void writeNote_(std::ostream& os,
const String& label,
bool value);
243 String convertModificationSet_(
const std::set<ModificationDefinition>& mods, std::map<String, double>& affected_origins)
const;
303 #endif // OPENMS_FORMAT_XTANDEMINFILE_H MassType fragment_mass_type_
Definition: XTandemInfile.h:255
bool force_default_mods_
Definition: XTandemInfile.h:297
A more convenient string class.
Definition: String.h:57
UInt max_precursor_charge_
Definition: XTandemInfile.h:259
XTandem input file.
Definition: XTandemInfile.h:57
ErrorUnit
error unit, either Da or ppm
Definition: XTandemInfile.h:63
UInt batch_size_
Definition: XTandemInfile.h:267
ErrorUnit precursor_mass_error_unit_
Definition: XTandemInfile.h:253
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
String default_parameters_file_
Definition: XTandemInfile.h:289
bool allow_isotope_error_
Definition: XTandemInfile.h:284
UInt number_of_threads_
Definition: XTandemInfile.h:265
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
ErrorUnit fragment_mass_error_unit_
Definition: XTandemInfile.h:251
MassType
Mass type of the precursor, either monoisotopic or average.
Definition: XTandemInfile.h:70
String input_filename_
Definition: XTandemInfile.h:271
MassType precursor_mass_type_
Definition: XTandemInfile.h:257
String taxonomy_file_
Definition: XTandemInfile.h:275
Representation of a set of modification definitions.
Definition: ModificationDefinitionsSet.h:59
UInt number_of_missed_cleavages_
Definition: XTandemInfile.h:287
String output_filename_
Definition: XTandemInfile.h:273
double precursor_mass_tolerance_plus_
Definition: XTandemInfile.h:247
double fragment_mass_tolerance_
Definition: XTandemInfile.h:245
String output_results_
Definition: XTandemInfile.h:292
double precursor_lower_mz_
Definition: XTandemInfile.h:261
String cleavage_site_
Definition: XTandemInfile.h:279
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:49
bool semi_cleavage_
semi cleavage
Definition: XTandemInfile.h:282
String taxon_
Definition: XTandemInfile.h:277
double max_valid_evalue_
Definition: XTandemInfile.h:294
int Int
Signed integer type.
Definition: Types.h:103
ModificationDefinitionsSet modifications_
Definition: XTandemInfile.h:269
double precursor_mass_tolerance_minus_
Definition: XTandemInfile.h:249
double fragment_lower_mz_
Definition: XTandemInfile.h:263