Annotation quality metrics calculator (coverage, consistency, specificity).
Project description
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:
- Coverage checks how many model elements of the above four types (model, reaction, species, and compartment) are actually annotated.
- 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.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SBMate-1.1.3.tar.gz.
File metadata
- Download URL: SBMate-1.1.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87507678b172162b951ef37dbcef6522f03ee21a548abd7fd313bfe3b4a18420
|
|
| MD5 |
d51b391e70918482770a7b1fe04b57f5
|
|
| BLAKE2b-256 |
b8532cc35a1ef5d6cac63bcfeb052c773d19bc8c434d41950c298d790b81a739
|
File details
Details for the file SBMate-1.1.3-py3-none-any.whl.
File metadata
- Download URL: SBMate-1.1.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ab1b9cb81720fd67d16eb9010d1aca736693dd618c4d232a7e0007e9a895745
|
|
| MD5 |
eede3611e8dd1f0f36d3b2d96bc170fb
|
|
| BLAKE2b-256 |
a67f7b9962a48cd1f24e2e2f4fa780f02fe518806cc0d8831252f83a0ec13ab1
|