|
| TheoreticalSpectrumGeneratorXLMS & | operator= (const TheoreticalSpectrumGeneratorXLMS &tsg) |
| | assignment operator More...
|
| |
| virtual void | getCommonIonSpectrum (PeakSpectrum &spectrum, AASequence peptide, Size link_pos, bool frag_alpha, int charge=1, Size link_pos_2=0) const |
| | Generates fragment ions not containing the cross-linker for one peptide. More...
|
| |
| virtual void | getXLinkIonSpectrum (PeakSpectrum &spectrum, AASequence peptide, Size link_pos, double precursor_mass, bool frag_alpha, int mincharge, int maxcharge, Size link_pos_2=0) const |
| | Generates fragment ions containing the cross-linker for one peptide. More...
|
| |
| void | updateMembers_ () |
| | overwrite More...
|
| |
|
| | TheoreticalSpectrumGeneratorXLMS () |
| | default constructor More...
|
| |
| | TheoreticalSpectrumGeneratorXLMS (const TheoreticalSpectrumGeneratorXLMS &source) |
| | copy constructor More...
|
| |
| virtual | ~TheoreticalSpectrumGeneratorXLMS () |
| | 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...
|
| |
|
| virtual void | addCommonPeaks_ (PeakSpectrum &spectrum, DataArrays::IntegerDataArray &charges, DataArrays::StringDataArray &ion_names, AASequence peptide, Size link_pos, bool frag_alpha, Residue::ResidueType res_type, int charge=1, Size link_pos_2=0) const |
| | Adds cross-link-less ions of a specific ion type and charge to a spectrum and adds ion name and charge annotations to the DataArrays. More...
|
| |
| virtual void | addXLinkIonPeaks_ (PeakSpectrum &spectrum, DataArrays::IntegerDataArray &charges, DataArrays::StringDataArray &ion_names, AASequence peptide, Size link_pos, double precursor_mass, bool frag_alpha, Residue::ResidueType res_type, int charge, Size link_pos_2=0) const |
| | Adds cross-linked ions of a specific ion type and charge to a spectrum and adds ion name and charge annotations to the DataArrays. More...
|
| |
| void | addPeak_ (PeakSpectrum &spectrum, DataArrays::IntegerDataArray &charges, DataArrays::StringDataArray &ion_names, double pos, double intensity, Residue::ResidueType res_type, Size ion_index, int charge, String ion_type) const |
| | Adds a single peak to a spectrum and its charge and ion name to the given DataArrays. More...
|
| |
| char | residueTypeToIonLetter_ (Residue::ResidueType res_type) const |
| | helper for mapping residue type to letter More...
|
| |
Protected Member Functions inherited from DefaultParamHandler |
| void | defaultsToParam_ () |
| | Updates the parameters after the defaults have been set in the constructor. More...
|
| |
Generates theoretical spectra for cross-linked peptides.
| virtual void getCommonIonSpectrum |
( |
PeakSpectrum & |
spectrum, |
|
|
AASequence |
peptide, |
|
|
Size |
link_pos, |
|
|
bool |
frag_alpha, |
|
|
int |
charge = 1, |
|
|
Size |
link_pos_2 = 0 |
|
) |
| const |
|
virtual |
Generates fragment ions not containing the cross-linker for one peptide.
B-ions are generated from the beginning of the peptide up to the first linked position, y-ions are generated from the second linked position up the end of the peptide. If link_pos_2 is 0, a mono-link or cross-link is assumed and the second position is the same as the first position. For a loop-link two different positions can be set and link_pos_2 must be larger than link_pos. The generated ion types and other additional settings are determined by the tool parameters.
- Parameters
-
| spectrum | The spectrum to which the new peaks are added. Does not have to be empty, the generated peaks will be pushed onto it. |
| peptide | The peptide to fragment |
| link_pos | The position of the cross-linker on the given peptide |
| frag_alpha | True, if the fragmented peptide is the Alpha peptide. Used for ion-name annotation. |
| charge | The maximal charge of the ions |
| link_pos_2 | A second position for the linker, in case it is a loop link |
Referenced by TOPPOpenPepXLLF::main_(), and TOPPOpenPepXL::main_().
| virtual void getXLinkIonSpectrum |
( |
PeakSpectrum & |
spectrum, |
|
|
AASequence |
peptide, |
|
|
Size |
link_pos, |
|
|
double |
precursor_mass, |
|
|
bool |
frag_alpha, |
|
|
int |
mincharge, |
|
|
int |
maxcharge, |
|
|
Size |
link_pos_2 = 0 |
|
) |
| const |
|
virtual |
Generates fragment ions containing the cross-linker for one peptide.
B-ions are generated from the first linked position up to the end of the peptide, y-ions are generated from the beginning of the peptide up to the second linked position. If link_pos_2 is 0, a mono-link or cross-link is assumed and the second position is the same as the first position. For a loop-link two different positions can be set and link_pos_2 must be larger than link_pos. Since in the case of a cross-link a whole second peptide is attached to the other side of the cross-link, a precursor mass for the two peptides and the linker is needed. In the case of a loop link the precursor mass is the mass of the only peptide and the linker. The generated ion types and other additional settings are determined by the tool parameters.
- Parameters
-
| spectrum | The spectrum to which the new peaks are added. Does not have to be empty, the generated peaks will be pushed onto it. |
| peptide | The peptide to fragment |
| link_pos | The position of the cross-linker on the given peptide |
| precursor_mass | The mass of the whole cross-link candidate or the precursor mass of the experimental MS2 spectrum. |
| frag_alpha | True, if the fragmented peptide is the Alpha peptide. Used for ion-name annotation. |
| mincharge | The minimal charge of the ions |
| maxcharge | The maximal charge of the ions |
| link_pos_2 | A second position for the linker, in case it is a loop link |
Referenced by TOPPOpenPepXLLF::main_(), and TOPPOpenPepXL::main_().