FLASHDeconvAlgorithm#

class pyopenms.FLASHDeconvAlgorithm#

Bases: DefaultParamHandler

FLASHDeconv algorithm: ultrafast mass deconvolution algorithm for top down mass spectrometry dataset. From MSSpectrum, this class outputs DeconvolvedSpectrum. Deconvolution takes three steps: 1) decharging and select candidate masses - speed up via binning 2) collecting isotopes from the candidate masses and deisotoping - peak groups are defined here 3) scoring and filter out low scoring masses (i.e., peak groups) Constructors

__init__() → None#
__init__(arg: pyopenms.FLASHDeconvAlgorithm, /) → None

Methods

__init__()

endProgress([bytes_processed])

Ends the progress display

getAveragine()

Get calculated averagine.

getDecoyAveragine()

Get calculated decoy averagine.

getDefaults()

Returns the default parameters

getLogType()

Returns the type of progress log being used

getName()

Returns the name

getNoiseDecoyWeight()

Get the noise decoy weight determined during q-value calculation.

getParameters()

Returns the parameters

getScanNumber(map, index)

Get the scan number of the index-th spectrum in map.

getSubsections()

getTolerances()

Get mass tolerances per MS level.

nextProgress()

Increment progress by 1 (according to range begin-end)

run(map)

Run FLASHDeconv algorithm for input_map and store deconvolved_spectra and deconvolved_features.

setLogType(type)

Sets the progress log that should be used.

setName(name)

Sets the name

setParameters(param)

Sets the parameters

setProgress(value)

Sets the current progress

startProgress(begin, end, label)

endProgress(bytes_processed: int = 0) → None#

Ends the progress display

getAveragine() → pyopenms.PrecalAveragine#

Get calculated averagine. Call after run().

getDecoyAveragine() → pyopenms.PrecalAveragine#

Get calculated decoy averagine. Call after run().

getDefaults() → pyopenms.Param#

Returns the default parameters

getLogType() → pyopenms.ProgressLogger.LogType#

Returns the type of progress log being used

getName() → str#

Returns the name

getNoiseDecoyWeight() → float#

Get the noise decoy weight determined during q-value calculation.

getParameters() → pyopenms.Param#

Returns the parameters

static getScanNumber(map: pyopenms.MSExperiment, index: int) → int#

Get the scan number of the index-th spectrum in map.

getSubsections() → list[str]#
getTolerances() → list[float]#

Get mass tolerances per MS level.

nextProgress() → None#

Increment progress by 1 (according to range begin-end)

run(map: pyopenms.MSExperiment) → tuple#

Run FLASHDeconv algorithm for input_map and store deconvolved_spectra and deconvolved_features.

Parameters:

map – The input MSExperiment containing spectra to deconvolve

Returns:

Tuple of (deconvolved_spectra, deconvolved_features)

setLogType(type: pyopenms.ProgressLogger.LogType) → None#

Sets the progress log that should be used. The default type is NONE!

setName(name: str) → None#

Sets the name

setParameters(param: pyopenms.Param) → None#

Sets the parameters

setProgress(value: int) → None#

Sets the current progress

startProgress(begin: int, end: int, label: str) → None#