Skip to main content

ChemRecon banner

v. 0.1.14

ChemRecon is a Python library and consolidated meta-database designed to simplify the integration and exploration of biochemical data from a range of sources. It is built from full-database downloads of compounds, reactions, enzymes, molecular structures, and atom-to-atom maps from the following source databases: BiGG, BRENDA, ChEBI, ECMDB, M-CSA, MetaMDB, and PubChem.

Heterogenous data formats were standardized, and relationships within and between these databases were reconstructed in a consistent format. The resulting meta-database is freely accessible online and is complemented by a Python library which allows for easy integration into existing workflows. This enables unified querying of entries from all the source databases, and discovery and visualization of relationships between these entries.

entrygraph

ChemRecon was developed at the Algorithmic Cheminformatics Group, Department of Mathematics and Computer Science, University of Southern Denmark.

Paper

If ChemRecon proves useful to your research, you may want to cite the following paper.

  • ChemRecon: a Consolidated Meta-Database Platform for Biochemical Data Integration

    C. A. Eriksen, J. L. Andersen, R. Fagerberg, D. Merkle

    Arxiv preprint, submitted to Bioinformatics.

    https://doi.org/10.48550/arXiv.2602.12310

Availability and Installation

ChemRecon is available via your Python package manager from the Python Package Index (PyPI): chemrecon It can be installed using pip:

pip install chemrecon

Visualizing entry graphs requires GraphViz to be installed, and for the dot executable, which renders the graphs, to be available on your system's PATH. See the GraphViz Python package for instructions.


Documentation

The documentation, including instructions on usage, tutorials, and complete description covering the types of entries and relations supported, is available on the ChemRecon homepage.

Usage

The following is an example of a typical ChemRecon workflow, producing the graph seen above. For more detailed examples, see the tutorial section of the documentation.

from chemrecon import *

connect_public()

# Perform a database query to find the 'citrate' entry in BiGG.
citrate_entry = find_entry(id_type=C_BIGG, source_id='M_cit')

# Define a protocol to find related entries and molecular structures (protocols like this are included)
compound_structure_protocol = ExplorationProtocol(
    relation_types={CompoundReference, CompoundHasMolStructure, MolStructureStandardization}
)

# Create and expand an entry graph, according to this protocol, by traversing the database.
eg = EntryGraph(initial_entries={citrate_entry})
explore(eg, compound_structure_protocol, steps=5)

# Score the molecular structures in the graph according to their 'connectedness'
scorer = Scorer(score_entry_type=MolStructure)
scores = scorer(eg)  # Result is an OrderedDict

# Draw the graph with these scores, producing the image seen on this page
eg.show(scores=scores)

Database

ChemRecon needs to be connected to a database to function. The easiest is to connect to the public database, hosted by SDU:

connect_public()

Alternatively, a local instance of the database can be hosted via Docker. Instructions are given in the documentation. This has the advantage of lower latency, making queries and entry graph construction faster, and allows adding custom data sources.

Source Databases

ChemRecon contains compound, molecular structure, reaction, atom-to-atom map, and enzyme entries from the following databases.

Source Compound Structure Reaction AAM Enzyme Version
BiGG 20428 - 33942 - 5705 1.6
BRENDA - - 61129 - 8697 2025_1
ChEBI 224485 330207 - - - 2024-05
ECMDB 3760 7517 - - - 2.0
M-CSA - - 1003 342 1003 2024-11
MetaMDB 80815 4392 74520 1003 - 2025-02
MetaNetX 2601834 2297518 143880 - 48175 4.4
PubChem 9031498 5000000 - - - 2024-09

In addition to the source databases, ChemRecon can make use of a greater number of auxiliary databases, including MetaCyc and KEGG. Data from these sources is are not directly included due to being proprietary or difficult to access. However, the source databases contain references to the auxiliary databases, so entries are created which contain only the identifier and no additional information. This allows users to use ChemRecon workflows based on identifiers from a great number of databases, not just the source databases.

Metadata

Release files for chemrecon 0.1.14

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

Source distribution (sdist)

Source distribution for chemrecon 0.1.14
File Size Uploaded Provenance Actions
chemrecon-0.1.14.tar.gz 74.6 kB Without provenance Details for chemrecon-0.1.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chemrecon 0.1.14
File Interpreter ABI Platform Actions
chemrecon-0.1.14-py3-none-any.whl Python 3 none any Details for chemrecon-0.1.14-py3-none-any.whl

Total release size: 184.1 kB

Release files / chemrecon-0.1.14.tar.gz

Download URL chemrecon-0.1.14.tar.gz
Size 74.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b258297739af24fc207ccfdf09ce6715b0383300bdfc21d195a15e7dc8438e78
BLAKE2b-256 checksum
How to use checksums
20ba2549c2564d57bc3bb4a1a994cafa57aef5282f76c447e7798de268c41905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / chemrecon-0.1.14-py3-none-any.whl

Download URL chemrecon-0.1.14-py3-none-any.whl
Size 109.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85695b5458ea424f016c4d9be46fd8829401f6e11a42f0e0206068c20e92308f
BLAKE2b-256 checksum
How to use checksums
2cbd631df6ffa5742eb6d99fc33a52a8a6967702cb2fd76f80f46fd7b065bf97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for chemrecon 0.1.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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