MzIdentMLFile#

class pyopenms.MzIdentMLFile#

Bases: XMLFile

File adapter for MzIdentML files

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

Methods

__init__()

endProgress([bytes_processed])

Ends the progress display

getLogType()

Returns the type of progress log being used

getVersion()

Return the version of the schema

isSemanticallyValid(filename)

Checks if a file is valid with respect to the mapping file and the controlled vocabulary

load(filename[, protein_ids, peptide_ids])

Load identifications from an mzIdentML file.

nextProgress()

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

setLogType(type)

Sets the progress log that should be used.

setProgress(value)

Sets the current progress

startProgress(begin, end, label)

store(filename, protein_ids, peptide_ids)

Store identifications to an mzIdentML file.

endProgress(bytes_processed: int = 0) → None#

Ends the progress display

getLogType() → pyopenms.ProgressLogger.LogType#

Returns the type of progress log being used

getVersion() → str#

Return the version of the schema

isSemanticallyValid(filename: str) → tuple#

Checks if a file is valid with respect to the mapping file and the controlled vocabulary

Parameters:

filename – File name of the file to be checked

Returns:

Tuple of (is_valid, errors, warnings)

Raises:

Exception: FileNotFound is thrown if the file could not be opened

load(filename, protein_ids=None, peptide_ids=None)#

Load identifications from an mzIdentML file.

nextProgress() → None#

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

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

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

setProgress(value: int) → None#

Sets the current progress

startProgress(begin: int, end: int, label: str) → None#
store(filename, protein_ids, peptide_ids)#

Store identifications to an mzIdentML file.