mwtab
The mwtab package is a Python library that facilitates reading and writing files in mwTab format used by the Metabolomics Workbench for archival of Mass Spectrometry (MS) and Nuclear Magnetic Resonance (NMR) experimental data.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 11 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 6 committers (16.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.0%) to scientific vocabulary
Keywords
Repository
The mwtab package is a Python library that facilitates reading and writing files in mwTab format used by the Metabolomics Workbench for archival of Mass Spectrometry (MS) and Nuclear Magnetic Resonance (NMR) experimental data.
Basic Info
- Host: GitHub
- Owner: MoseleyBioinformaticsLab
- License: bsd-3-clause-clear
- Language: Python
- Default Branch: main
- Homepage: http://mwtab.readthedocs.io
- Size: 95.7 MB
Statistics
- Stars: 12
- Watchers: 7
- Forks: 2
- Open Issues: 7
- Releases: 0
Topics
Metadata Files
README.rst
mwtab
=====
.. image:: https://img.shields.io/pypi/l/mwtab.svg
:target: https://choosealicense.com/licenses/bsd-3-clause-clear/
:alt: License information
.. image:: https://img.shields.io/pypi/v/mwtab.svg
:target: https://pypi.org/project/mwtab
:alt: Current library version
.. image:: https://img.shields.io/pypi/pyversions/mwtab.svg
:target: https://pypi.org/project/mwtab
:alt: Supported Python versions
.. image:: https://readthedocs.org/projects/nmrstarlib/badge/?version=latest
:target: http://mwtab.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status
.. image:: https://github.com/MoseleyBioinformaticsLab/mwtab/actions/workflows/build.yml/badge.svg
:target: https://github.com/MoseleyBioinformaticsLab/mwtab/actions/workflows/build.yml
:alt: Build status
.. image:: https://codecov.io/gh/MoseleyBioinformaticsLab/mwtab/branch/master/graph/badge.svg?token=jhjMsP1qma
:target: https://codecov.io/gh/MoseleyBioinformaticsLab/mwtab
:alt: CodeCov
.. image:: https://img.shields.io/badge/DOI-10.3390%2Fmetabo11030163-blue.svg
:target: https://doi.org/10.3390/metabo11030163
:alt: Citation link
.. image:: https://img.shields.io/github/stars/MoseleyBioinformaticsLab/mwtab.svg?style=social&label=Star
:target: https://github.com/MoseleyBioinformaticsLab/mwtab
:alt: GitHub project
|
.. image:: https://raw.githubusercontent.com/MoseleyBioinformaticsLab/mwtab/master/docs/_static/images/mwtab_logo.png
:width: 50%
:align: center
:target: http://mwtab.readthedocs.io/
The ``mwtab`` package is a Python library that facilitates reading and writing
files in ``mwTab`` format used by the `Metabolomics Workbench`_ for archival of
Mass Spectrometry (MS) and Nuclear Magnetic Resonance (NMR) experimental data.
The ``mwtab`` package provides facilities to convert ``mwTab`` formatted files into
their equivalent ``JSON`` ized representation and vice versa. ``JSON`` stands for JavaScript
Object Notation, an open-standard format that uses human-readable text to transmit
data objects consisting of attribute-value pairs.
The ``mwtab`` package can be used in several ways:
* As a library for accessing and manipulating data stored in ``mwTab`` format files.
* As a command-line tool to convert between ``mwTab`` format and its equivalent
``JSON`` representation.
Citation
~~~~~~~~
When using ``mwtab`` package in published work, please cite the following papers:
* Powell, Christian D., and Hunter NB Moseley. "The mwtab Python Library for RESTful
Access and Enhanced Quality Control, Deposition, and Curation of the Metabolomics
Workbench Data Repository." *Metabolites* 11.3 (2021): 163. doi:
`10.3390/metabo11030163`_.
* Smelter, Andrey and Hunter NB Moseley. "A Python library for FAIRer access and
deposition to the Metabolomics Workbench Data Repository."
*Metabolomics* 2018, 14(5): 64. doi: `10.1007/s11306-018-1356-6`_.
Links
~~~~~
* mwtab @ GitHub_
* mwtab @ PyPI_
* Documentation @ ReadTheDocs_
Installation
~~~~~~~~~~~~
The ``mwtab`` package runs under Python 3.5+. Use pip_ to install.
Starting with Python 3.4, pip_ is included by default.
Install on Linux, Mac OS X
--------------------------
.. code:: bash
python3 -m pip install mwtab
Install on Windows
------------------
.. code:: bash
py -3 -m pip install mwtab
Upgrade on Linux, Mac OS X
--------------------------
.. code:: bash
python3 -m pip install mwtab --upgrade
Upgrade on Windows
------------------
.. code:: bash
py -3 -m pip install mwtab --upgrade
Quickstart
~~~~~~~~~~
.. code:: python
>>> import mwtab
>>>
>>> # Here we use ANALYSIS_ID of file to fetch data from URL
>>> for mwfile in mwtab.read_files("1", "2"):
... print("STUDY_ID:", mwfile.study_id)
... print("ANALYSIS_ID:", mwfile.analysis_id)
... print("SOURCE:", mwfile.source)
... print("Blocks:", list(mwfile.keys()))
>>>
.. image:: https://raw.githubusercontent.com/MoseleyBioinformaticsLab/mwtab/master/docs/_static/images/mwtab_demo.gif
:align: center
.. note:: Read the User Guide and the ``mwtab`` Tutorial on ReadTheDocs_
to learn more and to see code examples on using the ``mwtab`` as a
library and as a command-line tool.
License
~~~~~~~
This package is distributed under the BSD_ `license`.
.. _Metabolomics Workbench: http://www.metabolomicsworkbench.org
.. _GitHub: https://github.com/MoseleyBioinformaticsLab/mwtab
.. _ReadTheDocs: http://mwtab.readthedocs.io
.. _PyPI: https://pypi.org/project/mwtab
.. _pip: https://pip.pypa.io
.. _BSD: https://choosealicense.com/licenses/bsd-3-clause-clear/
.. _10.3390/metabo11030163: https://doi.org/10.3390/metabo11030163
.. _10.1007/s11306-018-1356-6: http://dx.doi.org/10.1007/s11306-018-1356-6
Owner
- Name: Moseley Bioinformatics and Systems Biology Lab
- Login: MoseleyBioinformaticsLab
- Kind: organization
- Location: University of Kentucky
- Website: https://moseleybioinformaticslab.org/
- Repositories: 24
- Profile: https://github.com/MoseleyBioinformaticsLab
We develop and maintain a set of high-quality, well-documented, open source code repositories for general scientific re-use.
Citation (CITATION.cff)
cff-version: 1.0.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Powell"
given-names: "Christian"
orcid: "https://orcid.org/0000-0002-4242-080X"
- family-names: "Smelter"
given-names: "Andrey"
orcid: "https://orcid.org/0000-0003-3056-9225"
- family-names: "Moseley"
given-names: "Hunter"
orcid: "https://orcid.org/0000-0003-3995-5368"
title: "mwtab"
version: 1.2.5
date-released: 2017-03-18
url: "https://github.com/MoseleyBioinformaticsLab/mwtab"
preferred-citation:
type: article
authors:
- family-names: "Powell"
given-names: "Christian"
orcid: "https://orcid.org/0000-0002-4242-080X"
- family-names: "Moseley"
given-names: "Hunter"
orcid: "https://orcid.org/0000-0003-3995-5368"
doi: "10.3390/metabo11030163"
journal: "Metabolites"
month: 3
title: "The mwtab Python Library for RESTful Access and Enhanced Quality Control, Deposition, and Curation of the Metabolomics Workbench Data Repository"
issue: 11
volume: 3
year: 2021
GitHub Events
Total
- Issue comment event: 1
- Push event: 17
Last Year
- Issue comment event: 1
- Push event: 17
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| cdpo224 | c****4@g****u | 153 |
| Andrey Smelter | s****r@g****m | 58 |
| Andrey Smelter | a****r@g****m | 51 |
| Christian Powell | c****n@C****l | 36 |
| Christian D. Powell | c****l@g****m | 17 |
| Hunter Moseley | h****y@g****m | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 10
- Total pull requests: 2
- Average time to close issues: 6 months
- Average time to close pull requests: 3 minutes
- Total issue authors: 4
- Total pull request authors: 2
- Average comments per issue: 3.7
- Average comments per pull request: 0.5
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ptth222 (5)
- rmflight (3)
- hunter-moseley (1)
- vigilantgiggle (1)
Pull Request Authors
- andreysmelter (1)
- cdpowell (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 38 last-month
- Total dependent packages: 1
- Total dependent repositories: 3
- Total versions: 20
- Total maintainers: 3
pypi.org: mwtab
Parser for mwtab files from the Metabolomics Workbench
- Homepage: https://github.com/MoseleyBioinformaticsLab/mwtab
- Documentation: https://mwtab.readthedocs.io/
- License: BSD
-
Latest release: 1.2.5
published almost 4 years ago
Rankings
Maintainers (3)
Dependencies
- ipykernel *
- mwtab *
- nbsphinx *
- docopt >=0.6.2
- schema >=0.6.6
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- codecov/codecov-action v2 composite