NucleicAcidSpectrumGenerator#
- class pyopenms.NucleicAcidSpectrumGenerator#
Bases:
object
Cython implementation of _NucleicAcidSpectrumGenerator
- Original C++ documentation is available here
– Inherits from [‘DefaultParamHandler’]
- __init__()#
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: NucleicAcidSpectrumGenerator) None
Methods
Overload:
getDefaults
(self)Returns the default parameters
getName
(self)Returns the name
getParameters
(self)Returns the parameters
getSpectrum
(self, spec, oligo, min_charge, ...)Generates a spectrum for a peptide sequence, with the ion types that are set in the tool parameters.
getSubsections
(self)setName
(self, in_0)Sets the name
setParameters
(self, param)Sets the parameters
- getSpectrum(self, spec: MSSpectrum, oligo: NASequence, min_charge: int, max_charge: int) None #
Generates a spectrum for a peptide sequence, with the ion types that are set in the tool parameters. If precursor_charge is set to 0 max_charge + 1 will be used
- getSubsections(self) List[bytes] #