Skip to main content

AnnoRefine

CI License: MIT PyPI Documentation

High-performance genome annotation refinement toolkit using RNA-seq data

AnnoRefine is a Rust-based toolkit for refining genome annotations and generating gene prediction hints from RNA-seq evidence. It provides both command-line tools and Python bindings for seamless integration into bioinformatics pipelines.

📖 Full Documentation

Features

  • 🔧 UTR Refinement - Extend and trim UTRs based on RNA-seq coverage
  • 🔀 Splice Site Refinement - Adjust intron boundaries using junction evidence
  • 🆕 Novel Gene Detection - Discover new genes from RNA-seq data
  • 🎯 Hint Generation - Convert BAM alignments to Augustus/GeneMark hints
  • 📊 Hint Processing - Join and filter hints from multiple sources
  • ⚡ High Performance - Multi-threaded Rust implementation
  • 🐍 Python Bindings - Easy integration into Python workflows
  • 🧭 Strand-Aware - Supports all RNA-seq library types (FR, RF, UU)

Installation

Python Package (Recommended):

pip install annorefine

Standalone Binary: Download from GitHub Releases

Build from Source:

git clone https://github.com/nextgenusfs/annorefine.git
cd annorefine
cargo build --release

See the Installation Guide for detailed instructions.

Quick Start

Python API:

import annorefine

# Refine annotations
result = annorefine.refine(
    fasta_file="genome.fa",
    gff3_file="annotations.gff3",
    bam_file="alignments.bam",
    output_file="refined.gff3"
)

# Generate hints for gene prediction
result = annorefine.bam2hints(
    bam_file="alignments.bam",
    output_file="hints.gff",
    library_type="RF",
    contig_map={'NC_000001.11': 'chr1'}  # Optional: rename contigs
)

# Join hints from multiple sources
result = annorefine.join_hints(
    input_files=["bam_hints.gff", "protein_hints.gff"],
    output_file="joined_hints.gff"
)

Command Line:

# Refine annotations
annorefine utrs \
    --fasta genome.fa \
    --gff3 annotations.gff3 \
    --bam alignments.bam \
    --output refined.gff3

# Generate hints
annorefine bam2hints \
    --in alignments.bam \
    --out hints.gff \
    --stranded RF

# Join hints
annorefine join-hints \
    --input bam_hints.gff protein_hints.gff \
    --output joined_hints.gff

See the User Guide for more examples.

Use Cases

  • Annotation Refinement - Improve existing gene models with RNA-seq evidence
  • Augustus Gene Prediction - Generate hints for ab initio gene prediction
  • GeneMark-ETP - Create intron-only hints for GeneMark
  • funannotate2 Integration - Seamless integration with gene prediction pipelines

Documentation

Performance

  • Multi-threaded - Parallel processing with Rust backend
  • Memory efficient - Streaming BAM processing
  • Scalable - Handles mammalian-sized genomes efficiently

Typical performance:

  • Human genome (~20K genes): 10-30 minutes on 8 cores
  • Memory usage: 2-8 GB depending on genome size

Support

Citation

Palmer, J. (2025). AnnoRefine: High-performance genome annotation refinement using RNA-seq data.
GitHub: https://github.com/nextgenusfs/annorefine

License

MIT License - see LICENSE file for details.


Built with ❤️ in Rust | Documentation | PyPI

Metadata

Release files for annorefine 2026.2.22

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

Built distributions (wheels)

Table of built distributions (wheels) for annorefine 2026.2.22
File
annorefine-2026.2.22-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
annorefine-2026.2.22-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
annorefine-2026.2.22-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details
annorefine-2026.2.22-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
annorefine-2026.2.22-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
annorefine-2026.2.22-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
annorefine-2026.2.22-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
annorefine-2026.2.22-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
annorefine-2026.2.22-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details
annorefine-2026.2.22-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
annorefine-2026.2.22-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
annorefine-2026.2.22-cp310-cp310-macosx_10_12_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.12+ x86-64 Details
annorefine-2026.2.22-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details
annorefine-2026.2.22-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details
annorefine-2026.2.22-cp39-cp39-macosx_10_12_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.12+ x86-64 Details

Total release size: 107.2 MB

Release files / annorefine-2026.2.22-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL annorefine-2026.2.22-cp313-cp313-manylinux_2_28_x86_64.whl
Size 7.7 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c60c3fffd48357c5abb44065802f5dca1b318afc1550a1852d416c42aa5f3fc9
BLAKE2b-256 checksum
How to use checksums
76c963014662ca8170d7ff8a2f205ee273bd18e05172de4c285fefdfcdc32dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp313-cp313-macosx_11_0_arm64.whl

Download URL annorefine-2026.2.22-cp313-cp313-macosx_11_0_arm64.whl
Size 7.2 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4c664d0c0a6666bc89eccd9a54b9eb5f092a901b55bd7df2eadbcce24cf3bada
BLAKE2b-256 checksum
How to use checksums
2ee3f2d909f26a964d87c3d562377b0668c3ab985609a3ff1bbe897914208090
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp313-cp313-macosx_10_12_x86_64.whl

