|
OpenMS
2.6.0
|
Go to the documentation of this file.
82 void setFragmentMassTolerance(
double tolerance);
85 double getFragmentMassTolerance()
const;
88 void setPrecursorMassTolerancePlus(
double tol);
91 double getPrecursorMassTolerancePlus()
const;
94 void setPrecursorMassToleranceMinus(
double tol);
97 double getPrecursorMassToleranceMinus()
const;
100 void setPrecursorErrorType(
MassType mono_isotopic);
103 MassType getPrecursorErrorType()
const;
106 void setFragmentMassErrorUnit(ErrorUnit unit);
109 ErrorUnit getFragmentMassErrorUnit()
const;
112 void setPrecursorMassErrorUnit(ErrorUnit unit);
115 ErrorUnit getPrecursorMassErrorUnit()
const;
118 void setNumberOfThreads(
UInt threads);
121 UInt getNumberOfThreads()
const;
130 void setOutputFilename(
const String& output);
133 const String& getOutputFilename()
const;
136 void setInputFilename(
const String& input_file);
139 const String& getInputFilename()
const;
142 void setTaxonomyFilename(
const String& filename);
145 const String& getTaxonomyFilename()
const;
148 void setDefaultParametersFilename(
const String& filename);
151 const String& getDefaultParametersFilename()
const;
154 void setTaxon(
const String& taxon);
157 const String& getTaxon()
const;
160 void setMaxPrecursorCharge(
Int max_charge);
163 Int getMaxPrecursorCharge()
const;
166 void setNumberOfMissedCleavages(
UInt missed_cleavages);
169 UInt getNumberOfMissedCleavages()
const;
172 void setOutputResults(
String result);
175 String getOutputResults()
const;
178 void setMaxValidEValue(
double value);
181 double getMaxValidEValue()
const;
184 void setSemiCleavage(
const bool semi_cleavage);
187 void setAllowIsotopeError(
const bool allow_isotope_error);
190 bool getNoiseSuppression()
const;
193 void setNoiseSuppression(
const bool noise_suppression);
196 void setCleavageSite(
const String& cleavage_site);
199 const String& getCleavageSite()
const;
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);
223 void writeNote_(std::ostream& os,
const String& label,
const String& value);
225 void writeNote_(std::ostream& os,
const String& label,
const char* value);
227 void writeNote_(std::ostream& os,
const String& label,
bool value);
242 String convertModificationSet_(
const std::set<ModificationDefinition>& mods, std::map<String, double>& affected_origins)
const;
XTandem input file.
Definition: XTandemInfile.h:56
bool semi_cleavage_
semi cleavage
Definition: XTandemInfile.h:281
static bool rename(const String &from, const String &to, bool overwrite_existing=true, bool verbose=true)
Rename a file.
Protease digestion_enzyme
The cleavage site information in details (from ProteaseDB)
Definition: ProteinIdentification.h:273
Base class for TOPP applications.
Definition: TOPPBase.h:144
void getAllXTandemNames(std::vector< String > &all_names) const
returns all the enzyme names available for XTandem
void load(const String &filename, ProteinIdentification &protein_identification, std::vector< PeptideIdentification > &id_data, ModificationDefinitionsSet &mod_def_set)
loads data from an X! Tandem XML file
MassType
Definition: MetaData.h:72
ModificationDefinitionsSet modifications_
Definition: XTandemInfile.h:268
A method or algorithm argument contains illegal values.
Definition: Exception.h:648
void store(const String &filename, const std::vector< ProteinIdentification > &protein_ids, const std::vector< PeptideIdentification > &peptide_ids, const String &document_id="")
Stores the data in an idXML file.
double fragment_lower_mz_
Definition: XTandemInfile.h:262
static ProteaseDB * getInstance()
this member function serves as a replacement of the constructor
Definition: DigestionEnzymeDB.h:69
UInt number_of_threads_
Definition: XTandemInfile.h:264
Representation of a set of modification definitions.
Definition: ModificationDefinitionsSet.h:58
PeakMassType
Peak mass type.
Definition: ProteinIdentification.h:247
void setSearchEngineVersion(const String &search_engine_version)
Sets the search engine version.
UInt missed_cleavages
The number of allowed missed cleavages.
Definition: ProteinIdentification.h:268
double precursor_mass_tolerance_minus_
Definition: XTandemInfile.h:248
File adapter for MzML files.
Definition: MzMLFile.h:55
A more convenient string class.
Definition: String.h:59
bool force_default_mods_
Definition: XTandemInfile.h:296
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
void addMSLevel(int level)
adds a desired MS level for peaks to load
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
UInt max_precursor_charge_
Definition: XTandemInfile.h:258
Definition: ProteinIdentification.h:249
Definition: XTandemInfile.h:65
String taxonomy_file_
Definition: XTandemInfile.h:274
ErrorUnit precursor_mass_error_unit_
Definition: XTandemInfile.h:252
Representation of a protein identification run.
Definition: ProteinIdentification.h:70
profile data
Definition: SpectrumSettings.h:74
Size size() const
Definition: MSExperiment.h:127
bool fragment_mass_tolerance_ppm
Mass tolerance unit of fragment ions (true: ppm, false: Dalton)
Definition: ProteinIdentification.h:270
static String find(const String &filename, StringList directories=StringList())
Looks up the location of the file filename.
ErrorUnit
error unit, either Da or ppm
Definition: XTandemInfile.h:62
static ModificationsDB * getInstance()
Returns a pointer to the modifications DB (singleton)
const DigestionEnzymeType * getEnzyme(const String &name) const
Definition: DigestionEnzymeDB.h:98
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::vector< String > variable_modifications
Allowed variable modifications.
Definition: ProteinIdentification.h:267
PeakMassType mass_type
Mass type of the peaks.
Definition: ProteinIdentification.h:265
void setPrimaryMSRunPath(const StringList &s, bool raw=false)
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
SpectrumType
Spectrum peak type.
Definition: SpectrumSettings.h:70
Size findByNativeID(const String &native_id) const
Look up spectrum by native ID.
String db
The used database.
Definition: ProteinIdentification.h:261
double precursor_mass_tolerance_plus_
Definition: XTandemInfile.h:246
Helper class for looking up spectra based on different attributes.
Definition: SpectrumLookup.h:67
Definition: XTandemInfile.h:64
String output_results_
Definition: XTandemInfile.h:291
void readSpectra(const SpectrumContainer &spectra, const String &scan_regexp=default_scan_regexp)
Read and index spectra for later look-up.
Definition: SpectrumLookup.h:103
MassType
Mass type of the precursor, either monoisotopic or average.
Definition: XTandemInfile.h:69
QString toQString() const
Conversion to Qt QString.
double fragment_mass_tolerance_
Definition: XTandemInfile.h:244
void setSearchParameters(const SearchParameters &search_parameters)
Sets the search parameters.
void setFillData(bool only)
sets whether to fill the actual data into the container (spectrum/chromatogram)
double fragment_mass_tolerance
Mass tolerance of fragment ions (Dalton or ppm)
Definition: ProteinIdentification.h:269
double precursor_lower_mz_
Definition: XTandemInfile.h:260
String cleavage_site_
Definition: XTandemInfile.h:278
ErrorUnit fragment_mass_error_unit_
Definition: XTandemInfile.h:250
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
MassType precursor_mass_type_
Definition: XTandemInfile.h:256
const SearchParameters & getSearchParameters() const
Returns the search parameters.
std::vector< String > fixed_modifications
Used fixed modifications.
Definition: ProteinIdentification.h:266
double max_valid_evalue_
Definition: XTandemInfile.h:293
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
void setSearchEngine(const String &search_engine)
Sets the search engine type.
double precursor_mass_tolerance
Mass tolerance of precursor ions (Dalton or ppm)
Definition: ProteinIdentification.h:271
#define OPENMS_LOG_ERROR
Macro to be used if non-fatal error are reported (processing continues)
Definition: LogStream.h:455
Class representing a temporary directory.
Definition: File.h:63
String input_filename_
Definition: XTandemInfile.h:270
String taxon_
Definition: XTandemInfile.h:276
static String findDatabase(const String &db_name)
const std::vector< MSSpectrum > & getSpectra() const
returns the spectrum list
static bool readable(const String &file)
Return true if the file exists and is readable.
String output_filename_
Definition: XTandemInfile.h:272
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:48
Definition: MetaData.h:74
ExitCodes
Exit codes.
Definition: TOPPBase.h:149
Definition: MetaData.h:75
Used to load XTandemXML files.
Definition: XTandemXMLFile.h:56
void getAllSearchModifications(std::vector< String > &modifications) const
Collects all modifications that can be used for identification searches.
bool precursor_mass_tolerance_ppm
Mass tolerance unit of precursor ions (true: ppm, false: Dalton)
Definition: ProteinIdentification.h:272
UInt number_of_missed_cleavages_
Definition: XTandemInfile.h:286
#define OPENMS_LOG_INFO
Macro if a information, e.g. a status should be reported.
Definition: LogStream.h:465
MassType fragment_mass_type_
Definition: XTandemInfile.h:254
File is empty.
Definition: Exception.h:594
Search parameters of the DB search.
Definition: ProteinIdentification.h:258
std::ifstream infile
Questionable file tested by TEST_FILE_EQUAL.
String default_parameters_file_
Definition: XTandemInfile.h:288
PeakFileOptions & getOptions()
Mutable access to the options for loading/storing.
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
static void writeParametersToMetaValues(const Param &write_this, MetaInfoInterface &write_here, const String &prefix="")
Writes all parameters to meta values.
UInt batch_size_
Definition: XTandemInfile.h:266
Used to load and store idXML files.
Definition: IdXMLFile.h:63
bool allow_isotope_error_
Definition: XTandemInfile.h:283