Skip to main content

dockq-rs

Fast Rust reimplementation of the DockQ protein / nucleic-acid docking scorer, with a Python API. Same scores as DockQ v2.1.3 (validated to f32 precision against the reference), ~20–25× faster, with parallel batch scoring.

pip install dockq-rs

Usage

import dockq_rs

# single model vs native
r = dockq_rs.score("model.pdb", "native.pdb")
print(r["GlobalDockQ"], r["best_mapping_str"])

# rank many models against one native (parallel in Rust)
outcomes = dockq_rs.score_one_vs_many("native.pdb", ["m1.pdb", "m2.pdb", "m3.pdb"])

# arbitrary (model, native) pairs (parallel)
outcomes = dockq_rs.score_pairs([("m1.pdb", "n1.pdb"), ("m2.pdb", "n2.pdb")])

Migrating from DockQ

The function-level API mirrors the reference. Change:

from DockQ.DockQ import load_PDB, run_on_all_native_interfaces

to:

from dockq_rs import load_PDB, run_on_all_native_interfaces

load_PDB(path, chains=[], small_molecule=False, n_model=0) and run_on_all_native_interfaces(model, native, chain_map=..., no_align=False, capri_peptide=False) keep the same arguments and return shapes — the per-interface dict has the same keys (DockQ, F1, iRMSD, LRMSD, fnat, fnonnat, nat_correct, nat_total, nonnat_count, model_total, clashes, len1, len2, class1, class2, chain1, chain2).

Scope

Protein and nucleic-acid scoring, all mapping modes, capri_peptide, no_align, allowed_mismatches. Small-molecule (HETATM) symmetry-corrected scoring is not implemented in this build and raises a clear error (no silent fallback).

Source, standalone CLI, benchmarks, and correctness details: https://github.com/aarteixeira/dockq-rs. MIT licensed.

Metadata

Release files for dockq-rs 0.1.0

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

Source distribution (sdist)

Source distribution for dockq-rs 0.1.0
File Size Uploaded Provenance Actions
dockq_rs-0.1.0.tar.gz 501.7 kB With provenance Details for dockq_rs-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dockq-rs 0.1.0
File Actions
dockq_rs-0.1.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for dockq_rs-0.1.0-cp38-abi3-win_amd64.whl
dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details for dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details for dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl

Total release size: 2.8 MB

Release files / dockq_rs-0.1.0.tar.gz

Download URL dockq_rs-0.1.0.tar.gz
Size 501.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ae1ff6e2467a678c5e7dd5c47cede361453b9e28f8fdb0c339dbc8781cc9cae5
BLAKE2b-256 checksum
How to use checksums
7ad414e12458a09846d1690e5f052bbe91f96181e4299c5aaddeaf4dc372a2bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release files / dockq_rs-0.1.0-cp38-abi3-win_amd64.whl

Download URL dockq_rs-0.1.0-cp38-abi3-win_amd64.whl
Size 362.6 kB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a09aa4b26366804633cfa09410e0a21915487d076a5c65b8839ab36451fc0128
BLAKE2b-256 checksum
How to use checksums
3cb296ad06911613444935778c3607663a7be5e8e27f268652cc844e567ad854
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release files / dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 495.9 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
0b1bf122de90f493704164655ffc3cc4ea3cf785dfc1e4aa0c3fa30fd89a580b
BLAKE2b-256 checksum
How to use checksums
5710708d773e991caee0781a2250ec037e66790dd67c5982f94b7cee1f87cd50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release files / dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 492.7 kB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
088c21b74c010363e40de7de78d77dd0f5edd084015d87636ab4635744bcdd2e
BLAKE2b-256 checksum
How to use checksums
9d9c293079900f302fca42da27d94fa8e9f80814bcb9161d614d885a3cec97aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release files / dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl

Download URL dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
Size 448.5 kB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9c6d1895ac106ea36f40487051f14eeeb733ecf5c50bfd9bd77eaa4d62578ce5
BLAKE2b-256 checksum
How to use checksums
f5d2e8ffdd416ade40a0db0c148a6da75cfce7654f9ecb5f30daac6340698442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Release files / dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl

Download URL dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl
Size 451.6 kB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d20043046adfd2dfbb7b38a02b515ec6ed07e7142783aaf230a481936031b836
BLAKE2b-256 checksum
How to use checksums
4b5c9e21124f63dba766551210d8ad747e164495dd1e8e5f9db9640ddab893bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 20, 2026.

Transparency log

Security for dockq-rs 0.1.0

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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for dockq_rs-0.1.0.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 Jun 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

6 release files Full provenance

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