OpenMS  2.4.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-2018.
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 
44 
45 namespace OpenMS
46 {
47 
48  //-------------------------------------------------------------
49  //Doxygen docu
50  //-------------------------------------------------------------
51 
106  class OPENMS_DLLAPI OpenPepXLLFAlgorithm :
107  public DefaultParamHandler, public ProgressLogger
108  {
109 public:
110 
113  {
116  UNEXPECTED_RESULT
117  };
118 
121 
123  ~OpenPepXLLFAlgorithm() override;
124 
137  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);
138 
139 private:
140  void updateMembers_() override;
141 
144 
150 
154 
160 
167 
170 
178  };
179 }
double precursor_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:147
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:65
String add_losses_
Definition: OpenPepXLLFAlgorithm.h:177
String deisotope_mode_
Definition: OpenPepXLLFAlgorithm.h:169
String add_c_ions_
Definition: OpenPepXLLFAlgorithm.h:175
String add_x_ions_
Definition: OpenPepXLLFAlgorithm.h:173
String enzyme_name_
Definition: OpenPepXLLFAlgorithm.h:166
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:58
StringList cross_link_residue1_
Definition: OpenPepXLLFAlgorithm.h:155
String add_a_ions_
Definition: OpenPepXLLFAlgorithm.h:174
Definition: OpenPepXLLFAlgorithm.h:114
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
bool precursor_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:148
IntList precursor_correction_steps_
Definition: OpenPepXLLFAlgorithm.h:149
StringList cross_link_residue2_
Definition: OpenPepXLLFAlgorithm.h:156
DoubleList cross_link_mass_mono_link_
Definition: OpenPepXLLFAlgorithm.h:158
bool fragment_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:153
String decoy_string_
Definition: OpenPepXLLFAlgorithm.h:142
Definition: OpenPepXLLFAlgorithm.h:115
double fragment_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:151
Int max_precursor_charge_
Definition: OpenPepXLLFAlgorithm.h:146
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:73
bool decoy_prefix_
Definition: OpenPepXLLFAlgorithm.h:143
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
Definition: OpenPepXLLFAlgorithm.h:106
Size max_variable_mods_per_peptide_
Definition: OpenPepXLLFAlgorithm.h:163
Size peptide_min_size_
Definition: OpenPepXLLFAlgorithm.h:164
StringList varModNames_
Definition: OpenPepXLLFAlgorithm.h:162
double fragment_mass_tolerance_xlinks_
Definition: OpenPepXLLFAlgorithm.h:152
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:145
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
Size missed_cleavages_
Definition: OpenPepXLLFAlgorithm.h:165
ExitCodes
Exit codes.
Definition: OpenPepXLLFAlgorithm.h:112
String add_z_ions_
Definition: OpenPepXLLFAlgorithm.h:176
Int number_top_hits_
Definition: OpenPepXLLFAlgorithm.h:168
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
StringList fixedModNames_
Definition: OpenPepXLLFAlgorithm.h:161
int Int
Signed integer type.
Definition: Types.h:102
double cross_link_mass_
Definition: OpenPepXLLFAlgorithm.h:157
String cross_link_name_
Definition: OpenPepXLLFAlgorithm.h:159