Skip to main content

pycircdb

Explore the documentation to get up and running!

Database Version PyPI Version DOI


pycircdb is a CLI tool to annotate circular RNAs output by circRNA quantification tools by integrating multiple public circRNA databases into a reproducible set of outputs across samples.

Annotations are generated by reading one-column text files of circRNA coordinates in chr:start-end|strand format (strand optional). Coordinates are mapped using a tolerant coordinate matching strategy that accepts both 0-based and 1-based genomic positions, which are then queried against curated circRNA databases. For each sample, pycircdb produces annotation tables, FASTA sequences, and miRNA and RBP interaction files.

pycircdb is designed to bring traditional GUI 'point-and-click' circRNA databases to the command line, facilitating its use in computational workflows. pycircdb is lightweight - requiring only 3.6 GB of disk space when the full parquet database is downloaded.

A range of circRNA databases are supported, including Arraystar, circAtlas, circBank, circBase, CircNet, CIRCpedia, circRNADb, CSCD, and exoRBase.

Please refer to the pycircdb documentation for a complete description of the databases and outputs.

Installation

You can install pycircdb using uv (no separate Python installation required):

uv tool install pycircdb

Alternatively, install from PyPI using pip:

pip install pycircdb

Usage

Quickstart

Once installed, you can perform a minimal test-run to ensure the tool works as expected:

pycircdb init-demo
pycircdb
pycircdb -c test_config.json -v 2 annotate fasta mirna rbp
pycircdb

The demo will produce the following output directory:

/home/barry/pycircdb_demo/results/
results/
└── demo
    ├── demo_sample
    │   ├── arraystar_hg19.fasta
    │   ├── arraystar_hits.txt
    │   ├── circatlas_hits.txt
    │   ├── circbank_hg19.fasta
    │   ├── circbank_hits.txt
    │   ├── circbase_hg19.fasta
    │   ├── circbase_hits.txt
    │   ├── circpedia_hg38.fasta
    │   ├── circpedia_hits.txt
    │   ├── circRNADb_hg19.fasta
    │   ├── circRNADb_hits.txt
    │   ├── cscd_hg38.fasta
    │   ├── cscd_hits.txt
    │   ├── exorbase_hits.txt
    │   ├── hg38_chr1_mirna_hits.txt.gz
    │   └── hg38_chr1_rbp_hits.txt.gz
    └── execution_report_YYYY-mm-dd_HH:MM:SS.txt

2 directories, 17 files

Configuration

pycircdb requires an input configuration JSON file in order to locate input samples and define global and per-sample configuration settings.

Please see the documentation for a full description of the config file.

{
  "global_parameters": {
    "max_tasks": 1,
    "output_dir": "results/",
    "tmp_dir": "tmp/"
  },
  "samples": {
    "SRR5133906_circexplorer2": {
      "file_path": "reformatted/SRR5133906/SRR5133906_circexplorer2.txt",
      "reference": "hg19"
    },
    "SRR5133906_ciriquant": {
      "file_path": "reformatted/SRR5133906/SRR5133906_ciriquant.txt",
      "reference": "hg19"
    }
  }
}

Commands

For a full description of pycircdb commands and their options, please refer to the documentation.

Citation

Please consider citing pycircdb if you use it in your analysis

pycircdb: integrated circRNA database annotation for computational workflows
Barry Digby, Stephen Finn, Pilib Ó Broin
Pending (2026)
doi: pending)
PMID: pending

@article{pending,
 author = {Digby, Barry and Finn, Stephen and Ó Broin, Pilib},
 title = {pycircdb: integrated circRNA database annotation for computational workflows},
 journal = {pending},
 volume = {pending},
 number = {pending},
 pages = {pending},
 year = {pending},
 doi = {pending},
 URL = {pending},
 eprint = {pending}
}

Contributions & Support

Contributions, particularly new circRNA database resources are welcome, as are bug reports! Please create a new issue for any of these, preferably with the -v 2 flag enabled for richer logs. Pull-requests for fixes and additions are very welcome.

Funding

This work was funded by Science Foundation Ireland, grant number 18/CRT/6214.

Metadata

Release files for pycircdb 1.0.3

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

Source distribution (sdist)

Source distribution for pycircdb 1.0.3
File Size Uploaded
pycircdb-1.0.3.tar.gz 40.6 kB Details

Built distribution (wheel)

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

Total release size: 92.4 kB

Release files / pycircdb-1.0.3.tar.gz

Download URL pycircdb-1.0.3.tar.gz
Size 40.6 kB
Tags Source
SHA-256 checksum
How to use checksums
91945de1cd7b227669b1e3d7625c80cec761a42e3dab9ae4b2d9f26f209c0dcb
BLAKE2b-256 checksum
How to use checksums
3d6b072f81f0ef204a03e03cde94f10b1c2de7aaffad1dc22ee77ff1a4ba071c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log

Release files / pycircdb-1.0.3-py3-none-any.whl

Download URL pycircdb-1.0.3-py3-none-any.whl
Size 51.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe2f97cd31799f69a814d3d4d38b02550f5a5ce4d8cc633d0d15c1819c9af77c
BLAKE2b-256 checksum
How to use checksums
68f1fb4c6019f3c34dfbe325ec0999d944e100b377cb8f94ef26e9ffc0584b6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.

Transparency log
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