|
OpenMS
2.5.0
|
Go to the documentation of this file.
124 INCOMPATIBLE_INPUT_DATA
145 ExitCodes run(
PeakMap& unprocessed_spectra,
ConsensusMap& cfeatures, std::vector<FASTAFile::FASTAEntry>& fasta_db, std::vector<ProteinIdentification>& protein_ids, std::vector<PeptideIdentification>& peptide_ids,
OPXLDataStructs::PreprocessedPairSpectra& preprocessed_pair_spectra, std::vector< std::pair<Size, Size> >& spectrum_pairs, std::vector< std::vector< OPXLDataStructs::CrossLinkSpectrumMatch > >& all_top_csms,
PeakMap& spectra);
148 void updateMembers_()
override;
150 static OPXLDataStructs::PreprocessedPairSpectra preprocessPairs_(
const PeakMap& spectra,
const std::vector< std::pair<Size, Size> >& spectrum_pairs,
const double cross_link_mass_iso_shift,
double fragment_mass_tolerance,
double fragment_mass_tolerance_xlinks,
bool fragment_mass_tolerance_unit_ppm,
bool deisotope);
String decoy_string_
Definition: OpenPepXLAlgorithm.h:152
void addMSLevel(int level)
adds a desired MS level for peaks to load
Management and storage of parameters / INI files.
Definition: Param.h:73
bool decoy_prefix_
Definition: OpenPepXLAlgorithm.h:153
double precursor_mass_tolerance_
Definition: OpenPepXLAlgorithm.h:157
const Param & getParameters() const
Non-mutable access to the parameters.
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
String add_losses_
Definition: OpenPepXLAlgorithm.h:188
void store(const String &filename, const std::vector< ProteinIdentification > &poid, const std::vector< PeptideIdentification > &peid) const
Stores the identifications in a xQuest XML file.
std::string OpenMS_OSNames[]
Definition: OpenMSInfo.cpp:59
std::string OpenMS_ArchNames[]
Definition: OpenMSInfo.cpp:61
double fragment_mass_tolerance_
Definition: OpenPepXLAlgorithm.h:161
static void load(const String &filename, std::vector< FASTAEntry > &data)
loads a FASTA file given by 'filename' and stores the information in 'data'
#define OPENMS_LOG_INFO
Macro if a information, e.g. a status should be reported.
Definition: LogStream.h:465
String add_y_ions_
Definition: OpenPepXLAlgorithm.h:182
Definition: OpenPepXLAlgorithm.h:123
static OpenMSOSInfo getOSInfo()
Definition: OpenMSInfo.cpp:92
StringList fixedModNames_
Definition: OpenPepXLAlgorithm.h:172
Definition: OpenMSInfo.cpp:58
String cross_link_name_
Definition: OpenPepXLAlgorithm.h:170
Int min_precursor_charge_
Definition: OpenPepXLAlgorithm.h:155
Size peptide_min_size_
Definition: OpenPepXLAlgorithm.h:175
double cross_link_mass_light_
Definition: OpenPepXLAlgorithm.h:167
static String getUserDirectory()
void clearMSLevels()
clears the MS levels
Definition: OpenMSInfo.cpp:60
StringList cross_link_residue2_
Definition: OpenPepXLAlgorithm.h:166
File adapter for MzIdentML files.
Definition: MzIdentMLFile.h:67
ExitCodes
Exit codes.
Definition: OpenPepXLAlgorithm.h:119
Base class for TOPP applications.
Definition: TOPPBase.h:144
Search for peptide pairs linked with a labeled cross-linker.
Definition: OpenPepXLAlgorithm.h:113
bool fragment_mass_tolerance_unit_ppm_
Definition: OpenPepXLAlgorithm.h:163
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
This class provides Input functionality for ConsensusMaps and Output functionality for alignments and...
Definition: ConsensusXMLFile.h:61
OpenMS_Architecture arch
Definition: OpenMSInfo.cpp:78
String getArchAsString() const
Definition: OpenMSInfo.cpp:85
Options for loading files containing peak data.
Definition: PeakFileOptions.h:47
static String getRevision()
Return the revision number from revision control system, e.g. git.
Definition: OpenMSInfo.cpp:60
String getOSAsString() const
Definition: OpenMSInfo.cpp:80
Size max_variable_mods_per_peptide_
Definition: OpenPepXLAlgorithm.h:174
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
StringList cross_link_residue1_
Definition: OpenPepXLAlgorithm.h:165
Definition: OpenMSInfo.cpp:58
static String getOpenMSDataPath()
Returns the OpenMS data path (environment variable overwrites the default installation path)
Definition: OpenPepXLAlgorithm.h:121
void setMetaValue(const String &name, const DataValue &value)
Sets the DataValue corresponding to a name.
OpenMS_Architecture getBinaryArchitecture()
Definition: OpenMSInfo.cpp:191
Definition: OpenMSInfo.cpp:68
void endProgress() const
Ends the progress display.
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
Logger::LogStream OpenMS_Log_debug
Global static instance of a LogStream to capture messages classified as debug output....
Search parameters of the DB search.
Definition: ProteinIdentification.h:221
Int number_top_hits_
Definition: OpenPepXLAlgorithm.h:179
OpenMS_OS
Definition: OpenMSInfo.cpp:58
A container for consensus elements.
Definition: ConsensusMap.h:79
Used to load and store xQuest result files.
Definition: XQuestResultXMLFile.h:55
String add_b_ions_
Definition: OpenPepXLAlgorithm.h:183
Size missed_cleavages_
Definition: OpenPepXLAlgorithm.h:176
bool precursor_mass_tolerance_unit_ppm_
Definition: OpenPepXLAlgorithm.h:158
void setParameters(const Param ¶m)
Sets the parameters.
String add_z_ions_
Definition: OpenPepXLAlgorithm.h:187
DoubleList cross_link_mass_mono_link_
Definition: OpenPepXLAlgorithm.h:169
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
bool update(const Param &p_outdated, const bool add_unknown=false)
Rescue parameter values from p_outdated to current param.
String enzyme_name_
Definition: OpenPepXLAlgorithm.h:177
String add_x_ions_
Definition: OpenPepXLAlgorithm.h:184
Param copy(const String &prefix, bool remove_prefix=false) const
Returns a new Param object containing all entries that start with prefix.
String add_c_ions_
Definition: OpenPepXLAlgorithm.h:186
void load(const String &filename, ConsensusMap &map)
Loads a consensus map from file and calls updateRanges.
String add_a_ions_
Definition: OpenPepXLAlgorithm.h:185
IntList precursor_correction_steps_
Definition: OpenPepXLAlgorithm.h:159
String os_version
Definition: OpenMSInfo.cpp:77
String deisotope_mode_
Definition: OpenPepXLAlgorithm.h:180
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
double fragment_mass_tolerance_xlinks_
Definition: OpenPepXLAlgorithm.h:162
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...
OpenMS_OS os
Definition: OpenMSInfo.cpp:76
Used to load and store idXML files.
Definition: IdXMLFile.h:63
static String getTime()
Return the build time of OpenMS.
File adapter for MzML files.
Definition: MzMLFile.h:55
Definition: OpenMSInfo.cpp:60
A more convenient string class.
Definition: String.h:58
OpenMSOSInfo()
Definition: OpenMSInfo.cpp:70
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:56
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.
StringList varModNames_
Definition: OpenPepXLAlgorithm.h:173
String db
The used database.
Definition: ProteinIdentification.h:224
Definition: OpenMSInfo.cpp:58
double cross_link_mass_iso_shift_
Definition: OpenPepXLAlgorithm.h:168
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Definition: OpenPepXLAlgorithm.h:122
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:62
ExitCodes run(PeakMap &unprocessed_spectra, ConsensusMap &cfeatures, std::vector< FASTAFile::FASTAEntry > &fasta_db, std::vector< ProteinIdentification > &protein_ids, std::vector< PeptideIdentification > &peptide_ids, OPXLDataStructs::PreprocessedPairSpectra &preprocessed_pair_spectra, std::vector< std::pair< Size, Size > > &spectrum_pairs, std::vector< std::vector< OPXLDataStructs::CrossLinkSpectrumMatch > > &all_top_csms, PeakMap &spectra)
Performs the main function of this class, the search for cross-linked peptides.
static String getVersion()
Return the version number of OpenMS.
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:55
This class serves for reading in and writing FASTA files.
Definition: FASTAFile.h:64
The PreprocessedPairSpectra struct represents the result of comparing a light and a heavy labeled spe...
Definition: OPXLDataStructs.h:303
static String getTempDirectory()
The current OpenMS temporary data path (for temporary files)
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
static String getBranch()
Return the branch name from revision control system, e.g. git.
Int max_precursor_charge_
Definition: OpenPepXLAlgorithm.h:156
Definition: OpenMSInfo.cpp:58
PeakFileOptions & getOptions()
Mutable access to the options for loading/storing.
OpenMS_Architecture
Definition: OpenMSInfo.cpp:60
void store(const String &filename, const std::vector< ProteinIdentification > &poid, const std::vector< PeptideIdentification > &peid) const
Stores the identifications in a MzIdentML file.
void startProgress(SignedSize begin, SignedSize end, const String &label) const
Initializes the progress display.