{ "info": { "author": "Andrey Smelter", "author_email": "andrey.smelter@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: Bio-Informatics", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "mwtab\n=====\n\n.. image:: https://img.shields.io/pypi/l/mwtab.svg\n :target: https://choosealicense.com/licenses/bsd-3-clause-clear/\n :alt: License information\n\n.. image:: https://img.shields.io/pypi/v/mwtab.svg\n :target: https://pypi.org/project/mwtab\n :alt: Current library version\n\n.. image:: https://img.shields.io/pypi/pyversions/mwtab.svg\n :target: https://pypi.org/project/mwtab\n :alt: Supported Python versions\n\n.. image:: https://readthedocs.org/projects/nmrstarlib/badge/?version=latest\n :target: http://mwtab.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation status\n\n.. image:: https://api.travis-ci.org/MoseleyBioinformaticsLab/mwtab.svg?branch=master\n :target: https://travis-ci.org/MoseleyBioinformaticsLab/mwtab\n :alt: Travis CI status\n\n.. image:: https://codecov.io/gh/MoseleyBioinformaticsLab/mwtab/branch/master/graphs/badge.svg?branch=master\n :target: https://codecov.io/gh/MoseleyBioinformaticsLab/mwtab\n :alt: Code coverage information\n\n.. image:: https://img.shields.io/badge/DOI-10.1007%2Fs11306--018--1356--6-blue.svg\n :target: http://dx.doi.org/10.1007/s11306-018-1356-6\n :alt: Citation link\n\n|\n\n.. image:: https://raw.githubusercontent.com/MoseleyBioinformaticsLab/mwtab/master/docs/_static/images/mwtab_logo.png\n :width: 50%\n :align: center\n :target: http://mwtab.readthedocs.io/\n\n\nThe ``mwtab`` package is a Python library that facilitates reading and writing\nfiles in ``mwTab`` format used by the `Metabolomics Workbench`_ for archival of\nMass Spectrometry (MS) and Nuclear Magnetic Resonance (NMR) experimental data.\n\nThe ``mwtab`` package provides facilities to convert ``mwTab`` formatted files into\ntheir equivalent ``JSON`` ized representation and vice versa. ``JSON`` stands for JavaScript\nObject Notation, an open-standard format that uses human-readable text to transmit\ndata objects consisting of attribute-value pairs.\n\nThe ``mwtab`` package can be used in several ways:\n\n * As a library for accessing and manipulating data stored in ``mwTab`` format files.\n * As a command-line tool to convert between ``mwTab`` format and its equivalent\n ``JSON`` representation.\n\n\nCitation\n~~~~~~~~\n\nWhen using ``mwtab`` package in published work, please cite the following paper:\n\n * Smelter, Andrey and Hunter NB Moseley. \"A Python library for FAIRer access and\n deposition to the Metabolomics Workbench Data Repository.\"\n *Metabolomics* 2018, 14(5): 64. doi: `10.1007/s11306-018-1356-6`_.\n\n\nLinks\n~~~~~\n\n * mwtab @ GitHub_\n * mwtab @ PyPI_\n * Documentation @ ReadTheDocs_\n\n\nInstallation\n~~~~~~~~~~~~\n\nThe ``mwtab`` package runs under Python 2.7 and Python 3.4+. Use pip_ to install.\nStarting with Python 3.4, pip_ is included by default.\n\n\nInstall on Linux, Mac OS X\n--------------------------\n\n.. code:: bash\n\n python3 -m pip install mwtab\n\n\nInstall on Windows\n------------------\n\n.. code:: bash\n\n py -3 -m pip install mwtab\n\n\nUpgrade on Linux, Mac OS X\n--------------------------\n\n.. code:: bash\n\n python3 -m pip install mwtab --upgrade\n\n\nUpgrade on Windows\n------------------\n\n.. code:: bash\n\n py -3 -m pip install mwtab --upgrade\n\n\nQuickstart\n~~~~~~~~~~\n\n.. code:: python\n\n >>> import mwtab\n >>>\n >>> # Here we use ANALYSIS_ID of file to fetch data from URL\n >>> for mwfile in mwtab.read_files(\"1\", \"2\"):\n ... print(\"STUDY_ID:\", mwfile.study_id)\n ... print(\"ANALYSIS_ID:\", mwfile.analysis_id)\n ... print(\"SOURCE:\", mwfile.source)\n ... print(\"Blocks:\", list(mwfile.keys()))\n >>>\n\n\n.. image:: https://raw.githubusercontent.com/MoseleyBioinformaticsLab/mwtab/master/docs/_static/images/mwtab_demo.gif\n :align: center\n\n\n.. note:: Read the User Guide and the ``mwtab`` Tutorial on ReadTheDocs_\n to learn more and to see code examples on using the ``mwtab`` as a\n library and as a command-line tool.\n\n\nFile Formatting Issues\n~~~~~~~~~~~~~~~~~~~~~~\n\nCurrently there are 5 files that are failing to parse due to formatting issues\nwithin them:\n\n * ST000258_AN000410.txt\n\n - extra tab character on line 360 ('MS_ALL_DATA:UNITS \\t\\t')\n\n * ST000365_AN000598.txt\n\n - ST:EMAIL line is broken on line 53, 54 ('ST:EMAIL \\n@unc.edu')\n - extra tab on line 155 ('NMR_BINNED_DATA:UNITS\\tppm\\t')\n\n * ST000445_AN000696.txt\n\n - extra tab character on line 135 ('CH:CHROMATOGRAPHY_SUMMARY \\t\\tThe gradient composition was changed linearly from 50% to 100% solvent B')\n\n * ST000901_AN001467.txt\n\n - extra tab character on lines 61-78 ('SP:SAMPLEPREP_SUMMARY \\tPreparation of SPE on vacuum manifold: 1.\\tClean 60 mg Oasis HLB (Waters) spe ...')\n\n * ST000902_AN001468.txt\n\n - Header line is broken into two lines on lines 1-2 ('#METABOLOMICS WORKBENCH hover_20170726_173354 DATATRACK_ID:1171\\n STUDY_ID:ST000902 ANALYSIS_ID:AN001468')\n\n\nLicense\n~~~~~~~\n\nThis package is distributed under the BSD_ `license`.\n\n\n.. _Metabolomics Workbench: http://www.metabolomicsworkbench.org\n.. _GitHub: https://github.com/MoseleyBioinformaticsLab/mwtab\n.. _ReadTheDocs: http://mwtab.readthedocs.io\n.. _PyPI: https://pypi.org/project/mwtab\n.. _pip: https://pip.pypa.io\n.. _BSD: https://choosealicense.com/licenses/bsd-3-clause-clear/\n.. _10.1007/s11306-018-1356-6: http://dx.doi.org/10.1007/s11306-018-1356-6", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MoseleyBioinformaticsLab/mwtab", "keywords": "mwtab metabolomics workbench", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "mwtab", "package_url": "https://pypi.org/project/mwtab/", "platform": "any", "project_url": "https://pypi.org/project/mwtab/", "project_urls": { "Homepage": "https://github.com/MoseleyBioinformaticsLab/mwtab" }, "release_url": "https://pypi.org/project/mwtab/0.1.10/", "requires_dist": null, "requires_python": "", "summary": "Parser for mwtab files from the Metabolomics Workbench", "version": "0.1.10" }, "last_serial": 4912726, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e649f34e4f95c48ee5619f2b37443de8", "sha256": "193be5ed43354ddb9f892f12aa471b99823648580aef6b17d72521af22749d08" }, "downloads": -1, "filename": "mwtab-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e649f34e4f95c48ee5619f2b37443de8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38463, "upload_time": "2017-09-12T03:18:38", "url": "https://files.pythonhosted.org/packages/5a/37/4020a825901d2d3a7a31fe8d7d60f1210e66d33e82de296eeade80dc6ed9/mwtab-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0ed00dc02b169e03ccbbe40a57c597e8", "sha256": "973c6a0b35fed101df3a9214e276676fe77459ebcfe671b3ae60ea5949fe594d" }, "downloads": -1, "filename": "mwtab-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0ed00dc02b169e03ccbbe40a57c597e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38297, "upload_time": "2017-09-12T03:31:16", "url": "https://files.pythonhosted.org/packages/d0/7e/01c3416132bbb2b614b09d79319f7b1308d35b314974be7443871be95fcd/mwtab-0.1.1.tar.gz" } ], "0.1.10": [ { "comment_text": "", "digests": { "md5": "24f44011111c3d15c640c05217a76d3f", "sha256": "f91d4fdebc5d9febc4ef6b7339f365af713aa22f7a5a34345337a269904789e5" }, "downloads": -1, "filename": "mwtab-0.1.10.tar.gz", "has_sig": false, "md5_digest": "24f44011111c3d15c640c05217a76d3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 819568, "upload_time": "2019-02-18T17:03:17", "url": "https://files.pythonhosted.org/packages/82/67/018f6fc5b9c337b6d61e811b85bcd0d6e4c284567eb255d85d1ad57e9e6d/mwtab-0.1.10.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1b70f8b881585af08c39dee6bda1cdf0", "sha256": "aef9a391c6c3cdd80e6e60a0d7eaa1491b23b93e07fa594460e567183b0f24c7" }, "downloads": -1, "filename": "mwtab-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1b70f8b881585af08c39dee6bda1cdf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38699, "upload_time": "2017-09-14T15:57:28", "url": "https://files.pythonhosted.org/packages/1f/f2/482536ea02be36a3612b353e5e903c4cb64c39f747b9498a1d6f2fe4dbb5/mwtab-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "928a1758a50ba1a69d961bdde05e9aa9", "sha256": "29521ea4adb4baea6f42e3261e82341be6bf59af2e76d62e18f282742c76890f" }, "downloads": -1, "filename": "mwtab-0.1.3.tar.gz", "has_sig": false, "md5_digest": "928a1758a50ba1a69d961bdde05e9aa9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39106, "upload_time": "2017-09-18T21:22:22", "url": "https://files.pythonhosted.org/packages/45/81/335079c4aa41a37a5905856e70f8223520cdab0f9e84b29ef7aa27514a55/mwtab-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "679989faa5b533d8494013976fa5e8e8", "sha256": "4f34789a3cefa6d3f494c954d3ffb585a94f191f27d1f9daf9b5104520883d44" }, "downloads": -1, "filename": "mwtab-0.1.4.tar.gz", "has_sig": false, "md5_digest": "679989faa5b533d8494013976fa5e8e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39357, "upload_time": "2017-11-13T17:27:12", "url": "https://files.pythonhosted.org/packages/72/d1/3b5624ea17b4bd2e4ff61c915b44f562175998c170357f2308dc2cb697b5/mwtab-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "4a5411cab7f3a939584f8e5d9bd0d412", "sha256": "486d65f25251ca3ec25d3821db0d954d89da0b42da1766b545522acd5f70368c" }, "downloads": -1, "filename": "mwtab-0.1.5.tar.gz", "has_sig": false, "md5_digest": "4a5411cab7f3a939584f8e5d9bd0d412", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39392, "upload_time": "2017-11-13T17:52:19", "url": "https://files.pythonhosted.org/packages/cb/98/86b851c4f0fbd39f324ae124c785d39db4bc4bb7463af1e4ef1d017dc8ff/mwtab-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "a2650af5ee4559ca3e172f9ffedc47e8", "sha256": "cb3237ae678faaf061bfd08a831e6d6c3aad7bf13b6831d12f4a358a4e04afdd" }, "downloads": -1, "filename": "mwtab-0.1.6.tar.gz", "has_sig": false, "md5_digest": "a2650af5ee4559ca3e172f9ffedc47e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39396, "upload_time": "2017-11-13T18:22:39", "url": "https://files.pythonhosted.org/packages/22/1a/91b4140b05122ea9f9112e0493ede907704e26b3c6b5df1bcc24f73e8b63/mwtab-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "267d90af67a69e8ea2553f2ad83a41e7", "sha256": "39de537e8ec798cd3fac37bc743ccb7a50c7cf2488f3480f9ed4bc4f2582a64c" }, "downloads": -1, "filename": "mwtab-0.1.7.tar.gz", "has_sig": false, "md5_digest": "267d90af67a69e8ea2553f2ad83a41e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 151099, "upload_time": "2017-12-07T23:47:50", "url": "https://files.pythonhosted.org/packages/0b/be/7641901075bcaec0ea32d0843efc1baa0f0cfc3def9d7e22fb8a1072af4c/mwtab-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "1526d6562d05b35f8e889e84afabd311", "sha256": "16a73094f774a98bd3e54712b58049637ab1dc0a484832359c66b95e8353c7e9" }, "downloads": -1, "filename": "mwtab-0.1.8.tar.gz", "has_sig": false, "md5_digest": "1526d6562d05b35f8e889e84afabd311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 819070, "upload_time": "2018-04-06T03:40:30", "url": "https://files.pythonhosted.org/packages/8a/ef/3ca364935fb07e526f10cc157ddc23662455af1a24952990890bcfa2c17d/mwtab-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "5445c3de08738e88aac4d1fd7220bbcf", "sha256": "6cf4ee012638d24224feab505aa79b0cbfcb22870b845559b0e8951f9585469b" }, "downloads": -1, "filename": "mwtab-0.1.9.tar.gz", "has_sig": false, "md5_digest": "5445c3de08738e88aac4d1fd7220bbcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 819471, "upload_time": "2018-04-21T23:23:52", "url": "https://files.pythonhosted.org/packages/1b/e0/725027561e7eb286249ee2205df481b805c1c181dfd2ba01699210e6f4ea/mwtab-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "24f44011111c3d15c640c05217a76d3f", "sha256": "f91d4fdebc5d9febc4ef6b7339f365af713aa22f7a5a34345337a269904789e5" }, "downloads": -1, "filename": "mwtab-0.1.10.tar.gz", "has_sig": false, "md5_digest": "24f44011111c3d15c640c05217a76d3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 819568, "upload_time": "2019-02-18T17:03:17", "url": "https://files.pythonhosted.org/packages/82/67/018f6fc5b9c337b6d61e811b85bcd0d6e4c284567eb255d85d1ad57e9e6d/mwtab-0.1.10.tar.gz" } ] }