A proton distribution model to calculate the proton distribution over charged peptides.
More...
|
ProtonDistributionModel & | operator= (const ProtonDistributionModel &pdm) |
| assignment operator More...
|
|
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 More...
|
|
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 More...
|
|
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_ method and need to be recalculated each time if not given More...
|
|
|
| ProtonDistributionModel () |
| default constructor More...
|
|
| ProtonDistributionModel (const ProtonDistributionModel &model) |
| copy constructor More...
|
|
| ~ProtonDistributionModel () override |
| destructor More...
|
|
Public Member Functions inherited from DefaultParamHandler |
| DefaultParamHandler (const String &name) |
| Constructor with name that is displayed in error messages. More...
|
|
| DefaultParamHandler (const DefaultParamHandler &rhs) |
| Copy constructor. More...
|
|
virtual | ~DefaultParamHandler () |
| Destructor. More...
|
|
virtual DefaultParamHandler & | operator= (const DefaultParamHandler &rhs) |
| Assignment operator. More...
|
|
virtual bool | operator== (const DefaultParamHandler &rhs) const |
| Equality operator. More...
|
|
void | setParameters (const Param ¶m) |
| Sets the parameters. More...
|
|
const Param & | getParameters () const |
| Non-mutable access to the parameters. More...
|
|
const Param & | getDefaults () const |
| Non-mutable access to the default parameters. More...
|
|
const String & | getName () const |
| Non-mutable access to the name. More...
|
|
void | setName (const String &name) |
| Mutable access to the name. More...
|
|
const std::vector< String > & | getSubsections () const |
| Non-mutable access to the registered subsections. More...
|
|
|
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 | calculateProtonDistributionCharge1_ (const AASequence &peptide, Residue::ResidueType res_type) |
|
void | calculateProtonDistributionCharge2_ (const AASequence &peptide, Residue::ResidueType res_type, bool fixed_proton, Size cleavage_site, bool use_most_basic_site) |
|
void | calculateProtonDistributionGreater2_ (const AASequence &peptide, Int charge, Residue::ResidueType res_type) |
|
void | calculateProtonDistributionIonPair_ (const AASequence &peptide, Residue::ResidueType type, Size cleavage_site) |
|
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) |
|
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 | getLeftAndRightGBValues_ (const AASequence &peptide, double &left_gb, double &right_gb, Size position) |
|
Protected Member Functions inherited from DefaultParamHandler |
virtual void | updateMembers_ () |
| This method is used to update extra member variables at the end of the setParameters() method. More...
|
|
void | defaultsToParam_ () |
| Updates the parameters after the defaults have been set in the constructor. More...
|
|
A proton distribution model to calculate the proton distribution over charged peptides.
The model uses proton affinity values of backbone nitrogens and sidechains to calculate the proton distribution of charged peptide among these sites. The possible sites are the peptide bonds between the amino acids, the side chains and the C-terminus and N-terminus. The calculation is done calculating a Boltzmann distribution of the sites.
Details and the proton affinities can be found in Z. Zhang, Prediction of Low-Energy Collision-Induced Dissociation Spectra of Peptides, Anal. Chem., 76 (14), 3908 - 3922, 2004
A proton distribution can be calculated using the getProtonDistribution method. The backbone probabilities are reported in the first parameter (index 0 for the N-terminus, index 1 for the first peptide bond...), the site chain probabilities are reported in the second parameter (index 0, for the first amino acid...). The peptide and the number of protons as well as type of peptide (can be Reside::YIon for peptides and y-ions and any other ion type).
Charge state intensities of differently charged equal (e.g. y7+ and y7++) ions can be calculated using the getChargeStateIntensities function.
Parameters of this class are:
Name | Type | Default | Restrictions | Description |
gb_bb_l_NH2 |
float | 916.84 |
| Gas-phase basicity value of N-terminus |
gb_bb_r_COOH |
float | -95.82 |
| Gas-phase basicity value of C-terminus |
gb_bb_r_b-ion |
float | 36.46 |
| Gas-phase basicity value of b-ion C-terminus |
gb_bb_r_a-ion |
float | 46.85 |
| Gas-phase basicity value of a-ion C-terminus |
sigma |
float | 0.5 |
| Width of the gaussian which distributes the mobile protons over the charge states, only for z > 3. |
temperature |
float | 500 |
| Temperature term |
Note:
- If a section name is documented, the documentation is displayed as tooltip.
- Advanced parameter names are italic.