mzx package¶
Submodules¶
mzx.cli module¶
mzx.docker module¶
mzx.gui module¶
- class mzx.gui.ConverterThread(params: TConfig, parent: QWidget | None = None)[source]¶
Bases:
QThread- finished¶
- staticMetaObject = PySide6.QtCore.QMetaObject("ConverterThread" inherits "QThread": )¶
mzx.types module¶
- class mzx.types.TConfig[source]¶
Bases:
TypedDict- debug: bool¶
- index: bool¶
- infile: str¶
- lockmass: bool | None¶
- lockmass_disabled: bool | None¶
- lockmass_function_exclude: int | None¶
- lockmass_tolerance: float | None¶
- neg_lockmass: float | None¶
- outfile: str | None¶
- overwrite: bool¶
- peak_picking: Literal['off', 'all', 'msms', 'ms1']¶
- pos_lockmass: float | None¶
- remove_zeros: bool¶
- sortbyscan: bool¶
- type: Literal['mzml']¶
- vendor: Literal['Agilent', 'bruker', 'Thermo', 'waters', 'unspecified']¶
- verbose: bool¶
mzx.vendor module¶
Module contents¶
- mzx.convert_raw_file(params: TConfig) str[source]¶
Convert the raw file to mzML format based on the vendor.
- mzx.exclusion_string(x: int) str[source]¶
Return a string representing “all positive integers except x,” using “start-end” ranges. By convention, “N-” means “N through ∞.”
- Examples:
exclude 5 → “1-4 6-” exclude 1 → “2-” exclude 2 → “1 3-” exclude 3 → “1-2 4-”