81 void getTag(
const std::vector<double>& mzs, std::vector<std::string>& tags)
const;
118 void getTag_(std::string& tag,
const std::vector<double>& mzs,
const size_t i, std::vector<std::string>& tags,
const size_t charge)
const;
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
Calculate sequence tags from m/z values.
Definition: Tagger.h:53
size_t min_tag_length_
minimum tag length
Definition: Tagger.h:109
double max_gap_
will be set to highest residue mass in ResidueDB
Definition: Tagger.h:107
void getTag(const std::vector< double > &mzs, std::vector< std::string > &tags) const
Generate tags from mass vector mzs.
size_t min_charge_
minimal fragment charge
Definition: Tagger.h:111
char getAAByMass_(double m) const
get a residue one letter code by matching the mass m to the map of residues mass2aa_,...
double min_gap_
will be set to smallest residue mass in ResidueDB
Definition: Tagger.h:106
void getTag(const MSSpectrum &spec, std::vector< std::string > &tags) const
Generate tags from an MSSpectrum.
void getTag_(std::string &tag, const std::vector< double > &mzs, const size_t i, std::vector< std::string > &tags, const size_t charge) const
start searching for tags starting from peak i of the mz vector mzs
void setMaxCharge(size_t max_charge)
Change the maximal charge considered by the tagger.
size_t max_charge_
maximal fragment charge
Definition: Tagger.h:112
Tagger(size_t min_tag_length, double ppm, size_t max_tag_length=65535, size_t min_charge=1, size_t max_charge=1, const StringList &fixed_mods=StringList(), const StringList &var_mods=StringList())
Constructor for Tagger.
size_t max_tag_length_
maximum tag length
Definition: Tagger.h:110
double ppm_
tolerance
Definition: Tagger.h:108
std::map< double, char > mass2aa_
mapping of residue masses to their one letter codes
Definition: Tagger.h:113
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47