Skip to main content

Parser to extract meta information from mzML mass spectrometry files and parse relevant information to a ISA-Tab structure

Version Py versions Git Bioconda Build Status License RTD doc DOI

Overview

mzml2isa is a Python3 program that can automatically generate ISA-Tab document structure metadata files from raw XML metabolomics data files (mzML open access data format). The mzml2ISA tool provides the backbone of ISA-Tab metabolomics study which can then be edited with an ISA editing tool, ISAcreator (see MetaboLights pre-packaged ISA Creator)

Currently the program does the following:
  • Extract meta information from mzML files and stores it as either python dictionary or JSON format

  • Creates an ISA-Tab file structure with relevant meta information filled in.

  • Add additional metadata that cannot be parsed from mzML files to the ISA-Tab files through a JSON formatted dictionnary.

Install

See the Installation page of the online documentation.

Usage

CLI

mzml2isa -i /path/to/mzml_files/ -o /path/to/out_folder/ -s name_of_study

Python Module

See the Usage page and the Examples page for more information.

Metabolights

To download some real data from MetaboLights studies to test the converter with, run

python scripts/metabolights-dl.py <size>

from inside the repository, where size is the maximum size in GiB you can allocate to download files. The script will download the files to the example_files/metabolights folder and then run mzml2isa on those files..

If you use a *NIX machine with curlftpfs and bash available, you can also run

scripts/metabolights.sh

to mount the database to the example directory and start converting mzML studies.

Workflow

workflow

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mzml2isa-0.4.26.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mzml2isa-0.4.26-py3-none-any.whl (150.9 kB view details)

Uploaded Python 3

File details

Details for the file mzml2isa-0.4.26.tar.gz.

File metadata

  • Download URL: mzml2isa-0.4.26.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mzml2isa-0.4.26.tar.gz
Algorithm Hash digest
SHA256 345d77ba87fdb9517654b0edf4b0b58f0f8eb45714d8bf83ced8cbb4379b59b3
MD5 14d7848a6015110a085408d32e0abb56
BLAKE2b-256 d8defc065981d66131950393b155cfd9bb264b1799f1cc488f5ba1f4cfcb2dde

See more details on using hashes here.

File details

Details for the file mzml2isa-0.4.26-py3-none-any.whl.

File metadata

File hashes

Hashes for mzml2isa-0.4.26-py3-none-any.whl
Algorithm Hash digest
SHA256 fe15ea43d0778c40a38b7e861610573cb153f11b26ba5d4a634141b88eabf978
MD5 fc0a1172ce4e381ffe2990143808e42a
BLAKE2b-256 c00149d66b1b2c17bfce0bbf1c4d151bba282ca2ccdffa85088092c42d1f3635

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page