Skip to main content

PyBEL-OLS Build Status Coverage Status Documentation Status

A PyBEL [1] extension for building BEL resources with the EBI [2] Ontology Lookup Service.

Installation Current version on PyPI Stable Supported Python Versions MIT License

Get the Latest

Download the most recent code from GitHub with:

$ pip install git+https://github.com/pybel/pybel-ols.git

For Developers

Clone the repository from GitHub and install in editable mode with:

$ git clone https://github.com/pybel/pybel-ols.git
$ cd pybel-ols
$ pip install -e .

Getting Started

The main goal is to generate a namespace file. For example, to generate a namespace for the Human Phenotype Ontology, abbreviated with the prefix hp, the following command can be used:

$ pybel-ols namespace_from_ols hp --encoding "O" --output ~/Desktop/hp.belns

Where --encoding "O" tells it that all terms in this ontology correspond to the pathology/phenotype BEL type.

Alternatively, the ‘-b’ option can be used to specify an alternate OLS instance

$ pybel-ols namespace_from_ols hp --encoding O --output ~/Desktop/hp.belns -b https://localhost/ols

References

Release files for pybel-ols 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybel-ols 0.0.1
File Size Uploaded
pybel_ols-0.0.1.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pybel-ols 0.0.1
File Interpreter ABI Platform
pybel_ols-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / pybel_ols-0.0.1.tar.gz

Download URL pybel_ols-0.0.1.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
609a6861bcf2cc22debaf109574432f0a8ae91f6f0c03361d4fbf6cff0792763
BLAKE2b-256 checksum
How to use checksums
9a0ac07b533bdb6a7055b65de5d1cf712c3ca18d623d336ed742103925bd3d48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.0

Release files / pybel_ols-0.0.1-py3-none-any.whl

Download URL pybel_ols-0.0.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c95eea119fd575f190931bf3167425bc2498622533e289b0ac7e1b2b108eb01c
BLAKE2b-256 checksum
How to use checksums
abbe8b90e81433468f8aa149b499a4afb8bbbe5d13dc9b538eb086f42e9ebfed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page