Skip to main content

A python wrapper for nomer

Project description

pynomer

.. image:: https://img.shields.io/pypi/v/pynomer.svg :target: https://pypi.python.org/pypi/pynomer :alt: Latest PyPI version

pynomer <https://github.com/nleguillarme/pynomer>_ is a simple python wrapper for nomer <https://github.com/globalbioticinteractions/nomer>_. Nomer is a stand-alone java application which maps identifiers and names to taxonomic names and ontological terms.

Installation

::

$ pip install pynomer

Usage

As a command-line tool


::

pynomer --help Usage: pynomer [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  append              Append term match to row using id and name columns...
  clean               Cleans term matcher cache.
  input-schema        Show input schema in JSON.
  matchers            Lists supported matcher and (optionally) their...
  output-schema       Show output schema.
  properties          Lists configuration properties.
  replace             Replace exact term matches in row.
  validate-term       Validate terms.
  validate-term-link  Validate term links.
  version             Show Version.

As a python module


::

>>> from pynomer import *
>>> version()
'0.1.18'

With Docker


Build image from source: ::

git clone https://github.com/nleguillarme/pynomer.git
cd pynomer
docker build -t pynomer:latest .

Run commands in the container: ::

docker run -v `pwd`/.nomer:/.nomer pynomer:latest pynomer append "\tHomo sapiens" -e -o json

|:warning:| When running pynomer append and replace commands in Docker, you have to use the -e option !

License

License: MIT

Authors

pynomer was written by nleguillarme <nicolas.leguillarme@univ-grenoble-alpes.fr>_.

Project details


Download files

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

Source Distribution

pynomer-0.1.3.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file pynomer-0.1.3.tar.gz.

File metadata

  • Download URL: pynomer-0.1.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.5

File hashes

Hashes for pynomer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 120aefe1ca762782bffea741d86b849bcb2f695d92821aa2dbe7dc43f02f408e
MD5 76eb2a447c69a47e2cee0c94b19f9f5d
BLAKE2b-256 40632a8a6fcc9d42f6a81fdd6b7697515dbbba07cf8ad12f3c055f4500502442

See more details on using hashes here.

Supported by

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