OpenMS  3.0.0
OpenPepXLLFAlgorithm.h
Go to the documentation of this file.
1 
2 // --------------------------------------------------------------------------
3 // OpenMS -- Open-Source Mass Spectrometry
4 // --------------------------------------------------------------------------
5 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
6 // ETH Zurich, and Freie Universitaet Berlin 2002-2022.
7 //
8 // This software is released under a three-clause BSD license:
9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer.
11 // * Redistributions in binary form must reproduce the above copyright
12 // notice, this list of conditions and the following disclaimer in the
13 // documentation and/or other materials provided with the distribution.
14 // * Neither the name of any author or any participating institution
15 // may be used to endorse or promote products derived from this software
16 // without specific prior written permission.
17 // For a full list of authors, refer to the file AUTHORS.
18 // --------------------------------------------------------------------------
19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
23 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
26 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
28 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
29 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 //
31 // --------------------------------------------------------------------------
32 // $Maintainer: Eugen Netz $
33 // $Authors: Eugen Netz $
34 // --------------------------------------------------------------------------
35 
36 #pragma once
37 
43 
44 namespace OpenMS
45 {
46 
47  //-------------------------------------------------------------
48  //Doxygen docu
49  //-------------------------------------------------------------
50 
103  class OPENMS_DLLAPI OpenPepXLLFAlgorithm :
104  public DefaultParamHandler, public ProgressLogger
105  {
106 public:
107 
110  {
114  INCOMPATIBLE_INPUT_DATA
115  };
116 
119 
121  ~OpenPepXLLFAlgorithm() override;
122 
135  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);
136 
137 private:
138  void updateMembers_() override;
139 
142 
148 
152 
158 
165 
170 
178  };
179 }
double precursor_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:145
A more convenient string class.
Definition: String.h:58
String add_b_ions_
Definition: OpenPepXLLFAlgorithm.h:172
String add_y_ions_
Definition: OpenPepXLLFAlgorithm.h:171
std::vector< double > DoubleList
Vector of double precision real types.
Definition: ListUtils.h:62
String add_losses_
Definition: OpenPepXLLFAlgorithm.h:177
String deisotope_mode_
Definition: OpenPepXLLFAlgorithm.h:167
String add_c_ions_
Definition: OpenPepXLLFAlgorithm.h:175
String add_x_ions_
Definition: OpenPepXLLFAlgorithm.h:173
Size sequence_tag_min_length_
Definition: OpenPepXLLFAlgorithm.h:169
String enzyme_name_
Definition: OpenPepXLLFAlgorithm.h:164
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:55
StringList cross_link_residue1_
Definition: OpenPepXLLFAlgorithm.h:153
String add_a_ions_
Definition: OpenPepXLLFAlgorithm.h:174
Definition: OpenPepXLLFAlgorithm.h:111
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool precursor_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:146
bool use_sequence_tags_
Definition: OpenPepXLLFAlgorithm.h:168
IntList precursor_correction_steps_
Definition: OpenPepXLLFAlgorithm.h:147
StringList cross_link_residue2_
Definition: OpenPepXLLFAlgorithm.h:154
DoubleList cross_link_mass_mono_link_
Definition: OpenPepXLLFAlgorithm.h:156
bool fragment_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:151
String decoy_string_
Definition: OpenPepXLLFAlgorithm.h:140
Definition: OpenPepXLLFAlgorithm.h:112
double fragment_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:149
Int max_precursor_charge_
Definition: OpenPepXLLFAlgorithm.h:144
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
bool decoy_prefix_
Definition: OpenPepXLLFAlgorithm.h:141
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:70
Definition: OpenPepXLLFAlgorithm.h:113
Search for cross-linked peptide pairs in tandem MS spectra.
Definition: OpenPepXLLFAlgorithm.h:103
Size max_variable_mods_per_peptide_
Definition: OpenPepXLLFAlgorithm.h:161
Size peptide_min_size_
Definition: OpenPepXLLFAlgorithm.h:162
StringList varModNames_
Definition: OpenPepXLLFAlgorithm.h:160
double fragment_mass_tolerance_xlinks_
Definition: OpenPepXLLFAlgorithm.h:150
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Int min_precursor_charge_
Definition: OpenPepXLLFAlgorithm.h:143
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:52
Size missed_cleavages_
Definition: OpenPepXLLFAlgorithm.h:163
ExitCodes
Exit codes.
Definition: OpenPepXLLFAlgorithm.h:109
String add_z_ions_
Definition: OpenPepXLLFAlgorithm.h:176
Int number_top_hits_
Definition: OpenPepXLLFAlgorithm.h:166
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
StringList fixedModNames_
Definition: OpenPepXLLFAlgorithm.h:159
int Int
Signed integer type.
Definition: Types.h:102
double cross_link_mass_
Definition: OpenPepXLLFAlgorithm.h:155
String cross_link_name_
Definition: OpenPepXLLFAlgorithm.h:157