Skip to main content

Annotation quality metrics calculator (coverage, consistency, specificity).

Project description

Build Status Coverage Status

SBMate

Systems Biology Model AnnoTation Evaluator

Overview

SBMate evaluates the quality of annotations in SBML model elements, especially libsbml.Model, libsbml.Species, libsbml.Compartment, and libsbml.Reaction. Currently, it examines annotations from five knowledge resources, CHEBI, GO, KEGG, SBO, and UNIPROT.

SBMate calculates three metrics:

  1. Coverage checks how many model elements of the above four types (model, reaction, species, and compartment) are actually annotated.
  2. Consistency computes how many of such annotated entities has proper annotation. For example, a reaction object should not have a GO cellular component term (GO:0005575 or its children). SBMate identifies such instances and calculates the proprotion of model entities whose annotations are consistent.
  3. Finally, specificity is a measure of how 'precise' such consistent annotations are. This is obtained by utilizing the hierarchical structures of knowledge resource terms, such as the directed acyclic graphs of SBO, GO and CHEBI.

More detailed discussions can be found in our manuscript (in preparation).

Example

It is quite easy to use SBMate as there is just one main method, sbmate.AnnotationMetrics.getMetrics.

By default, SBMate produces a report summarizing the three scores:

Another option is to create a pandas DataFrame, as below:

And you will get the dataframe.

Adding Additional Metrics

You can add additional metrics by creating a class that calculates metrics. Metric values are contained in a pandas DataFrame. See metric_calculator.py to see how to write a class that calculates metrics. When you construct AnnotationMetrics, you will assign a value to the keyword argument metric_calculator_classes of the constructor.

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

SBMate-1.1.2.tar.gz (3.5 MB view details)

Uploaded Source

Built Distributions

SBMate-1.1.2.1-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

SBMate-1.1.2-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file SBMate-1.1.2.tar.gz.

File metadata

  • Download URL: SBMate-1.1.2.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8

File hashes

Hashes for SBMate-1.1.2.tar.gz
Algorithm Hash digest
SHA256 0973294045bb9dc3182eb85288bcb6c6a479767e59ee129fd9c17459a2d12cc0
MD5 41aeac75e6c60a5762942682ce65ed21
BLAKE2b-256 8deaee0028adda2273a8c4102037b8e91a1f52e93cbae41ce59c7e9e53dc04fc

See more details on using hashes here.

File details

Details for the file SBMate-1.1.2.1-py3-none-any.whl.

File metadata

  • Download URL: SBMate-1.1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8

File hashes

Hashes for SBMate-1.1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d5c741d7bcf0a051480b99b45ebf5e281483493d9e8def4cf18f091ebba60e1
MD5 e3eb7bc63e2b79ab053ec4a25b707544
BLAKE2b-256 04fc5bd18d38f1086a5c5da9acba4cf40500efdb5eb8d078c780a302ffa34948

See more details on using hashes here.

File details

Details for the file SBMate-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: SBMate-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.8

File hashes

Hashes for SBMate-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88fa461a23c4fd060c6a4a6b033a16c2db0e60627b1d2b7db20a2753e1c11a95
MD5 ae7d4f37cec95c448ad47827fc393997
BLAKE2b-256 b176104e0a32ad5f2e5db41791622f1aeb79b40f8eb147112857b69bcb9b5735

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