128 std::vector<double> & n_term_intensities, std::vector<double> & c_term_intensities,
FragmentationType type);
Representation of a peptide/protein sequence.
Definition: AASequence.h:112
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
A proton distribution model to calculate the proton distribution over charged peptides.
Definition: ProtonDistributionModel.h:72
ProtonDistributionModel(const ProtonDistributionModel &model)
copy constructor
double E_n_term_
Definition: ProtonDistributionModel.h:170
std::vector< double > bb_charge_ion_n_term_
Definition: ProtonDistributionModel.h:165
void calculateProtonDistributionCharge1_(const AASequence &peptide, Residue::ResidueType res_type)
void getLeftAndRightGBValues_(const AASequence &peptide, double &left_gb, double &right_gb, Size position)
FragmentationType
the type of fragmentation
Definition: ProtonDistributionModel.h:96
@ ChargeRemote
Definition: ProtonDistributionModel.h:98
std::vector< double > bb_charge_ion_c_term_
Definition: ProtonDistributionModel.h:167
void getProtonDistribution(std::vector< double > &bb_charges, std::vector< double > &sc_charges, const AASequence &peptide, Int charge, Residue::ResidueType res_type=Residue::YIon)
calculates a proton distribution of the given charged peptide
void calcChargeStateIntensities_(const AASequence &peptide, const AASequence &n_term_ion, const AASequence &c_term_ion, Int charge, Residue::ResidueType n_term_type, std::vector< double > &n_term_intensities, std::vector< double > &c_term_intensities, FragmentationType type)
double E_
Definition: ProtonDistributionModel.h:168
void calculateProtonDistributionGreater2_(const AASequence &peptide, Int charge, Residue::ResidueType res_type)
ProtonDistributionModel & operator=(const ProtonDistributionModel &pdm)
assignment operator
std::vector< double > sc_charge_full_
Definition: ProtonDistributionModel.h:162
std::vector< double > sc_charge_ion_c_term_
Definition: ProtonDistributionModel.h:166
double E_c_term_
Definition: ProtonDistributionModel.h:169
void getChargeStateIntensities(const AASequence &peptide, const AASequence &n_term_ion, const AASequence &c_term_ion, Int charge, Residue::ResidueType n_term_type, std::vector< double > &n_term_intensities, std::vector< double > &c_term_intensities, FragmentationType type)
calculates the charge state intensities of different charge states of the same ion
void calculateProtonDistribution_(const AASequence &peptide, Int charge, Residue::ResidueType res_type=Residue::YIon, bool fixed_proton=false, Size cleavage_site=0, bool use_most_basic_site=false)
void calculateProtonDistributionCharge2_(const AASequence &peptide, Residue::ResidueType res_type, bool fixed_proton, Size cleavage_site, bool use_most_basic_site)
std::vector< double > bb_charge_full_
Definition: ProtonDistributionModel.h:163
ProtonDistributionModel()
default constructor
void calcChargeStateIntensities_(const AASequence &peptide, const AASequence &n_term_ion, const AASequence &c_term_ion, Int charge, Residue::ResidueType n_term_type, double &n_term1, double &c_term1, double &n_term2, double &c_term2, FragmentationType type)
void setPeptideProtonDistribution(const std::vector< double > &bb_charge, const std::vector< double > &sc_charge)
sets the proton distributions of the whole peptide, they are needed for the getChargeStateIntensities...
~ProtonDistributionModel() override
destructor
std::vector< double > bb_charge_
Definition: ProtonDistributionModel.h:161
void calculateProtonDistributionIonPair_(const AASequence &peptide, Residue::ResidueType type, Size cleavage_site)
std::vector< double > sc_charge_ion_n_term_
Definition: ProtonDistributionModel.h:164
std::vector< double > sc_charge_
Definition: ProtonDistributionModel.h:160
ResidueType
Definition: Residue.h:152
@ YIon
MS:1001220 peptide bond up to the C-terminus.
Definition: Residue.h:161
int Int
Signed integer type.
Definition: Types.h:102
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:563