102 std::vector<double> & n_term_intensities, std::vector<double> & c_term_intensities,
FragmentationType type);
Representation of a peptide/protein sequence.
Definition: AASequence.h:86
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
A proton distribution model to calculate the proton distribution over charged peptides.
Definition: ProtonDistributionModel.h:46
ProtonDistributionModel(const ProtonDistributionModel &model)
copy constructor
double E_n_term_
Definition: ProtonDistributionModel.h:144
std::vector< double > bb_charge_ion_n_term_
Definition: ProtonDistributionModel.h:139
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:70
@ ChargeRemote
Definition: ProtonDistributionModel.h:72
std::vector< double > bb_charge_ion_c_term_
Definition: ProtonDistributionModel.h:141
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:142
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:136
std::vector< double > sc_charge_ion_c_term_
Definition: ProtonDistributionModel.h:140
double E_c_term_
Definition: ProtonDistributionModel.h:143
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:137
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:135
void calculateProtonDistributionIonPair_(const AASequence &peptide, Residue::ResidueType type, Size cleavage_site)
std::vector< double > sc_charge_ion_n_term_
Definition: ProtonDistributionModel.h:138
std::vector< double > sc_charge_
Definition: ProtonDistributionModel.h:134
ResidueType
Definition: Residue.h:126
@ YIon
MS:1001220 peptide bond up to the C-terminus.
Definition: Residue.h:135
int Int
Signed integer type.
Definition: Types.h:76
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:101
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22