Fast Rust reimplementation of the DockQ protein/nucleic-acid docking scorer, with a Python API
Project description
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).
Links
Source, standalone CLI, benchmarks, and correctness details: https://github.com/aarteixeira/dockq-rs. MIT licensed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dockq_rs-0.1.0.tar.gz.
File metadata
- Download URL: dockq_rs-0.1.0.tar.gz
- Upload date:
- Size: 501.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae1ff6e2467a678c5e7dd5c47cede361453b9e28f8fdb0c339dbc8781cc9cae5
|
|
| MD5 |
1915abd12b700282e120634d5fc53d3c
|
|
| BLAKE2b-256 |
7ad414e12458a09846d1690e5f052bbe91f96181e4299c5aaddeaf4dc372a2bb
|
Provenance
The following attestation bundles were made for dockq_rs-0.1.0.tar.gz:
Publisher:
release.yml on aarteixeira/dockq-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dockq_rs-0.1.0.tar.gz -
Subject digest:
ae1ff6e2467a678c5e7dd5c47cede361453b9e28f8fdb0c339dbc8781cc9cae5 - Sigstore transparency entry: 1879255910
- Sigstore integration time:
-
Permalink:
aarteixeira/dockq-rs@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aarteixeira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dockq_rs-0.1.0-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: dockq_rs-0.1.0-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 362.6 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a09aa4b26366804633cfa09410e0a21915487d076a5c65b8839ab36451fc0128
|
|
| MD5 |
547fc77d3b9c4a7cbae61ab47f8a19bb
|
|
| BLAKE2b-256 |
3cb296ad06911613444935778c3607663a7be5e8e27f268652cc844e567ad854
|
Provenance
The following attestation bundles were made for dockq_rs-0.1.0-cp38-abi3-win_amd64.whl:
Publisher:
release.yml on aarteixeira/dockq-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dockq_rs-0.1.0-cp38-abi3-win_amd64.whl -
Subject digest:
a09aa4b26366804633cfa09410e0a21915487d076a5c65b8839ab36451fc0128 - Sigstore transparency entry: 1879256021
- Sigstore integration time:
-
Permalink:
aarteixeira/dockq-rs@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aarteixeira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 495.9 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b1bf122de90f493704164655ffc3cc4ea3cf785dfc1e4aa0c3fa30fd89a580b
|
|
| MD5 |
f20aa7d3f0d4d53ec21ab3e6c6d173bd
|
|
| BLAKE2b-256 |
5710708d773e991caee0781a2250ec037e66790dd67c5982f94b7cee1f87cd50
|
Provenance
The following attestation bundles were made for dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on aarteixeira/dockq-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
0b1bf122de90f493704164655ffc3cc4ea3cf785dfc1e4aa0c3fa30fd89a580b - Sigstore transparency entry: 1879256108
- Sigstore integration time:
-
Permalink:
aarteixeira/dockq-rs@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aarteixeira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 492.7 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
088c21b74c010363e40de7de78d77dd0f5edd084015d87636ab4635744bcdd2e
|
|
| MD5 |
0534a1caf7c0d89fc0e433def2fd682e
|
|
| BLAKE2b-256 |
9d9c293079900f302fca42da27d94fa8e9f80814bcb9161d614d885a3cec97aa
|
Provenance
The following attestation bundles were made for dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on aarteixeira/dockq-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dockq_rs-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
088c21b74c010363e40de7de78d77dd0f5edd084015d87636ab4635744bcdd2e - Sigstore transparency entry: 1879255970
- Sigstore integration time:
-
Permalink:
aarteixeira/dockq-rs@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aarteixeira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 448.5 kB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c6d1895ac106ea36f40487051f14eeeb733ecf5c50bfd9bd77eaa4d62578ce5
|
|
| MD5 |
ddd3b1448d8ba9da43d38c8693789b18
|
|
| BLAKE2b-256 |
f5d2e8ffdd416ade40a0db0c148a6da75cfce7654f9ecb5f30daac6340698442
|
Provenance
The following attestation bundles were made for dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on aarteixeira/dockq-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dockq_rs-0.1.0-cp38-abi3-macosx_11_0_arm64.whl -
Subject digest:
9c6d1895ac106ea36f40487051f14eeeb733ecf5c50bfd9bd77eaa4d62578ce5 - Sigstore transparency entry: 1879256273
- Sigstore integration time:
-
Permalink:
aarteixeira/dockq-rs@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aarteixeira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 451.6 kB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d20043046adfd2dfbb7b38a02b515ec6ed07e7142783aaf230a481936031b836
|
|
| MD5 |
502411584ac0eae60ed52d43a6f7adec
|
|
| BLAKE2b-256 |
4b5c9e21124f63dba766551210d8ad747e164495dd1e8e5f9db9640ddab893bb
|
Provenance
The following attestation bundles were made for dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl:
Publisher:
release.yml on aarteixeira/dockq-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dockq_rs-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl -
Subject digest:
d20043046adfd2dfbb7b38a02b515ec6ed07e7142783aaf230a481936031b836 - Sigstore transparency entry: 1879256194
- Sigstore integration time:
-
Permalink:
aarteixeira/dockq-rs@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aarteixeira
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5b31c1160b92e1c451c2be1c2b79759168f29868 -
Trigger Event:
push
-
Statement type: