Skip to main content

No project description provided

Project description

PyPI version Build Status badge

libOmexMeta

LibOMEXmeta is a library aimed at providing developer-level support for reading, writing, editing and managing semantic annotations for biosimulation models. The COMBINE modeling community has developed consensus around how best to annotate models and how to package these models into archives (OMEX files) that include the modeling source code, the annotations, files that describe parameters and settings needed for simulations (in a SEDML file), and potentially the data used for these modeling efforts. This consensus was initially described in the publication "Harmonizing semantic annotations for computational models in biology" (Briefings in Bioinformatics, 2018).

The goal of semantic annotations are to make explicit the biology that underlies the semantics of biosimulation models. By using standard knowledge resources about biology and biological processes (such as CheBI, Uniprot, and ontologies of anatomy), we can make the models more understandable, reusable and reproducible. More information can be found at the OMEX Metadata Specification web page.

LibOMEXmeta is a C++ library with a C interface that is used to build a Python front end (pyomexmeta). LibOMEXmeta uses RDF as a framework for representing these annotations. At the core of libOmexMeta are the Redland libraries: - raptor2 for parsing RDF syntax into RDF graphs and serializing the output - rasqal for querying RDF graphs - librdf as a front end to raptor2 and rasqal and for triple stores.

Features

Parsers

  • rdfxml, ntriples, turtle, trig, rss-tag-soup, grddl, guess, rdfa, nquads, guess

Serializers

  • ntriples, turtle, rdfxml-xmp, rdfxml-abbrev, rdfxml, rss-1.0, atom, dot, json-triples, json, nquads, html

Querying

  • Languages
  • Query result formats:
    • xml, json, table, csv, mkr, tsv, html, turtle, rdfxml,

Storages modules

  • hashes, memory, file, mysql, sqlite, uri, tstore (may be supported on request), postgresql (supported but not tested), virtuoso (may be supported on request),

Platform

  • Windows
  • Linux Ubuntu 18.04, untested on other flavours.

libOmexMeta has not been tested on a Mac.

Documentation

https://sys-bio.github.io/libOmexMeta/

Note: documentation is being written presently

Installation

Python

Use pip.

$ pip install pyomexmeta
# verify its worked
$ ipython -c "import pyomexmeta"

Python 3 only - if you're not using Python 3, I recommend you upgrade.

Docker

You can get a docker image using

$ docker pull ciaranwelsh/libomexmeta:v1.1.0

This is an Ubuntu 18.04 based container that has libOmexMeta prebuilt and installed under /libOmexMeta/install-docker. See dockerfile for full set of commands to build libOmexMeta on ubuntu. Conda is preconfigured and pyomexmeta is installed.

Downloading Binaries

You can download binaries from the releases tab

Building from source

See the azure-pipelines.yml file to see how we build libOmexMeta on Azure Pipelines.

We use vcpkg for acquiring the dependencies that we need on all platforms. Therefore, the following works on windows, linux and macOS. Note that on linux you need gcc-9 or greater. libOmexMeta was developed with gcc-10.2.

# set variable to hold vcpkg location: 
VCPKG_INSTALL_PREFIX="/full/path/to/vcpkg"
git clone https://github.com/microsoft/vcpkg.git $VCPKG_INSTALL_PREFIX
cd $VCPKG_INSTALL_PREFIX
./bootstrap-vcpkg.sh
vcpkg integrate install
vcpkg install curl pcre openssl yajl sqlite3 liblzma

Now build libOmexMeta

git clone https://github.com/sys-bio/libOmexMeta.git
cd libOmexMeta
mkdir build
cd build
cmake -DVCPKG_ROOT=$VCPKG_INSTALL_PREFIX -DCMAKE_INSTALL_PREFIX="/full/path/to/where/you/want/to/install/libomexmeta" -DBUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON ..
cmake --build . --target install --config Release -j 12

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pyomexmeta-1.2.9-cp39-cp39-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9Windows x86-64

