OpenMS  2.6.0
FeatureMap.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // OpenMS -- Open-Source Mass Spectrometry
3 // --------------------------------------------------------------------------
4 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
5 // ETH Zurich, and Freie Universitaet Berlin 2002-2020.
6 //
7 // This software is released under a three-clause BSD license:
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
12 // documentation and/or other materials provided with the distribution.
13 // * Neither the name of any author or any participating institution
14 // may be used to endorse or promote products derived from this software
15 // without specific prior written permission.
16 // For a full list of authors, refer to the file AUTHORS.
17 // --------------------------------------------------------------------------
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
22 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 //
30 // --------------------------------------------------------------------------
31 // $Maintainer: Chris Bielow $
32 // $Authors: Marc Sturm, Chris Bielow, Clemens Groepl $
33 // --------------------------------------------------------------------------
34 
35 #pragma once
36 
37 #include <OpenMS/KERNEL/Feature.h>
40 
43 
44 #include <OpenMS/CONCEPT/Types.h>
48 
50 #include <OpenMS/OpenMSConfig.h>
51 
52 #include <algorithm>
53 #include <exception>
54 #include <vector>
55 
56 namespace OpenMS
57 {
58  class ProteinIdentification;
59  class PeptideIdentification;
60  class DataProcessing;
61 
64  struct OPENMS_DLLAPI AnnotationStatistics
65  {
66  std::vector<Size> states;
67 
69 
71 
72  AnnotationStatistics& operator=(const AnnotationStatistics& rhs);
73 
74  bool operator==(const AnnotationStatistics& rhs) const;
75 
77  };
78 
79 
81  OPENMS_DLLAPI std::ostream& operator<<(std::ostream& os, const AnnotationStatistics& ann);
82 
97  class FeatureMap :
98  private std::vector<Feature>,
99  public MetaInfoInterface,
100  public RangeManager<2>,
101  public DocumentIdentifier,
102  public UniqueIdInterface,
103  public UniqueIdIndexer<FeatureMap>,
104  public MapUtilities<FeatureMap>
105  {
106 public:
110  typedef std::vector<Feature> privvec;
111 
112  // types
113  using privvec::value_type;
114  using privvec::iterator;
115  using privvec::const_iterator;
116  using privvec::size_type;
117  using privvec::pointer; // ConstRefVector
118  using privvec::reference; // ConstRefVector
119  using privvec::const_reference; // ConstRefVector
120  using privvec::difference_type; // ConstRefVector
121 
122  // functions
123  using privvec::begin;
124  using privvec::end;
125 
126  using privvec::size;
127  using privvec::resize; // ConsensusMap, FeatureXMLFile
128  using privvec::empty;
129  using privvec::reserve;
130  using privvec::operator[];
131  using privvec::at; // UniqueIdIndexer
132  using privvec::back; // FeatureXMLFile
133 
134  using privvec::push_back;
135  using privvec::emplace_back;
136  using privvec::pop_back; // FeatureXMLFile
137  using privvec::erase; // source/VISUAL/Spectrum2DCanvas.cpp 2871, FeatureMap_test 599
138 
142  typedef std::vector<FeatureType> Base;
143  typedef Base::iterator Iterator;
144  typedef Base::const_iterator ConstIterator;
145  typedef Base::reverse_iterator ReverseIterator;
146  typedef Base::const_reverse_iterator ConstReverseIterator;
148  typedef const FeatureType& ConstReference;
150 
155 
157  OPENMS_DLLAPI FeatureMap();
158 
160  OPENMS_DLLAPI FeatureMap(const FeatureMap& source);
161 
163  OPENMS_DLLAPI ~FeatureMap() override;
165 
167  OPENMS_DLLAPI FeatureMap& operator=(const FeatureMap& rhs);
168 
170  OPENMS_DLLAPI bool operator==(const FeatureMap& rhs) const;
171 
173  OPENMS_DLLAPI bool operator!=(const FeatureMap& rhs) const;
174 
180  OPENMS_DLLAPI FeatureMap operator+(const FeatureMap& rhs) const;
181 
194  OPENMS_DLLAPI FeatureMap& operator+=(const FeatureMap& rhs);
195 
202  OPENMS_DLLAPI void sortByIntensity(bool reverse = false);
204 
206  OPENMS_DLLAPI void sortByPosition();
207 
209  OPENMS_DLLAPI void sortByRT();
210 
212  OPENMS_DLLAPI void sortByMZ();
213 
215  OPENMS_DLLAPI void sortByOverallQuality(bool reverse = false);
216 
218 
219  // Docu in base class
220  OPENMS_DLLAPI void updateRanges() override;
221 
223  OPENMS_DLLAPI void swapFeaturesOnly(FeatureMap& from);
224 
225  OPENMS_DLLAPI void swap(FeatureMap& from);
226 
228  OPENMS_DLLAPI const std::vector<ProteinIdentification>& getProteinIdentifications() const;
229 
231  OPENMS_DLLAPI std::vector<ProteinIdentification>& getProteinIdentifications();
232 
234  OPENMS_DLLAPI void setProteinIdentifications(const std::vector<ProteinIdentification>& protein_identifications);
235 
237  OPENMS_DLLAPI const std::vector<PeptideIdentification>& getUnassignedPeptideIdentifications() const;
238 
240  OPENMS_DLLAPI std::vector<PeptideIdentification>& getUnassignedPeptideIdentifications();
241 
243  OPENMS_DLLAPI void setUnassignedPeptideIdentifications(const std::vector<PeptideIdentification>& unassigned_peptide_identifications);
244 
246  OPENMS_DLLAPI const std::vector<DataProcessing>& getDataProcessing() const;
247 
249  OPENMS_DLLAPI std::vector<DataProcessing>& getDataProcessing();
250 
252  OPENMS_DLLAPI void setDataProcessing(const std::vector<DataProcessing>& processing_method);
253 
255  OPENMS_DLLAPI void setPrimaryMSRunPath(const StringList& s);
256 
259  OPENMS_DLLAPI void setPrimaryMSRunPath(const StringList& s, MSExperiment & e);
260 
262  OPENMS_DLLAPI void getPrimaryMSRunPath(StringList& toFill) const;
263 
269  OPENMS_DLLAPI void clear(bool clear_meta_data = true);
270 
283  template <typename Type>
284  Size applyMemberFunction(Size (Type::* member_function)())
285  {
286  Size assignments = 0;
287  assignments += ((*this).*member_function)();
288  for (Iterator iter = this->begin(); iter != this->end(); ++iter)
289  {
290  assignments += iter->applyMemberFunction(member_function);
291  }
292  return assignments;
293  }
294 
296  template <typename Type>
297  Size applyMemberFunction(Size (Type::* member_function)() const) const
298  {
299  Size assignments = 0;
300  assignments += ((*this).*member_function)();
301  for (ConstIterator iter = this->begin(); iter != this->end(); ++iter)
302  {
303  assignments += iter->applyMemberFunction(member_function);
304  }
305  return assignments;
306  }
307 
308  OPENMS_DLLAPI AnnotationStatistics getAnnotationStatistics() const;
309 
310 protected:
311 
313  std::vector<ProteinIdentification> protein_identifications_;
314 
316  std::vector<PeptideIdentification> unassigned_peptide_identifications_;
317 
319  std::vector<DataProcessing> data_processing_;
320 
321  };
322 
323  OPENMS_DLLAPI std::ostream& operator<<(std::ostream& os, const FeatureMap& map);
324 
325 } // namespace OpenMS
DefaultParamHandler.h
OpenMS::FeatureGroupingAlgorithmLabeled
A map feature grouping algorithm for labeling techniques with two labels.
Definition: FeatureGroupingAlgorithmLabeled.h:50
ConsensusXMLFile.h
OpenMS::FeatureMap::RangeManagerType
RangeManager< 2 > RangeManagerType
Definition: FeatureMap.h:141
OpenMS::FeatureGroupingAlgorithm
Base class for all feature grouping algorithms.
Definition: FeatureGroupingAlgorithm.h:49
UniqueIdInterface.h
OpenMS::TOPPBase
Base class for TOPP applications.
Definition: TOPPBase.h:144
OpenMS::ConsensusMap::applyMemberFunction
Size applyMemberFunction(Size(Type::*member_function)())
Applies a member function of Type to the container itself and all consensus features....
Definition: ConsensusMap.h:335
OpenMS::ExperimentalDesign
Representation of an experimental design in OpenMS. Instances can be loaded with the ExperimentalDesi...
Definition: ExperimentalDesign.h:243
OpenMS::Param::copy
Param copy(const String &prefix, bool remove_prefix=false) const
Returns a new Param object containing all entries that start with prefix.
OpenMS::ExperimentalDesignFile::load
static ExperimentalDesign load(const String &tsv_file, bool require_spectra_files)
Loads an experimental design from a tabular separated file.
FileHandler.h
FileTypes.h
OpenMS::FeatureMap::operator+=
FeatureMap & operator+=(const FeatureMap &rhs)
Add one feature map to another.
OpenMS::FeatureGroupingAlgorithmQT
A feature grouping algorithm for unlabeled data.
Definition: FeatureGroupingAlgorithmQT.h:52
ConversionHelper.h
OpenMS::UInt64
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
OpenMS::FeatureMap::swapFeaturesOnly
void swapFeaturesOnly(FeatureMap &from)
Swaps the feature content (plus its range information) of this map with the content of from.
OpenMS::FeatureFileOptions
Options for loading files containing features.
Definition: FeatureFileOptions.h:46
FeatureGroupingAlgorithmKD.h
OpenMS::ConsensusXMLFile::store
void store(const String &filename, const ConsensusMap &consensus_map)
Stores a consensus map to file.
OpenMS::BaseFeature::AnnotationState
AnnotationState
state of identification, use getIDState() to query it
Definition: BaseFeature.h:70
OpenMS::FeatureMap::protein_identifications_
std::vector< ProteinIdentification > protein_identifications_
protein identifications
Definition: FeatureMap.h:313
Types.h
ExperimentalDesignFile.h
OpenMS::ConsensusMap::updateRanges
void updateRanges() override
Updates minimum and maximum position/intensity.
DocumentIdentifier.h
OpenMS::FeatureMap::Iterator
Base::iterator Iterator
Definition: FeatureMap.h:143
OpenMS::FeatureMap::sortByIntensity
void sortByIntensity(bool reverse=false)
Sorts the peaks according to ascending intensity.
OpenMS::ExperimentalDesign::getFractionToMSFilesMapping
std::map< unsigned int, std::vector< String > > getFractionToMSFilesMapping() const
return fraction index to file paths (ordered by fraction_group)
OpenMS::String
A more convenient string class.
Definition: String.h:59
Feature.h
OpenMS::MSExperiment
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
OpenMS::FileTypes::CONSENSUSXML
OpenMS consensus map format (.consensusXML)
Definition: FileTypes.h:67
OpenMS::UniqueIdInterface
A base class defining a common interface for all classes having a unique id.
Definition: UniqueIdInterface.h:51
OpenMS::Size
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
FeatureGroupingAlgorithmUnlabeled.h
FeatureXMLFile.h
OpenMS::FeatureMap::FeatureType
Feature FeatureType
Definition: FeatureMap.h:140
FeatureGroupingAlgorithmLabeled.h
OpenMS::FeatureMap::getPrimaryMSRunPath
void getPrimaryMSRunPath(StringList &toFill) const
get the file path to the first MS run
OpenMS::FeatureMap::setPrimaryMSRunPath
void setPrimaryMSRunPath(const StringList &s)
set the file path to the primary MS run (usually the mzML file obtained after data conversion from ra...
OpenMS::FeatureMap::sortByMZ
void sortByMZ()
Sort features by m/z position.
OpenMS::FeatureMap::setUnassignedPeptideIdentifications
void setUnassignedPeptideIdentifications(const std::vector< PeptideIdentification > &unassigned_peptide_identifications)
sets the unassigned peptide identifications
OPENMS_LOG_WARN
#define OPENMS_LOG_WARN
Macro if a warning, a piece of information which should be read by the user, should be logged.
Definition: LogStream.h:460
OpenMS::FeatureMap::applyMemberFunction
Size applyMemberFunction(Size(Type::*member_function)() const) const
The "const" variant.
Definition: FeatureMap.h:297
ListUtils.h
MapUtilities.h
OpenMS::FeatureMap::data_processing_
std::vector< DataProcessing > data_processing_
applied data processing
Definition: FeatureMap.h:319
OpenMS::FeatureMap::getAnnotationStatistics
AnnotationStatistics getAnnotationStatistics() const
FeatureLinkerBase.cpp
OpenMS::ConsensusMap::sortPeptideIdentificationsByMapIndex
void sortPeptideIdentificationsByMapIndex()
Sorts PeptideIdentifications of consensus features with respect to their map index.
OpenMS
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
OpenMS::FeatureMap::updateRanges
void updateRanges() override
Updates minimum and maximum position/intensity.
OpenMS::RangeManager
Handles the management of a position and intensity range.
Definition: RangeManager.h:47
Exception.h
OpenMS::FeatureMap::~FeatureMap
~FeatureMap() override
Destructor.
OpenMS::FileTypes::FEATUREXML
OpenMS feature file (.featureXML)
Definition: FileTypes.h:65
OpenMS::ProgressLogger
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
ProgressLogger.h
OpenMS::FeatureMap::swap
void swap(FeatureMap &from)
OpenMS::UniqueIdIndexer
A base class for random access containers for classes derived from UniqueIdInterface that adds functi...
Definition: UniqueIdIndexer.h:63
OpenMS::FeatureGroupingAlgorithm::transferSubelements
void transferSubelements(const std::vector< ConsensusMap > &maps, ConsensusMap &out) const
Transfers subelements (grouped features) from input consensus maps to the result consensus map.
OpenMS::AnnotationStatistics
Definition: FeatureMap.h:64
OpenMS::MetaInfoInterface
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition: MetaInfoInterface.h:60
OpenMS::DocumentIdentifier
Manage source document information.
Definition: DocumentIdentifier.h:55
OpenMS::ConsensusMap::getProteinIdentifications
const std::vector< ProteinIdentification > & getProteinIdentifications() const
non-mutable access to the protein identifications
OpenMS::FeatureMap::setDataProcessing
void setDataProcessing(const std::vector< DataProcessing > &processing_method)
sets the description of the applied data processing
OpenMS::FeatureXMLFile::loadSize
Size loadSize(const String &filename)
OpenMS::ConsensusMap::setColumnHeaders
void setColumnHeaders(const ColumnHeaders &column_description)
Mutable access to the file descriptions.
BaseFeature.h
OpenMS::FeatureMap::ConstReverseIterator
Base::const_reverse_iterator ConstReverseIterator
Definition: FeatureMap.h:146
OpenMS::FeatureXMLFile::load
void load(const String &filename, FeatureMap &feature_map)
loads the file with name filename into map and calls updateRanges().
UniqueIdIndexer.h
OpenMS::FileTypes::Type
Type
Actual file types enum.
Definition: FileTypes.h:58
OpenMS::FeatureMap::ReverseIterator
Base::reverse_iterator ReverseIterator
Definition: FeatureMap.h:145
OpenMS::FileHandler::getType
static FileTypes::Type getType(const String &filename)
Tries to determine the file type (by name or content)
OpenMS::UniqueIdInterface::setUniqueId
Size setUniqueId()
Assigns a new, valid unique id. Always returns 1.
Definition: UniqueIdInterface.h:146
OpenMS::ConsensusMap::getUnassignedPeptideIdentifications
const std::vector< PeptideIdentification > & getUnassignedPeptideIdentifications() const
non-mutable access to the unassigned peptide identifications
OpenMS::FeatureGroupingAlgorithmUnlabeled::setReference
void setReference(int map_id, const MapType &map)
Sets the reference map for the algorithm.
Definition: FeatureGroupingAlgorithmUnlabeled.h:79
OpenMS::DefaultParamHandler::setParameters
void setParameters(const Param &param)
Sets the parameters.
OpenMS::FeatureMap::applyMemberFunction
Size applyMemberFunction(Size(Type::*member_function)())
Applies a member function of Type to the container itself and all features (including subordinates)....
Definition: FeatureMap.h:284
OpenMS::DefaultParamHandler::getParameters
const Param & getParameters() const
Non-mutable access to the parameters.
OpenMS::DataProcessing::FEATURE_GROUPING
Feature grouping
Definition: DataProcessing.h:73
RangeManager.h
OpenMS::FeatureMap::Base
std::vector< FeatureType > Base
Definition: FeatureMap.h:142
OpenMS::operator<<
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
OpenMS::ConsensusMap
A container for consensus elements.
Definition: ConsensusMap.h:80
OpenMS::FeatureMap::getUnassignedPeptideIdentifications
const std::vector< PeptideIdentification > & getUnassignedPeptideIdentifications() const
non-mutable access to the unassigned peptide identifications
OpenMS::StringList
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
OpenMS::FeatureMap::privvec
std::vector< Feature > privvec
Definition: FeatureMap.h:110
OpenMS::ExperimentalDesign::getNumberOfFractions
unsigned getNumberOfFractions() const
FeatureGroupingAlgorithm.h
OpenMS::FeatureMap::ConstReference
const typedef FeatureType & ConstReference
Definition: FeatureMap.h:148
OpenMS::FeatureMap::setProteinIdentifications
void setProteinIdentifications(const std::vector< ProteinIdentification > &protein_identifications)
sets the protein identifications
main
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
ExperimentalDesign.h
OpenMS::FeatureGroupingAlgorithm::group
virtual void group(const std::vector< FeatureMap > &maps, ConsensusMap &out)=0
Applies the algorithm. The features in the input maps are grouped and the output is written to the co...
OpenMS::FeatureMap::Reference
FeatureType & Reference
Definition: FeatureMap.h:147
MSExperiment.h
OpenMS::ConsensusMap::getColumnHeaders
const ColumnHeaders & getColumnHeaders() const
Non-mutable access to the file descriptions.
OpenMS::FeatureFileOptions::setLoadSubordinates
void setLoadSubordinates(bool sub)
OpenMS::FeatureMap
A container for features.
Definition: FeatureMap.h:97
OpenMS::PeptideIdentification
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:62
OpenMS::Internal::operator==
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
OpenMS::Feature
An LC-MS feature.
Definition: Feature.h:70
FeatureGroupingAlgorithmQT.h
OpenMS::FeatureMap::sortByRT
void sortByRT()
Sort features by RT position.
OpenMS::FeatureXMLFile
This class provides Input/Output functionality for feature maps.
Definition: FeatureXMLFile.h:68
MetaInfoInterface.h
OpenMS::ConsensusMap::sortByMZ
void sortByMZ()
Sorts the peaks to m/z position.
OpenMS::FeatureMap::FeatureMap
FeatureMap()
Default constructor.
OpenMS::FeatureMap::unassigned_peptide_identifications_
std::vector< PeptideIdentification > unassigned_peptide_identifications_
peptide identifications not matched to a specific feature
Definition: FeatureMap.h:316
OpenMS::FeatureMap::sortByOverallQuality
void sortByOverallQuality(bool reverse=false)
Sort features by ascending overall quality.
OpenMS::Param
Management and storage of parameters / INI files.
Definition: Param.h:73
OpenMS::FeatureMap::operator+
FeatureMap operator+(const FeatureMap &rhs) const
Joins two feature maps.
OpenMS::FeatureMap::operator==
bool operator==(const FeatureMap &rhs) const
Equality operator.
OpenMS::MapUtilities
Utilities for Feature and ConsensusMap.
Definition: MapUtilities.h:49
OPENMS_LOG_INFO
#define OPENMS_LOG_INFO
Macro if a information, e.g. a status should be reported.
Definition: LogStream.h:465
OpenMS::FeatureMap::ConstIterator
Base::const_iterator ConstIterator
Definition: FeatureMap.h:144
OpenMS::FeatureFileOptions::setLoadConvexHull
void setLoadConvexHull(bool convex)
OpenMS::FeatureMap::operator!=
bool operator!=(const FeatureMap &rhs) const
Equality operator.
OpenMS::FeatureGroupingAlgorithmUnlabeled::addToGroup
void addToGroup(int map_id, const FeatureMap &feature_map)
Adds one map to the group.
OpenMS::FeatureGroupingAlgorithmKD
A feature grouping algorithm for unlabeled data.
Definition: FeatureGroupingAlgorithmKD.h:178
OpenMS::FeatureMap::getDataProcessing
const std::vector< DataProcessing > & getDataProcessing() const
returns a const reference to the description of the applied data processing
OpenMS::FeatureMap::sortByPosition
void sortByPosition()
Sort features by position. Lexicographical comparison (first RT then m/z) is done.
OpenMS::UniqueIdInterface::getUniqueId
UInt64 getUniqueId() const
Non-mutable access to unique id - returns the unique id.
Definition: UniqueIdInterface.h:105
OpenMS::FeatureMap::operator=
FeatureMap & operator=(const FeatureMap &rhs)
Assignment operator.
OpenMS::FeatureXMLFile::getOptions
FeatureFileOptions & getOptions()
Mutable access to the options for loading/storing.
TOPPBase.h
OpenMS::ConsensusMap::setPrimaryMSRunPath
void setPrimaryMSRunPath(const StringList &s)
set the file paths to the primary MS run (stored in ColumnHeaders)
OpenMS::FeatureMap::clear
void clear(bool clear_meta_data=true)
Clears all data and meta data.
OpenMS::ExperimentalDesign::sameNrOfMSFilesPerFraction
bool sameNrOfMSFilesPerFraction() const
OpenMS::FeatureMap::getProteinIdentifications
const std::vector< ProteinIdentification > & getProteinIdentifications() const
non-mutable access to the protein identifications
OpenMS::ConsensusXMLFile
This class provides Input functionality for ConsensusMaps and Output functionality for alignments and...
Definition: ConsensusXMLFile.h:62
OpenMS::FeatureGroupingAlgorithmUnlabeled
A map feature grouping algorithm for unlabeled data.
Definition: FeatureGroupingAlgorithmUnlabeled.h:61
OpenMS::FeatureGroupingAlgorithmUnlabeled::getResultMap
ConsensusMap & getResultMap()
Returns the computed consensus map (after calling addToGroup with all maps)
Definition: FeatureGroupingAlgorithmUnlabeled.h:87
OpenMS::ProgressLogger::CMD
Command line progress.
Definition: ProgressLogger.h:72
OpenMS::AnnotationStatistics::states
std::vector< Size > states
count each state, indexing by BaseFeature::AnnotationState
Definition: FeatureMap.h:66