35#include "../../massspectrum/qualifiedmassspectrum.h"
36#include "../specglob/experimentalspectrum.h"
37#include "../../amino_acid/aacode.h"
41namespace specpeptidoms
109 void addAaPosition(uint8_t aa,
110 const std::size_t r_peak,
111 const std::size_t l_peak,
112 const std::size_t next_l_peak,
119 std::vector<AaPosition> &getAaPositions(
const Aa &aa)
const;
125 std::vector<AaPosition> getAaPositions(
const Aa &aa,
126 std::vector<std::size_t> peaks_to_remove)
const;
131 std::vector<double> getMassList()
const;
142 uint getPrecursorCharge()
const;
147 double getMissingMass(std::size_t peak)
const;
154 double getMZShift(std::size_t l_peak, std::size_t r_peak)
const;
156 std::size_t getComplementaryPeak(std::size_t peak)
const;
172 void preprocessSpectrum();
177 void removeUnsupportedMasses();
182 uint32_t computeCondition(
const std::size_t l_peak,
183 bool l_support)
const;
188 void addSupportedPeak(std::size_t peak);
193 void correctPeakIndexes();
198 void fillComplementaryPeakIndexes();
collection of integer code for each amino acid 0 => null 1 to 20 => amino acid sorted by there mass (...
Class representing a fully specified mass spectrum.
std::vector< std::size_t > m_complementary_peak_indexes
std::vector< std::shared_ptr< std::vector< uint8_t > > > m_supported_peaks
double m_precursor_mass_error
pappso::PrecisionPtr m_precision_ptr
pappso::QualifiedMassSpectrum m_qualifiedMassSpectrum
std::vector< std::shared_ptr< std::vector< AaPosition > > > m_aapositions
std::vector< int > m_reindexed_peaks
const pappso::AaCode & m_aaCode
ExperimentalSpectrumDataPointType
std::shared_ptr< const SpOMSSpectrum > SpOMSSpectrumCsp
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...