OpenMS
Loading...
Searching...
No Matches
NuXLAnnotateAndLocate.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: Timo Sachsenberg $
6// $Authors: Timo Sachsenberg $
7// --------------------------------------------------------------------------
8
9#pragma once
10
15#include "NuXLAnnotatedHit.h"
17
18#include <set>
19#include <map>
20#include <vector>
21#include <algorithm>
22
23namespace OpenMS
24{
38{
39 public:
40
107 static void annotateAndLocate_(
108 const PeakMap& exp,
109 std::vector<std::vector<NuXLAnnotatedHit>>& annotated_hits,
111 const ModifiedPeptideGenerator::MapToResidueType& fixed_modifications,
112 const ModifiedPeptideGenerator::MapToResidueType& variable_modifications,
113 Size max_variable_mods_per_peptide,
114 double fragment_mass_tolerance,
115 bool fragment_mass_tolerance_unit_ppm,
116 const NuXLParameterParsing::PrecursorsToMS2Adducts & all_feasible_adducts,
117 bool nhs_localization = false,
118 const NuXLSiteLocalization::ProteinTermini* protein_termini = nullptr,
119 bool enzyme_cleaves_after_lysine = false);
120
121};
122} // namespace OpenMS
123
124
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
Cached mapping ResidueModification* -> already-instantiated modified Residue*.
Definition ModifiedPeptideGenerator.h:59
Post-scoring step of the OpenNuXL pipeline: annotates fragment-ion peaks of each candidate hit and lo...
Definition NuXLAnnotateAndLocate.h:38
static void annotateAndLocate_(const PeakMap &exp, std::vector< std::vector< NuXLAnnotatedHit > > &annotated_hits, const NuXLModificationMassesResult &mm, const ModifiedPeptideGenerator::MapToResidueType &fixed_modifications, const ModifiedPeptideGenerator::MapToResidueType &variable_modifications, Size max_variable_mods_per_peptide, double fragment_mass_tolerance, bool fragment_mass_tolerance_unit_ppm, const NuXLParameterParsing::PrecursorsToMS2Adducts &all_feasible_adducts, bool nhs_localization=false, const NuXLSiteLocalization::ProteinTermini *protein_termini=nullptr, bool enzyme_cleaves_after_lysine=false)
Annotate every candidate hit in annotated_hits and localise the NA cross-link site.
Definition NuXLAnnotateAndLocate.cpp:325
Protein N- and C-terminal peptides of a digest, sorted, to look them up with isProteinNTerminal and i...
Definition NuXLSiteLocalization.h:129
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Result of NuXLModificationsGenerator::initModificationMassesNA — empirical formulas with their monois...
Definition NuXLModificationsGenerator.h:43
std::map< std::string, MS2AdductsOfSinglePrecursorAdduct > PrecursorsToMS2Adducts
Definition NuXLParameterParsing.h:65