Skip to main content

Version Py versions Git Build Status License RTD doc DOI

Overview

nmrml2isa is a Python3 program that can be used to generate an ISA-Tab structured investigation out of nmrML files, providing the backbone of a study that can then be edited with an ISA editing tool (see MetaboLights pre-packaged ISA Creator)

Install

See the Installation page of the online documentation.

Use

See the Usage page and the Examples page for more detailed descriptions of usage and examples.

CLI

The parser comes with a simple one-liner:

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

Module

It possible to import nmrml2isa as a Python module:

from nmrml2isa import parsing

in_dir = "/path/to/nmrml_files/"
out_dir = "/path/to/out_folder/"
study_identifier_name = "name_of_study"

parsing.full_parse(in_dir, out_dir, study_identifier_name)

Meta extraction

If you just want to extract the meta information without writing them in ISA-Tab files, it is possible to do so either by running the nmrml2isa.nmrml module as main:

python -m nmrml2isa.nmrml /path/to/your/file.nmrML
# this will produce a JSON dict of all extracted metadata

Or within a python program with the nmrml submodule:

from nmrml2isa import nmrml

nmrml_path = "/path/to/file.nmrML"
nmrml_meta = nmrml.nmrMLmeta(nmrml_path)

# python dictionnary
print(nmrml_meta.meta)

# json dictionnary
print(nmrml_meta.meta_json)

Download files

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

Source Distributions

nmrml2isa-0.2.3.zip (59.7 kB view details)

Uploaded Source

nmrml2isa-0.2.3.tar.gz (53.3 kB view details)

Uploaded Source

nmrml2isa-0.2.3.tar.bz2 (43.0 kB view details)

Uploaded Source

Built Distribution

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

nmrml2isa-0.2.3-py3-none-any.whl (57.3 kB view details)

Uploaded Python 3

File details

Details for the file nmrml2isa-0.2.3.zip.

File metadata

  • Download URL: nmrml2isa-0.2.3.zip
  • Upload date:
  • Size: 59.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nmrml2isa-0.2.3.zip
Algorithm Hash digest
SHA256 fb6a90a4e67dce400ec8375544bc2c3338c6866061105a8ae43ca8e96381739b
MD5 7438f09d9f0e7e50bb7cff558aaf2b8e
BLAKE2b-256 640c575dad5c986bc9fed3c2fa72f64f59fcaf46cc4c33cb86456f1bbbda1362

See more details on using hashes here.

File details

Details for the file nmrml2isa-0.2.3.tar.gz.

File metadata

  • Download URL: nmrml2isa-0.2.3.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nmrml2isa-0.2.3.tar.gz
Algorithm Hash digest
SHA256 2d284b51f03a16b69dd3073b922a44955bd18cc5bc074b8e059664dc14313328
MD5 08d3ca1114ca280df635d8c3ce7db804
BLAKE2b-256 d8c00f4bba7cc18bfa342e97c5e81ec7d0c9cc342f26e6880849d2ff21126ec8

See more details on using hashes here.

File details

Details for the file nmrml2isa-0.2.3.tar.bz2.

File metadata

  • Download URL: nmrml2isa-0.2.3.tar.bz2
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nmrml2isa-0.2.3.tar.bz2
Algorithm Hash digest
SHA256 579289691ea38f88aa5eb1780429ae81190bec2444c52069c801007c315ba079
MD5 a05098c0ed800b1af240abeb5619568e
BLAKE2b-256 76ec3c98062d11c40b14ae2c0553155c6f037d412d8130a46ef057dc595717b1

See more details on using hashes here.

File details

Details for the file nmrml2isa-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nmrml2isa-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8222d32bce9645e71fe1f9489640abd61f186bb5acd306f75a0459a0e81e13be
MD5 f3e8b49e45536b6843890c92b0899b24
BLAKE2b-256 619f7990419864bc09cecd1b2ba2c6b30b07ef79a4ef75576a60de14a51e3369

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 Sentry Error logging StatusPage Status page