MetaboliteSpectralMatching#
- class pyopenms.MetaboliteSpectralMatching#
Bases:
DefaultParamHandlerOpenMS class MetaboliteSpectralMatching
- __init__() None#
- __init__(arg: pyopenms.MetaboliteSpectralMatching, /) None
Methods
__init__()computeHyperScore(fragment_mass_error, ...)computeHyperScoreWithAnnotations(...[, ...])computeMVHScore(fragment_mass_error, ...[, ...])computeMVHScoreWithAnnotations(...[, ...])endProgress([bytes_processed])Ends the progress display
Returns the default parameters
Returns the type of progress log being used
getName()Returns the name
Returns the parameters
Increment progress by 1 (according to range begin-end)
run(msexp, spec_db, mztab_out)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)- static computeHyperScore(fragment_mass_error: float, fragment_mass_tolerance_unit_ppm: bool, exp_spectrum: pyopenms.MSSpectrum, db_spectrum: pyopenms.MSSpectrum, mz_lower_bound: float = 0.0, use_mass_accuracy: bool = False) float#
- static computeHyperScoreWithAnnotations(fragment_mass_error: float, fragment_mass_tolerance_unit_ppm: bool, exp_spectrum: pyopenms.MSSpectrum, db_spectrum: pyopenms.MSSpectrum, mz_lower_bound: float = 0.0, use_mass_accuracy: bool = False) tuple#
- static computeMVHScore(fragment_mass_error: float, fragment_mass_tolerance_unit_ppm: bool, exp_spectrum: pyopenms.MSSpectrum, db_spectrum: pyopenms.MSSpectrum, num_intensity_classes: int = 3, tic_fraction: float = 0.98, mz_lower_bound: float = 0.0, use_mass_accuracy: bool = True, single_peak_credit: bool = True) float#
- static computeMVHScoreWithAnnotations(fragment_mass_error: float, fragment_mass_tolerance_unit_ppm: bool, exp_spectrum: pyopenms.MSSpectrum, db_spectrum: pyopenms.MSSpectrum, num_intensity_classes: int = 3, tic_fraction: float = 0.98, mz_lower_bound: float = 0.0, use_mass_accuracy: bool = True, single_peak_credit: bool = True) tuple#
- endProgress(bytes_processed: int = 0) None#
Ends the progress display
- getDefaults() pyopenms.Param#
Returns the default parameters
- getLogType() pyopenms.ProgressLogger.LogType#
Returns the type of progress log being used
- getName() str#
Returns the name
- getParameters() pyopenms.Param#
Returns the parameters
- getSubsections() list[str]#
- nextProgress() None#
Increment progress by 1 (according to range begin-end)
- run(msexp: pyopenms.MSExperiment, spec_db: pyopenms.MSExperiment, mztab_out: pyopenms.MzTab) str#
- 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#