OpenMS
OpenPepXLLFAlgorithm.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, 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 
108  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);
109 
110 private:
111  void updateMembers_() override;
112 
115 
121 
125 
131 
138 
143 
151  };
152 }
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
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:139
String add_c_ions_
Definition: OpenPepXLLFAlgorithm.h:148
bool precursor_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:119
StringList fixedModNames_
Definition: OpenPepXLLFAlgorithm.h:132
bool fragment_mass_tolerance_unit_ppm_
Definition: OpenPepXLLFAlgorithm.h:124
Size sequence_tag_min_length_
Definition: OpenPepXLLFAlgorithm.h:142
StringList varModNames_
Definition: OpenPepXLLFAlgorithm.h:133
String add_x_ions_
Definition: OpenPepXLLFAlgorithm.h:146
double fragment_mass_tolerance_xlinks_
Definition: OpenPepXLLFAlgorithm.h:123
IntList precursor_correction_steps_
Definition: OpenPepXLLFAlgorithm.h:120
Size missed_cleavages_
Definition: OpenPepXLLFAlgorithm.h:136
Int max_precursor_charge_
Definition: OpenPepXLLFAlgorithm.h:117
double cross_link_mass_
Definition: OpenPepXLLFAlgorithm.h:128
String decoy_string_
Definition: OpenPepXLLFAlgorithm.h:113
Size peptide_min_size_
Definition: OpenPepXLLFAlgorithm.h:135
bool use_sequence_tags_
Definition: OpenPepXLLFAlgorithm.h:141
String add_y_ions_
Definition: OpenPepXLLFAlgorithm.h:144
bool decoy_prefix_
Definition: OpenPepXLLFAlgorithm.h:114
String add_losses_
Definition: OpenPepXLLFAlgorithm.h:150
double precursor_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:118
Int min_precursor_charge_
Definition: OpenPepXLLFAlgorithm.h:116
String enzyme_name_
Definition: OpenPepXLLFAlgorithm.h:137
String cross_link_name_
Definition: OpenPepXLLFAlgorithm.h:130
StringList cross_link_residue1_
Definition: OpenPepXLLFAlgorithm.h:126
String deisotope_mode_
Definition: OpenPepXLLFAlgorithm.h:140
String add_b_ions_
Definition: OpenPepXLLFAlgorithm.h:145
DoubleList cross_link_mass_mono_link_
Definition: OpenPepXLLFAlgorithm.h:129
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:147
String add_z_ions_
Definition: OpenPepXLLFAlgorithm.h:149
double fragment_mass_tolerance_
Definition: OpenPepXLLFAlgorithm.h:122
Size max_variable_mods_per_peptide_
Definition: OpenPepXLLFAlgorithm.h:134
StringList cross_link_residue2_
Definition: OpenPepXLLFAlgorithm.h:127
~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:76
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:101
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: FeatureDeconvolution.h:22