pyomexmeta-1.2.9-cp39-cp39-manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.9

pyomexmeta-1.2.9-cp39-cp39-macosx_10_15_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.9macOS 10.15+ x86-64

pyomexmeta-1.2.9-cp38-cp38-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.8Windows x86-64

pyomexmeta-1.2.9-cp38-cp38-manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.8

pyomexmeta-1.2.9-cp38-cp38-macosx_10_15_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.8macOS 10.15+ x86-64

pyomexmeta-1.2.9-cp37-cp37m-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyomexmeta-1.2.9-cp37-cp37m-manylinux2014_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7m

pyomexmeta-1.2.9-cp37-cp37m-macosx_10_15_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.7mmacOS 10.15+ x86-64

File details

Details for the file pyomexmeta-1.2.9-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4bfb81f54cad8e29bfe25e9e472acc0a69914683d911d707f3fc7846bd77a616
MD5 d84c1351e15d63b97009e7bad858e6a7
BLAKE2b-256 b27f23aab6d202cfe7ef36aaf2c691b55bd720559603202865f345e01bf74344

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8b02ec77e4ff7e511843f5054d4c868e32741ea06dcdad676d18e7665009c21
MD5 901ec7c4a8c0d11e2cad73341e3328b6
BLAKE2b-256 cfe0c91ade18022754b7afa7957b3f4e932cd18ce4ba966461417d1d52fe8534

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp39-cp39-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.9, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8b76044623d44d27edf8b998f1335e8d4fa618baf28d1b404bfc4917f4a696a7
MD5 d1b2b047573984fd010e2211c3f3c639
BLAKE2b-256 1c6a2b28a3ae3153132d23a299acc437db65eae92fbbde5f57ae461ce1253663

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5bbd9a0c19cbaa7389a4c0c070ba27f3e3efc211555e014127f9e4e79338b1b6
MD5 cb22f036016e38d4ed9c0be81cea70a3
BLAKE2b-256 228a1d8543ef38ed89f44f73923d9e6a3b916e12794a00ca61c09895ea6174a6

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98a8e4373ff0c55c1d470711610fdfacf8cc172303ecc2ff160874d52a5edab6
MD5 fe167de9d19c9b393a81f50159c6ace6
BLAKE2b-256 fc54b621f9e1a1542df51bf9623c9bc66c0c693e2ea3011ad763e72fcdd22603

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 20f4d098052e1a63599d0c75f82b44660ba0fa8557d6f7f3b87adf3d9a4dd8b0
MD5 ab6b21d7c8cbd7c8adcf47d64b469eff
BLAKE2b-256 3456747a9e7c1560c0e7d73a66da0c43d526842c42bf2c288ef9a3e63c6dc2e1

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5df8aca11540bb10a8917af941cb829a4fde630cb4cc2d339abfde6e3a71655c
MD5 4acdec8c46a205cff3f27e6c7d42c618
BLAKE2b-256 1f1e2d0d627cdaffe1ccaa29306e72d93316891f0765011c3251be1f61ca36d0

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7be0b02ee3b66762c20d8900e641ed014da75eee3185d09b8390953dc7d8c281
MD5 d3e5107c373a048329e0cbf9598d2f75
BLAKE2b-256 c1dd14f881b4075fd2dbbac5d3b7e0529052be2e86c670d7a910e41152f69a16

See more details on using hashes here.

File details

Details for the file pyomexmeta-1.2.9-cp37-cp37m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pyomexmeta-1.2.9-cp37-cp37m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.7m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyomexmeta-1.2.9-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 769ee4c551089e200cf1ca9da694aaa915cace9021f3bacdd38fb3778dce7cf3
MD5 e14c68e47ebb0e6ac60fc311a2ec089d
BLAKE2b-256 dc109851bf6172e4b3e211164b71e5b282e1d13fa1bab06cca04d02bc33e44a7

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