OpenMS
SeedListGenerator.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Hendrik Weisser $
6 // $Authors: Hendrik Weisser $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
18 
19 #include <vector>
20 
21 namespace OpenMS
22 {
30  class OPENMS_DLLAPI SeedListGenerator
31  {
32 public:
33 
35  typedef std::vector<DPosition<2> > SeedList;
36 
37 
40 
41 
47  void generateSeedList(const PeakMap & experiment, SeedList & seeds);
48 
49 
58  SeedList & seeds, bool use_peptide_mass = false);
59 
60 
69  void generateSeedLists(const ConsensusMap & consensus,
70  std::map<UInt64, SeedList> & seed_lists);
71 
72 
74  void convertSeedList(const SeedList & seeds, FeatureMap & features);
75 
76 
78  void convertSeedList(const FeatureMap & features, SeedList & seeds);
79 
80  };
81 
82 }
83 
A container for consensus elements.
Definition: ConsensusMap.h:68
A container for features.
Definition: FeatureMap.h:82
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:49
Container for peptide identifications from multiple spectra.
Definition: PeptideIdentificationList.h:66
Generate seed lists for feature detection.
Definition: SeedListGenerator.h:31
std::vector< DPosition< 2 > > SeedList
List of seed positions.
Definition: SeedListGenerator.h:35
void convertSeedList(const SeedList &seeds, FeatureMap &features)
Convert a list of seed positions to a feature map (expected format for FeatureFinder)
void generateSeedLists(const ConsensusMap &consensus, std::map< UInt64, SeedList > &seed_lists)
Generate seed lists based on a consensus map.
void convertSeedList(const FeatureMap &features, SeedList &seeds)
Convert a feature map with seed positions back to a simple list.
SeedListGenerator()
Default constructor.
void generateSeedList(PeptideIdentificationList &peptides, SeedList &seeds, bool use_peptide_mass=false)
Generate a seed list based on a list of peptide identifications.
void generateSeedList(const PeakMap &experiment, SeedList &seeds)
Generate a seed list based on an MS experiment.
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19