|
OpenMS
2.6.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);
Definition: OpenPepXLAlgorithm.h:121
double fragment_mass_tolerance_
Definition: OpenPepXLAlgorithm.h:161
static Size getOpenMPMaxNumThreads()
Get the maximum number of threads that OpenMP will use (including hyperthreads) Note: This could also...
Definition: BuildInfo.h:154
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.
Base class for TOPP applications.
Definition: TOPPBase.h:144
void store(const String &filename, const std::vector< ProteinIdentification > &poid, const std::vector< PeptideIdentification > &peid) const
Stores the identifications in a MzIdentML file.
String enzyme_name_
Definition: OpenPepXLAlgorithm.h:177
double cross_link_mass_iso_shift_
Definition: OpenPepXLAlgorithm.h:168
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.
String add_y_ions_
Definition: OpenPepXLAlgorithm.h:182
String add_b_ions_
Definition: OpenPepXLAlgorithm.h:183
StringList varModNames_
Definition: OpenPepXLAlgorithm.h:173
This class serves for reading in and writing FASTA files.
Definition: FASTAFile.h:64
static String getTime()
Return the build time of OpenMS.
String deisotope_mode_
Definition: OpenPepXLAlgorithm.h:180
File adapter for MzML files.
Definition: MzMLFile.h:55
A more convenient string class.
Definition: String.h:59
StringList cross_link_residue2_
Definition: OpenPepXLAlgorithm.h:166
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:62
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
Definition: OpenPepXLAlgorithm.h:123
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
bool precursor_mass_tolerance_unit_ppm_
Definition: OpenPepXLAlgorithm.h:158
String add_losses_
Definition: OpenPepXLAlgorithm.h:188
double fragment_mass_tolerance_xlinks_
Definition: OpenPepXLAlgorithm.h:162
Definition: OpenPepXLAlgorithm.h:122
void startProgress(SignedSize begin, SignedSize end, const String &label) const
Initializes the progress display.
Size peptide_min_size_
Definition: OpenPepXLAlgorithm.h:175
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:55
static String getBinaryArchitecture()
Get Architecture of this binary (simply by looking at size of a pointer, i.e. size_t).
Definition: BuildInfo.h:87
String add_c_ions_
Definition: OpenPepXLAlgorithm.h:186
StringList fixedModNames_
Definition: OpenPepXLAlgorithm.h:172
StringList cross_link_residue1_
Definition: OpenPepXLAlgorithm.h:165
void endProgress() const
Ends the progress display.
double cross_link_mass_light_
Definition: OpenPepXLAlgorithm.h:167
bool decoy_prefix_
Definition: OpenPepXLAlgorithm.h:153
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
static String getBuildType()
Get the build type used during building the OpenMS library.
Definition: BuildInfo.h:146
Size max_variable_mods_per_peptide_
Definition: OpenPepXLAlgorithm.h:174
The PreprocessedPairSpectra struct represents the result of comparing a light and a heavy labeled spe...
Definition: OPXLDataStructs.h:303
File adapter for MzIdentML files.
Definition: MzIdentMLFile.h:67
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
DoubleList cross_link_mass_mono_link_
Definition: OpenPepXLAlgorithm.h:169
Used to load and store xQuest result files.
Definition: XQuestResultXMLFile.h:55
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:56
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...
String db
The used database.
Definition: ProteinIdentification.h:261
String cross_link_name_
Definition: OpenPepXLAlgorithm.h:170
String add_z_ions_
Definition: OpenPepXLAlgorithm.h:187
void setParameters(const Param ¶m)
Sets the parameters.
String getArchAsString() const
Get the current architecture (32-bit or 64-bit)
Definition: BuildInfo.h:75
static String getVersion()
Return the version number of OpenMS.
const Param & getParameters() const
Non-mutable access to the parameters.
A container for consensus elements.
Definition: ConsensusMap.h:80
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
void load(const String &filename, ConsensusMap &map)
Loads a consensus map from file and calls updateRanges.
String add_a_ions_
Definition: OpenPepXLAlgorithm.h:185
static String getRevision()
Return the revision number from revision control system, e.g. git.
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
static String getUserDirectory()
Search for peptide pairs linked with a labeled cross-linker.
Definition: OpenPepXLAlgorithm.h:113
bool update(const Param &p_outdated, const bool add_unknown=false)
Rescue parameter values from p_outdated to current param.
Logger::LogStream OpenMS_Log_debug
Global static instance of a LogStream to capture messages classified as debug output....
static void load(const String &filename, std::vector< FASTAEntry > &data)
loads a FASTA file given by 'filename' and stores the information in 'data'
Int min_precursor_charge_
Definition: OpenPepXLAlgorithm.h:155
String getOSAsString() const
Get the current operating system (Windows, MacOS, Linux)
Definition: BuildInfo.h:69
static String getOpenMSDataPath()
Returns the OpenMS data path (environment variable overwrites the default installation path)
Options for loading files containing peak data.
Definition: PeakFileOptions.h:47
Size missed_cleavages_
Definition: OpenPepXLAlgorithm.h:176
void clearMSLevels()
clears the MS levels
Management and storage of parameters / INI files.
Definition: Param.h:73
static String getTempDirectory()
The current OpenMS temporary data path (for temporary files)
ExitCodes
Exit codes.
Definition: OpenPepXLAlgorithm.h:119
Definition: BuildInfo.h:55
static String getBranch()
Return the branch name from revision control system, e.g. git.
String add_x_ions_
Definition: OpenPepXLAlgorithm.h:184
#define OPENMS_LOG_INFO
Macro if a information, e.g. a status should be reported.
Definition: LogStream.h:465
String getOSVersionAsString() const
Get the OS version (e.g. 10.15 for macOS or 10 for Windows)
Definition: BuildInfo.h:81
void store(const String &filename, const std::vector< ProteinIdentification > &poid, const std::vector< PeptideIdentification > &peid) const
Stores the identifications in a xQuest XML file.
IntList precursor_correction_steps_
Definition: OpenPepXLAlgorithm.h:159
Search parameters of the DB search.
Definition: ProteinIdentification.h:258
static OpenMSOSInfo getOSInfo()
Constructs and returns an OpenMSOSInfo object.
Definition: BuildInfo.h:102
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!
double precursor_mass_tolerance_
Definition: OpenPepXLAlgorithm.h:157
This class provides Input functionality for ConsensusMaps and Output functionality for alignments and...
Definition: ConsensusXMLFile.h:62
Used to load and store idXML files.
Definition: IdXMLFile.h:63
Int max_precursor_charge_
Definition: OpenPepXLAlgorithm.h:156
String decoy_string_
Definition: OpenPepXLAlgorithm.h:152
bool fragment_mass_tolerance_unit_ppm_
Definition: OpenPepXLAlgorithm.h:163
Int number_top_hits_
Definition: OpenPepXLAlgorithm.h:179