mzx package

Submodules

mzx.cli module

mzx.cli.main()[source]

mzx.gui module

class mzx.gui.ConverterThread(path, peakpicking, removezeros, emit_fn, parent=None)[source]

Bases: QThread

options() str[source]
run()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("ConverterThread" inherits "QThread": )
class mzx.gui.MainWindow[source]

Bases: QMainWindow

closeEvent(event)[source]
convert(path: str) None[source]
dragEnterEvent(event: QDropEvent) None[source]
dragLeaveEvent(_event: QDragLeaveEvent) None[source]
dropEvent(event: QDropEvent) None[source]
initUI()[source]
show_popup(message: str) QMessageBox[source]
staticMetaObject = PySide6.QtCore.QMetaObject("MainWindow" inherits "QMainWindow": )
mzx.gui.main()[source]

Module contents

mzx.convert_raw_file(file, vendor)[source]

Convert the raw file to mzML format based on the vendor.

mzx.format_function_number(s)[source]
mzx.get_vendor(file)[source]

Determine the vendor of the file. Currently only supports Thermo and Agilent. Returns the vendor name. If the vendor is not supported, returns None.

mzx.modify_waters_scan_header(line)[source]

Modify the Waters scan header line.

mzx.msconvert(file, outfile=None, type='mzml', index=True, sortbyscan=False, peak_picking=True, remove_zeros=True)[source]

Converts the given file to the mzML format using the msconvert tool.

mzx.process_waters_scan_headers(file_path)[source]

Process the Waters scan headers in the given file.

mzx.run_cmd(cmd)[source]

Run a command and return the output.

mzx.waters_convert(file)[source]

Convert Waters raw file to mzML format.