OpenMS
OpenPepXLLFAlgorithm.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Eugen Netz $
6 // $Authors: Eugen Netz $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
16 
17 namespace OpenMS
18 {
19 
20  //-------------------------------------------------------------
21  //Doxygen docu
22  //-------------------------------------------------------------
23 
76  class OPENMS_DLLAPI OpenPepXLLFAlgorithm :
77  public DefaultParamHandler, public ProgressLogger
78  {
79 public:
80 
82  enum ExitCodes
83  {
87  INCOMPATIBLE_INPUT_DATA
88  };
89 
92 
95 
106  ExitCodes run(PeakMap& unprocessed_spectra, std::vector<FASTAFile::FASTAEntry>& fasta_db, std::vector<ProteinIdentification>& protein_ids, std::vector<PeptideIdentification>& peptide_ids,
107  std::vector< std::vector< OPXLDataStructs::CrossLinkSpectrumMatch > >& all_top_csms, PeakMap& spectra);
108 
109 private:
110  void updateMembers_() override;
111 
114 
120 
124 
130 
137 
142 
150  };
151 }
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:45
Search for cross-linked peptide pairs in tandem MS spectra.
Definition: OpenPepXLLFAlgorithm.h:78
ExitCodes run(PeakMap &unprocessed_spectra, std::vector< FASTAFile::FASTAEntry > &fasta_db, std::vector< ProteinIdentification > &protein_ids, std::vector< PeptideIdentification > &peptide_ids, std::vector< std::vector< OPXLDataStructs::CrossLinkSpectrumMatch > > &all_top_csms, PeakMap &spectra)
Performs the main function of this class, the search for cross-linked peptides.
Int number_top_hits_
Definition: OpenPepXLLFAlgorithm.h:138
String add_c_ions_
Definition: OpenPepXLLFAlgorithm.h:147
bool precursor_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:118
StringList fixedModNames_
Definition: OpenPepXLLFAlgorithm.h:131
bool fragment_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:123
Size sequence_tag_min_length_
Definition: OpenPepXLLFAlgorithm.h:141
StringList varModNames_
Definition: OpenPepXLLFAlgorithm.h:132
String add_x_ions_
Definition: OpenPepXLLFAlgorithm.h:145
double fragment_mass_tolerance_xlinks_
Definition: OpenPepXLLFAlgorithm.h:122
IntList precursor_correction_steps_
Definition: OpenPepXLLFAlgorithm.h:119
Size missed_cleavages_
Definition: OpenPepXLLFAlgorithm.h:135
Int max_precursor_charge_
Definition: OpenPepXLLFAlgorithm.h:116
double cross_link_mass_
Definition: OpenPepXLLFAlgorithm.h:127
String decoy_string_
Definition: OpenPepXLLFAlgorithm.h:112
Size peptide_min_size_
Definition: OpenPepXLLFAlgorithm.h:134
bool use_sequence_tags_
Definition: OpenPepXLLFAlgorithm.h:140
String add_y_ions_
Definition: OpenPepXLLFAlgorithm.h:143
bool decoy_prefix_
Definition: OpenPepXLLFAlgorithm.h:113
String add_losses_
Definition: OpenPepXLLFAlgorithm.h:149
double precursor_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:117
Int min_precursor_charge_
Definition: OpenPepXLLFAlgorithm.h:115
String enzyme_name_
Definition: OpenPepXLLFAlgorithm.h:136
String cross_link_name_
Definition: OpenPepXLLFAlgorithm.h:129
StringList cross_link_residue1_
Definition: OpenPepXLLFAlgorithm.h:125
String deisotope_mode_
Definition: OpenPepXLLFAlgorithm.h:139
String add_b_ions_
Definition: OpenPepXLLFAlgorithm.h:144
DoubleList cross_link_mass_mono_link_
Definition: OpenPepXLLFAlgorithm.h:128
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
OpenPepXLLFAlgorithm()
Default constructor.
ExitCodes
Exit codes.
Definition: OpenPepXLLFAlgorithm.h:83
@ ILLEGAL_PARAMETERS
Definition: OpenPepXLLFAlgorithm.h:85
@ EXECUTION_OK
Definition: OpenPepXLLFAlgorithm.h:84
@ UNEXPECTED_RESULT
Definition: OpenPepXLLFAlgorithm.h:86
String add_a_ions_
Definition: OpenPepXLLFAlgorithm.h:146
String add_z_ions_
Definition: OpenPepXLLFAlgorithm.h:148
double fragment_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:121
Size max_variable_mods_per_peptide_
Definition: OpenPepXLLFAlgorithm.h:133
StringList cross_link_residue2_
Definition: OpenPepXLLFAlgorithm.h:126
~OpenPepXLLFAlgorithm() override
Default destructor.
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:27
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:72
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:29
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:36
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19