212 void write(
const String& filename,
bool ignore_member_parameters =
false,
213 bool force_default_mods =
false);
221 void writeTo_(std::ostream& os,
bool ignore_member_parameters);
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:49
Representation of a set of modification definitions.
Definition: ModificationDefinitionsSet.h:59
A more convenient string class.
Definition: String.h:60
XTandem input file.
Definition: XTandemInfile.h:58
void setNumberOfThreads(UInt threads)
sets the number of threads used during the identifications
String getOutputResults() const
returns the output result type ("all", "valid" or "stochastic")
String input_filename_
Definition: XTandemInfile.h:270
MassType getPrecursorErrorType() const
returns the precursor mass type
void setTaxonomyFilename(const String &filename)
set the filename of the taxonomy file
const String & getOutputFilename() const
returns the output filename
ErrorUnit
error unit, either Da or ppm
Definition: XTandemInfile.h:63
void write(const String &filename, bool ignore_member_parameters=false, bool force_default_mods=false)
Writes the X! Tandem input file to the given filename.
bool allow_isotope_error_
Definition: XTandemInfile.h:283
MassType fragment_mass_type_
Definition: XTandemInfile.h:254
void setNoiseSuppression(const bool noise_suppression)
set state of noise suppression
void setFragmentMassErrorUnit(ErrorUnit unit)
sets the fragment mass error unit (Da, ppm)
String taxon_
Definition: XTandemInfile.h:276
ErrorUnit precursor_mass_error_unit_
Definition: XTandemInfile.h:252
const ModificationDefinitionsSet & getModifications() const
returns the modifications set, using a modification definitions set
String cleavage_site_
Definition: XTandemInfile.h:278
void setTaxon(const String &taxon)
sets the taxon used in the taxonomy file
UInt getNumberOfMissedCleavages() const
returns the number of missed cleavages allowed
UInt number_of_missed_cleavages_
Definition: XTandemInfile.h:286
UInt batch_size_
Definition: XTandemInfile.h:266
bool semi_cleavage_
semi cleavage
Definition: XTandemInfile.h:281
String output_results_
Definition: XTandemInfile.h:291
XTandemInfile()
constructor
double getPrecursorMassToleranceMinus() const
returns the precursor mass tolerance (minus only)
double fragment_lower_mz_
Definition: XTandemInfile.h:262
const String & getDefaultParametersFilename() const
returns the default parameters file
bool force_default_mods_
Definition: XTandemInfile.h:296
void setCleavageSite(const String &cleavage_site)
set the cleavage site with a X! Tandem conform regex
String output_filename_
Definition: XTandemInfile.h:272
const String & getInputFilename() const
returns the input filename
void setPrecursorMassToleranceMinus(double tol)
set the precursor mass tolerance (minus only)
void setNumberOfMissedCleavages(UInt missed_cleavages)
sets the number of missed cleavages allowed
ModificationDefinitionsSet modifications_
Definition: XTandemInfile.h:268
void setOutputResults(const String &result)
sets the output result type ("all", "valid" or "stochastic")
void setInputFilename(const String &input_file)
sets the input filename
double precursor_mass_tolerance_minus_
Definition: XTandemInfile.h:248
void setMaxValidEValue(double value)
sets the max valid E-value allowed in the list
void writeTo_(std::ostream &os, bool ignore_member_parameters)
UInt getNumberOfThreads() const
returns the number of threads
double getMaxValidEValue() const
returns the max valid E-value allowed in the list
bool getNoiseSuppression() const
get state of noise suppression
Int getMaxPrecursorCharge() const
returns the max precursor charge
XTandemInfile & operator=(const XTandemInfile &rhs)
double getFragmentMassTolerance() const
returns the fragment mass tolerance
void setDefaultParametersFilename(const String &filename)
sets the default parameters file
void writeNote_(std::ostream &os, const String &label, bool value)
String taxonomy_file_
Definition: XTandemInfile.h:274
void setPrecursorErrorType(MassType mono_isotopic)
sets the precursor mass type
void setPrecursorMassErrorUnit(ErrorUnit unit)
sets the precursor mass error unit (Da, ppm)
void setAllowIsotopeError(const bool allow_isotope_error)
set if misassignment of precursor to first and second 13C isotopic peak should also be considered
const String & getCleavageSite() const
returns the cleavage site regex
double getPrecursorMassTolerancePlus() const
returns the precursor mass tolerance (plus only)
const String & getTaxon() const
returns the taxon used in the taxonomy file
void setModifications(const ModificationDefinitionsSet &mods)
sets the modifications using a modification definitions set
void setFragmentMassTolerance(double tolerance)
setter for the fragment mass tolerance
double precursor_mass_tolerance_plus_
Definition: XTandemInfile.h:246
MassType
Mass type of the precursor, either monoisotopic or average.
Definition: XTandemInfile.h:70
void setSemiCleavage(const bool semi_cleavage)
set state of semi cleavage
String convertModificationSet_(const std::set< ModificationDefinition > &mods, std::map< String, double > &affected_origins) const
Converts the given set of Modifications into a format compatible to X!Tandem.
void setOutputFilename(const String &output)
sets the output filename
double fragment_mass_tolerance_
Definition: XTandemInfile.h:244
void setMaxPrecursorCharge(Int max_charge)
sets the max precursor charge
UInt max_precursor_charge_
Definition: XTandemInfile.h:258
~XTandemInfile() override
constructor
ErrorUnit fragment_mass_error_unit_
Definition: XTandemInfile.h:250
UInt number_of_threads_
Definition: XTandemInfile.h:264
void writeNote_(std::ostream &os, const String &label, const char *value)
MassType precursor_mass_type_
Definition: XTandemInfile.h:256
void setPrecursorMassTolerancePlus(double tol)
sets the precursor mass tolerance (plus only)
void writeNote_(std::ostream &os, const String &label, const String &value)
const String & getTaxonomyFilename() const
returns the filename of the taxonomy file
String default_parameters_file_
Definition: XTandemInfile.h:288
ErrorUnit getPrecursorMassErrorUnit() const
returns the precursor mass error unit (Da, ppm)
ErrorUnit getFragmentMassErrorUnit() const
returns the fragment mass error unit (Da, ppm)
double precursor_lower_mz_
Definition: XTandemInfile.h:260
XTandemInfile(const XTandemInfile &rhs)
double max_valid_evalue_
Definition: XTandemInfile.h:293
int Int
Signed integer type.
Definition: Types.h:102
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
@ AVERAGE
Definition: MetaData.h:76
@ MONOISOTOPIC
Definition: MetaData.h:75
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48