35 #ifndef OPENMS_FORMAT_XTANDEMINFILE_H
36 #define OPENMS_FORMAT_XTANDEMINFILE_H
101 void setFragmentMassTolerance(
double tolerance);
104 double getFragmentMassTolerance()
const;
107 void setPrecursorMassTolerancePlus(
double tol);
110 double getPrecursorMassTolerancePlus()
const;
113 void setPrecursorMassToleranceMinus(
double tol);
116 double getPrecursorMassToleranceMinus()
const;
119 void setPrecursorErrorType(MassType mono_isotopic);
122 MassType getPrecursorErrorType()
const;
125 void setFragmentMassErrorUnit(ErrorUnit unit);
128 ErrorUnit getFragmentMassErrorUnit()
const;
131 void setPrecursorMassErrorUnit(ErrorUnit unit);
134 ErrorUnit getPrecursorMassErrorUnit()
const;
137 void setNumberOfThreads(
UInt threads);
140 UInt getNumberOfThreads()
const;
149 void setOutputFilename(
const String& output);
152 const String& getOutputFilename()
const;
155 void setInputFilename(
const String& input_file);
158 const String& getInputFilename()
const;
161 void setTaxonomyFilename(
const String& filename);
164 const String& getTaxonomyFilename()
const;
167 void setDefaultParametersFilename(
const String& filename);
170 const String& getDefaultParametersFilename()
const;
173 void setTaxon(
const String& taxon);
176 const String& getTaxon()
const;
179 void setMaxPrecursorCharge(
Int max_charge);
182 Int getMaxPrecursorCharge()
const;
185 void setNumberOfMissedCleavages(
UInt missed_cleavages);
188 UInt getNumberOfMissedCleavages()
const;
191 void setOutputResults(
String result);
194 String getOutputResults()
const;
197 void setMaxValidEValue(
double value);
200 double getMaxValidEValue()
const;
203 bool isRefining()
const;
206 bool getNoiseSuppression()
const;
209 void setSemiCleavage(
const bool semi_cleavage);
212 void setAllowIsotopeError(
const bool allow_isotope_error);
215 void setRefine(
const bool refine);
218 void setNoiseSuppression(
const bool noise_suppression);
221 void setCleavageSite(
const String& cleavage_site);
224 const String& getCleavageSite()
const;
239 void write(
const String& filename,
bool ignore_member_parameters =
false);
248 void load(
const String& filename);
256 Size getNoteCount()
const;
264 void writeTo_(std::ostream& os,
bool ignore_member_parameters);
268 const String& writeNote_(std::ostream& os,
const String& type,
const String& label,
const char* value);
270 const String& writeNote_(std::ostream& os,
const String& type,
const String& label,
bool value);
284 String convertModificationSet_(
const std::set<ModificationDefinition>& mods, std::map<String, double>& affected_origins)
const;
349 std::vector<Internal::XTandemInfileNote>
notes_;
354 #endif // OPENMS_FORMAT_XTANDEMINFILE_H
MassType fragment_mass_type_
Definition: XTandemInfile.h:298
A more convenient string class.
Definition: String.h:57
UInt max_precursor_charge_
Definition: XTandemInfile.h:300
XTandem input file.
Definition: XTandemInfile.h:63
UInt batch_size_
Definition: XTandemInfile.h:308
ErrorUnit precursor_mass_error_unit_
Definition: XTandemInfile.h:294
ErrorUnit
error unit, either Da or ppm
Definition: XTandemInfile.h:69
String default_parameters_file_
Definition: XTandemInfile.h:338
bool allow_isotope_error_
Definition: XTandemInfile.h:331
UInt number_of_threads_
Definition: XTandemInfile.h:306
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool noise_suppression_
Enable/disable xtandem noise suppression routine.
Definition: XTandemInfile.h:326
ErrorUnit fragment_mass_error_unit_
Definition: XTandemInfile.h:296
String input_filename_
Definition: XTandemInfile.h:312
MassType precursor_mass_type_
Definition: XTandemInfile.h:292
String taxonomy_file_
Definition: XTandemInfile.h:316
Representation of a set of modification definitions.
Definition: ModificationDefinitionsSet.h:58
UInt number_of_missed_cleavages_
Definition: XTandemInfile.h:336
String output_filename_
Definition: XTandemInfile.h:314
double refine_max_valid_evalue_
Definition: XTandemInfile.h:333
double precursor_mass_tolerance_plus_
Definition: XTandemInfile.h:288
double fragment_mass_tolerance_
Definition: XTandemInfile.h:286
String output_results_
Definition: XTandemInfile.h:341
double precursor_lower_mz_
Definition: XTandemInfile.h:302
String cleavage_site_
Definition: XTandemInfile.h:320
MassType
Mass type of the precursor, either monoisotopic or average.
Definition: XTandemInfile.h:76
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:53
bool semi_cleavage_
semi cleavage
Definition: XTandemInfile.h:329
String taxon_
Definition: XTandemInfile.h:318
double max_valid_evalue_
Definition: XTandemInfile.h:343
int Int
Signed integer type.
Definition: Types.h:103
ModificationDefinitionsSet modifications_
Definition: XTandemInfile.h:310
std::vector< Internal::XTandemInfileNote > notes_
Definition: XTandemInfile.h:349
double precursor_mass_tolerance_minus_
Definition: XTandemInfile.h:290
double fragment_lower_mz_
Definition: XTandemInfile.h:304
bool refine_
Enable/disable xtandem refinement.
Definition: XTandemInfile.h:323