Skip to main content

ComPath Resource Utilities

Project description

tests Current version on PyPI Stable Supported Python Versions MIT License zenodo

This repository contains the different resources derived or generated using ComPath. Among these resources, there are Jupyter notebooks outlining possible analyses that can be made using ComPath plugins as well as the results of the curation effort (see the mappings folder) where pathway mappings between three of the major pathway databases (see below) are stored. As of March 2020, PathBank mappings are now available in ComPath.


If you use ComPath in your work, please consider citing:

💾 Data

A total of 6 mapping files are stored in this package, one for each pairwise comparison [*]. These data are available under the CC0 1.0 Universal License.

Update: March 2020

Mappings between PathBank and the above-mentioned databases are now available in ComPath.

📊 Summary

A summary is automatically generated nightly with GitHub Actions and deployed to

🙏 Contributing

While it’s possible to improve the files in this repository, they have been integrated into a more general effort for identifying mappings between biological entities, Biomappings. Please direct contributions to that repository following its curation guidelines.

Curation Guidelines

We have distinguished between two types of relationships between pathways (mappings): “equivalentTo” and “isPartOf”.

  • equivalentTo. An undirected relationship denoting both pathways refer to the same biological process. The requirements for this relationship are:

    • Scope: both pathways represent the same biological pathway information.

    • Similarity: both pathways must share at minimum of one overlapping gene.

    • Context: both pathways should take place in the same context (e.g., cell line, physiology)

  • isPartOf. A directed relationship denoting the hierarchical relationship between the pathway 1 (child) and 2 (parent). The requirements are:

    • Subset: The subject (pathway 1) is a subset of pathway 2 (e.g., Reactome pathway hierarchy).

    • Similarity: same as above

    • Context: same as above

⬇️ Installation

Download the latest stable code from PyPI with:

pip install compath_resources

Download the most recent code from GitHub with:

pip install git+

💪 Usage

import compath_resources

# get all mappings as a pandas dataframe
df = compath_resources.get_df()

# get all mappings as a PyBEL BEL graph
bel_graph = compath_resources.get_bel()

# get all mappings as an RDFLib graph.
rdf_graph = compath_resources.get_rdf()

⚖️ License

Code is licensed under the MIT License. Curated mappings are licensed under the CC-0 License.


Curation Team

The curation exercise was conducted under inter-curator agreement in a team formed by:

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

compath_resources-0.1.1.tar.gz (211.6 kB view hashes)

Uploaded Source

Built Distribution

compath_resources-0.1.1-py3-none-any.whl (115.5 kB view hashes)

Uploaded Python 3

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