mzx package

Submodules

mzx.cli module

mzx.cli.main()[source]

Module contents

exception mzx.RawFileConversionError[source]

Bases: Exception

exception mzx.WatersConvertException[source]

Bases: Exception

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-”

mzx.format_function_number(s)[source]
mzx.modify_waters_scan_header(line)[source]

Modify the Waters scan header line.

mzx.msconvert(params)[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(params: TConfig) str[source]

Convert Waters raw file to mzML format.