TheoreticalGlycanSpectrumGenerator#
- class pyopenms.TheoreticalGlycanSpectrumGenerator#
Bases:
objectDiagnostic, composition, structural and localized glycopeptide fragment generation
- __init__() None#
- __init__(arg: pyopenms.TheoreticalGlycanSpectrumGenerator, /) None
- __init__(arg: pyopenms.TheoreticalGlycanSpectrumGenerator.Options, /) None
Methods
__init__()get_fragments(composition)get_glycopeptide_fragments(peptide, ...)set_options(options)to_spectrum(fragments)- class Fragment#
Bases:
object- property attachment_position: int | None#
- property attachment_residue: str#
- property branch_cleavages: list[int]#
- property charge: int#
- property composition: pyopenms.GlycanComposition#
- get_annotation() str#
- get_mz() float#
- property ion_type: pyopenms.TheoreticalGlycanSpectrumGenerator.IonType#
- property name: str#
- property neutral_mass: float#
- property root_cleavage: int | None#
- class FragmentationMethod(*values)#
Bases:
Enum- ETD = 1#
- ETHCD = 2#
- HCD = 0#
- getMapping()#
Returns a dict mapping int values to enum member name strings.
- class IonType(*values)#
Bases:
Enum- B = 1#
- C = 2#
- DIAGNOSTIC = 0#
- PEPTIDE = 5#
- Y = 3#
- Z = 4#
- getMapping()#
Returns a dict mapping int values to enum member name strings.
- class Options#
Bases:
object- property add_b_ions: bool#
- property add_c_ions: bool#
- property add_diagnostic_ions: bool#
- property add_internal_fragments: bool#
- property add_y_ions: bool#
- property add_z_ions: bool#
- property allow_structural: bool#
- property max_charge: int#
- property max_cleavages: int#
- property max_composition_size: int#
- property max_fragments: int#
- property max_oxonium_charge: int#
- property max_states: int#
- property min_charge: int#
- property min_composition_size: int#
- property min_oxonium_charge: int#
- property neutral_losses: list[pyopenms.EmpiricalFormula]#
- property peptide_retention: dict[str, pyopenms.TheoreticalGlycanSpectrumGenerator.PeptideRetention]#
- property specific_neutral_losses: dict[str, list[pyopenms.EmpiricalFormula]]#
- class PeptideRetention#
Bases:
object- property intact: bool#
- property stripped: bool#
- property stubs: list[pyopenms.GlycanComposition]#
- get_fragments(composition: pyopenms.GlycanComposition) list[pyopenms.TheoreticalGlycanSpectrumGenerator.Fragment]#
- get_fragments(structure: pyopenms.GlycanStructure) list[pyopenms.TheoreticalGlycanSpectrumGenerator.Fragment]
- get_glycopeptide_fragments(peptide: pyopenms.AASequence, composition: pyopenms.GlycanComposition, attachment_position: int, method: pyopenms.TheoreticalGlycanSpectrumGenerator.FragmentationMethod) list[pyopenms.TheoreticalGlycanSpectrumGenerator.Fragment]#
- get_glycopeptide_fragments(peptide: pyopenms.AASequence, structure: pyopenms.GlycanStructure, attachment_position: int, method: pyopenms.TheoreticalGlycanSpectrumGenerator.FragmentationMethod) list[pyopenms.TheoreticalGlycanSpectrumGenerator.Fragment]
- get_options() pyopenms.TheoreticalGlycanSpectrumGenerator.Options#
- set_options(options: pyopenms.TheoreticalGlycanSpectrumGenerator.Options) None#
- static to_spectrum(fragments: collections.abc.Sequence[pyopenms.TheoreticalGlycanSpectrumGenerator.Fragment]) pyopenms.MSSpectrum#