mzx package

Submodules

mzx.cli module

mzx.cli.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.