Download URL annorefine-2026.2.22-cp313-cp313-macosx_10_12_x86_64.whl
Size 6.6 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3359d6726957394451c0a0170add2bfb19843934d0c77e87913c171254abfacd
BLAKE2b-256 checksum
How to use checksums
35347f9ff5c78f915557e49c8c77278ab051d489701b1416dd8af995d9bac9bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL annorefine-2026.2.22-cp312-cp312-manylinux_2_28_x86_64.whl
Size 7.7 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c985368ef2418200beefc1828e2720adb5e37eed9c72f549f7e58deb35564f6e
BLAKE2b-256 checksum
How to use checksums
42aa7d069fa103414e90ee7b9d01b46d0b2ebbc85062620ac9d2a01e2e8a116f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp312-cp312-macosx_11_0_arm64.whl

Download URL annorefine-2026.2.22-cp312-cp312-macosx_11_0_arm64.whl
Size 7.2 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
87329a0eab501a6efc108840d24ad0849bdf4158da92730c4f99cab5049f4327
BLAKE2b-256 checksum
How to use checksums
6541a8be1561a399488c18e180dadb342686aeadfe61dc599780a17606868ca5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp312-cp312-macosx_10_12_x86_64.whl

Download URL annorefine-2026.2.22-cp312-cp312-macosx_10_12_x86_64.whl
Size 6.6 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
334a9dbcbe3215ea1498c1ff920fd8ee8cfe5ccf109ac34cb4c9736242c25107
BLAKE2b-256 checksum
How to use checksums
b9fbe2cc2198984e1169a20cace9cfa89a0772957ac74c028f1caeb25b3990ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL annorefine-2026.2.22-cp311-cp311-manylinux_2_28_x86_64.whl
Size 7.7 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
41d1e1866317f990b65b25308058550f807dcf55a713a388f0195e81c6f19c37
BLAKE2b-256 checksum
How to use checksums
2c2f51d27f44689aa1ee000bb145811570002d420c7dfa0b153a992c28e0e297
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp311-cp311-macosx_11_0_arm64.whl

Download URL annorefine-2026.2.22-cp311-cp311-macosx_11_0_arm64.whl
Size 7.2 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a026f3f60ccde36ec245e0842f5f93930f0a80ba3342a6f7467b74e910eddc63
BLAKE2b-256 checksum
How to use checksums
ad827d12e63dfa9d2db71167c270a1fafa7292ce444fb0398afbcfaa57482c01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp311-cp311-macosx_10_12_x86_64.whl

Download URL annorefine-2026.2.22-cp311-cp311-macosx_10_12_x86_64.whl
Size 6.6 MB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
8150897f06d0ede53f72e91c157407690a0eb7419b5fd698cec30d0b6af57440
BLAKE2b-256 checksum
How to use checksums
fb4d4eb205d972a2a19973444fe5b88614f4c25f7923034a99942a181d7707c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL annorefine-2026.2.22-cp310-cp310-manylinux_2_28_x86_64.whl
Size 7.7 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
be3245327f1af41d0868e07f94b08b4e6f899123890e10ad572163205a566a23
BLAKE2b-256 checksum
How to use checksums
83b454d4e7b4c2ecc1220983a8989983d2b803df151dc58b4f895dd2ce471aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp310-cp310-macosx_11_0_arm64.whl

Download URL annorefine-2026.2.22-cp310-cp310-macosx_11_0_arm64.whl
Size 7.2 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c6e84f250c5e88d2e3530a4187f96bfba1e4499518d27cb0ab75d91c04d23ec2
BLAKE2b-256 checksum
How to use checksums
a7d3f77b9230c8b75dc9253154a1c170887b16de4c5c70bf5ccd00a58f9d5da2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp310-cp310-macosx_10_12_x86_64.whl

Download URL annorefine-2026.2.22-cp310-cp310-macosx_10_12_x86_64.whl
Size 6.6 MB
Tags CPython 3.10 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
67dc71b48674219ec334a811005fc507199012e1e956e7c420bc5128d7156d5d
BLAKE2b-256 checksum
How to use checksums
601760ae71a5a9a1a3692eeda88c171a2a90082b312e8e37cac2ed58d3561ccb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL annorefine-2026.2.22-cp39-cp39-manylinux_2_28_x86_64.whl
Size 7.7 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
db233de4e83a0e71de0da8fb7049bed657ad133edd919350870033683d47f987
BLAKE2b-256 checksum
How to use checksums
754207076d958998513269f102dd10d8d65623b6606033ee0199bce5ee5e1846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp39-cp39-macosx_11_0_arm64.whl

Download URL annorefine-2026.2.22-cp39-cp39-macosx_11_0_arm64.whl
Size 7.2 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
617b70772855177b71643cd02461cb166d2c2177144777ff9c90dba1f11ba4fc
BLAKE2b-256 checksum
How to use checksums
f12c6c50e35c2c8b70ef3fa8f8c4c21bd5a70d06c64014240a2e20644b24e370
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release files / annorefine-2026.2.22-cp39-cp39-macosx_10_12_x86_64.whl

Download URL annorefine-2026.2.22-cp39-cp39-macosx_10_12_x86_64.whl
Size 6.6 MB
Tags CPython 3.9 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
aa4e00a1219282f8d9667fec3b7a2b09cfc81da234400d0367618629a5b86ded
BLAKE2b-256 checksum
How to use checksums
da9f076d4e672f8cc772ff8d08fca31ac8a8221c94e26714c1bc10f76829f099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Feb 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2026.2.22 This release

15 release files

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