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
16
17#include <set>
18#include <map>
19#include <vector>
20#include <algorithm>
21
22namespace OpenMS
23{
36class OPENMS_DLLAPI NuXLAnnotateAndLocate
37{
38 public:
39
96 static void annotateAndLocate_(
97 const PeakMap& exp,
98 std::vector<std::vector<NuXLAnnotatedHit>>& annotated_hits,
100 const ModifiedPeptideGenerator::MapToResidueType& fixed_modifications,
101 const ModifiedPeptideGenerator::MapToResidueType& variable_modifications,
102 Size max_variable_mods_per_peptide,
103 double fragment_mass_tolerance,
104 bool fragment_mass_tolerance_unit_ppm,
105 const NuXLParameterParsing::PrecursorsToMS2Adducts & all_feasible_adducts);
106
107};
108} // namespace OpenMS
109
110
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:37
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)
Annotate every candidate hit in annotated_hits and localise the NA cross-link site.
Result of NuXLModificationsGenerator::initModificationMassesNA — empirical formulas with their monois...
Definition NuXLModificationsGenerator.h:40
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
std::map< std::string, MS2AdductsOfSinglePrecursorAdduct > PrecursorsToMS2Adducts
Definition NuXLParameterParsing.h:65