This release is a pre-release and may not be stable for production use.
RIsearch for Python
RIsearch predicts RNA and DNA interactions: RNA-RNA, DNA-DNA and RNA-DNA hybrids. You give it query sequences, such as miRNAs or siRNAs, and a set of targets, such as a transcriptome. It reports every duplex whose predicted free energy is at or below a threshold, with coordinates, strand, energy and the pairing pattern, as a Polars DataFrame.
This package wraps the same Rust library as the risearch command-line tool, a rewrite of RIsearch2.
It is a pre-release: options and output may still change before 3.0.0.
Installation
pip install risearch
or uv add risearch.
Wheels are built for Linux x86_64 (manylinux) and macOS on Apple Silicon, for every supported Python version.
On other platforms pip builds from the source distribution, which needs Rust 1.88 or newer.
On older x86-64 CPUs, or x86-64 Python running under Rosetta, install the compatibility Polars runtime; the module is still imported as polars:
pip install "risearch[lts-cpu]"
The package does not install the risearch command-line program; its releases ship prebuilt binaries.
Quick start
The following example requires you to have cloned the github repository to run
import risearch
risearch.index("tests/data/target.fa", "targets.idx") # build once
targets = risearch.TargetRegistry.open("targets.idx") # reuse for every search
hits = risearch.search("tests/data/query.fa", targets)
hits is a polars DataFrame with one row per interaction.
With the example in the repository, two human miRNAs against the 19 transcripts of RHOC in tests/data:
>>> hits.sort("energy", "target_name", "t_start").select(
... "query_name", "target_name", "t_start", "t_end", "strand", "energy"
... ).head(3)
shape: (3, 6)
┌────────────────────────────┬─────────────────────────────────┬─────────┬───────┬────────┬──────────┐
│ query_name ┆ target_name ┆ t_start ┆ t_end ┆ strand ┆ energy │
│ --- ┆ --- ┆ --- ┆ --- ┆ --- ┆ --- │
│ str ┆ str ┆ u64 ┆ u64 ┆ str ┆ f64 │
╞════════════════════════════╪═════════════════════════════════╪═════════╪═══════╪════════╪══════════╡
│ hsa-miR-24-3p MIMAT0000080 ┆ ENSG00000155366|ENST00000527563 ┆ 481 ┆ 505 ┆ + ┆ -25.3257 │
│ hsa-miR-24-3p MIMAT0000080 ┆ ENSG00000155366|ENST00000285735 ┆ 305 ┆ 322 ┆ + ┆ -23.0914 │
│ hsa-miR-24-3p MIMAT0000080 ┆ ENSG00000155366|ENST00000285735 ┆ 1373 ┆ 1398 ┆ - ┆ -21.7137 │
└────────────────────────────┴─────────────────────────────────┴─────────┴───────┴────────┴──────────┘
Coordinates are 0-based and inclusive, unlike the 1-based CLI output. The row order can change from run to run, so sort when you need a stable order.
The API documentation covers every function and option. A short guide covers the result columns, the energy models and logging.
Citation
If you use RIsearch, please cite:
Roncelli S, Favaro L, Anthon C, Gorodkin J. RIsearch and siOFF: An integrated, high-performance framework for RNA-RNA interaction and siRNA off-target prediction. Bioinformatics.
License
Metadata
Release files for risearch 3.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| risearch-3.0.0a5.tar.gz | 183.3 kB | With provenance | Details for risearch-3.0.0a5.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| risearch-3.0.0a5-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details for risearch-3.0.0a5-cp311-abi3-manylinux_2_28_x86_64.whl |
| risearch-3.0.0a5-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for risearch-3.0.0a5-cp311-abi3-macosx_11_0_arm64.whl |
Total release size: 1.8 MB
Release files / risearch-3.0.0a5.tar.gz
| Download URL | risearch-3.0.0a5.tar.gz |
|---|---|
| Size | 183.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6033759f3332475ba5348d3ef30bab2ce7a19cc10e1cdf8845cf4188d31cce1a
|
|
BLAKE2b-256 checksum How to use checksums |
7b8e6eda4f0c9898b2bb45be24c36c72cbe07de7bbbffd03e975f1b6e443dda6
|
| 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 Oct 28, 2026.
Transparency logRelease files / risearch-3.0.0a5-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | risearch-3.0.0a5-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 900.2 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ab0e9d46c51fc91482cc4c495a2de00ff39e01d4948951b59f10ad5890bfab22
|
|
BLAKE2b-256 checksum How to use checksums |
fc4174f3ba448d3f097601d970d4f1bebd7f5b5e64249f5d47fada96e5e93e21
|
| 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 Oct 28, 2026.
Transparency logRelease files / risearch-3.0.0a5-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | risearch-3.0.0a5-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 764.5 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
586d1cd4edaf6b6a7ce8584cd42723bb957265a2f41f7b0baa41be98a4d526c9
|
|
BLAKE2b-256 checksum How to use checksums |
eaf8abcc15497b7548b0b6fa776da445fb5bfb75c41d2113ff471620ff869a7a
|
| 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 Oct 28, 2026.
Transparency logSecurity for risearch 3.0.0a5
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.
Full provenance
All 3 files in this release have been uploaded with provenance metadata.
Attestation for risearch-3.0.0a5.tar.gz
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 Oct 28, 2026.
Transparency logA 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.