Skip to content

Releases

LKlight v1.2.1 — protein–DNA/RNA scoring compatibility fix

Choose a tag to compare

@LK-Studio1128 LK-Studio1128 released this 20 Nov 17:58

LKlight v1.2.1

Nucleic-acid scoring safety patch. This patch prevents protein–DNA / RNA
jobs from silently completing with an unsupported scoring function and a
constant zero / -0 score.

Fixed

  • Nucleic-acid inputs now reject incompatible scoring functions (dfire,
    fastdfire, dfire2, pydock, etc.) with a clear error and exit code 2.
    Nucleotide-compatible methods remain available: dna, ddna, pydock,
    cpydock, and vdw. Amino-acid-only/statistical methods (dfire,
    fastdfire, dfire2, mj3h, sd, pisa, sipper, tobi) are rejected.
  • Docking-worker failures are propagated to the process exit status instead of
    looking like a successful run.
  • auto scoring can be resolved from the actual receptor/ligand residue names;
    an explicit incompatible selection is not silently replaced.

Validation

  • cargo test --release --lib: 31 passed.
  • Real protein–DNA regression (MYB46-ALL.pdb + proCDH653-1137.pdb,
    score ... dna): -5194.963695, not zero.
  • A 1 swarm × 20 glowworms × 20 steps DNA docking produced a varying ranked
    score range (40.38–49.86) on Linux, confirming a non-constant scoring path.
    The same score was reproduced on macOS (-5194.963695).
  • RNA/DNA PDB atom naming remains normalized by LKDock before docking.

Binaries

  • LKlight-v1.2.1-linux-x86_64.tar.gz — Linux x86-64
  • LKlight-v1.2.1-mac-arm64.zip — macOS Apple Silicon
  • LKlight-v1.2.1-win-x64.zip — Windows x64

Engine release matrix

Engine Linux macOS Windows Release
LKlight reference CPU LKlight-v1.2.1-linux-x86_64.tar.gz LKlight-v1.2.1-mac-arm64.zip LKlight-v1.2.1-win-x64.zip this release
LKlight-grid CPU grid LKlight-grid-v1.2.1-linux-x86_64 LKlight-grid-v1.2.1-mac-arm64 LKlight-grid-v1.2.1-win64.exe v1.2.1
LKlight-GPU CUDA/Metal LKlight-GPU-v1.2.3-linux-x86_64-cuda LKlight-GPU-v1.2.3-mac-arm64-metal / ...-cpu LKlight-GPU-v1.2.3-win64-cuda.exe v1.2.3
LKlight-CUDA standalone LKlight-CUDA-v1.1.1-linux-x86_64-cuda LKlight-CUDA-v1.1.1-mac-arm64-cpu LKlight-CUDA-v1.1.1-win64-cuda.exe v1.1.1

All four engines are built and pushed from the same compatibility contract: for
nucleic-acid input, dna, ddna, pydock, cpydock, and vdw are accepted;
amino-acid-only/statistical methods are rejected with a clear non-zero exit.

Released-binary smoke test

Ubuntu and Windows runners downloaded the published assets back from GitHub and successfully scored the 1AZP protein–DNA fixture with dna and pydock; all four engines rejected fastdfire with exit code 2. Run: https://github.com/LK-Studio1128/LKlight/actions/runs/44798319244

LKlight v1.2.0 — DNA Z-window speedup + heavy-atom clash fix + auditing tools

Choose a tag to compare

@LK-Studio1128 LK-Studio1128 released this 05 Sep 17:44

LKlight v1.2.0

DNA scoring speedup + heavy-atom clash fix + auditing tools. This release
synchronises the original all-pairs reference engine with the grid / GPU
accelerated engines (LKlight-grid v1.2.0, LKlight-GPU v1.2.0) and ships
rebuilt binaries for Linux x86_64, macOS arm64 and Windows x64.

Changed

  • 1-D Z-window DNA scoring speedup (src/dna*.rs): the all-atom pairwise
    scan for the dna / ddna families prunes receptor atoms with a 1-D
    Z-window along the long receptor axis, reducing the enumerated pair set on
    long nucleic-acid ligands. Linux server rebuild (static-pie) verified as part
    of this release.

Fixed

  • Systematic interpenetration in DNA scoring — heavy-atom clash penalty
    (src/dna*.rs): poses burying ligand atoms into receptor backbone heavy
    atoms were not penalised, allowing deep clashes; a clash penalty term now
    corrects the interpenetration found in the clash-fix campaign (2026-09-02
    binary resync).

Added

  • Clash / contact auditing subcommands (e.g. map_contacts) for docking
    poses; multi-scenario acceptance fixtures and a Zenodo DOI badge;
    --noh / --noxt / --now atom filters enabled in prebuilt binaries.

Binaries (v1.2.0)

  • LKlight-v1.2.0-linux-x86_64.tar.gz — Ubuntu server build, static-pie (musl)
  • LKlight-v1.2.0-mac-arm64.zip — macOS Apple Silicon
  • LKlight-v1.2.0-win-x64.zip — Windows x64 (UCRT)

See CHANGELOG.md and README.md for details.

v1.1.0 — DFIRE2 fix + multi-scenario validation

Choose a tag to compare

@LK-Studio1128 LK-Studio1128 released this 28 Aug 21:00

LKlight v1.1.0

DFIRE2 non-protein-ligand fix + multi-scenario test hardening. This release
completes the multi-module / multi-scenario validation campaign and fixes the
last known crash class in the scoring layer.

Fixed

  • DFIRE2 panic on non-protein ligands (src/dfire2.rs): score rec lig dfire2
    panicked with index out of bounds when the ligand contained no atoms in the
    DFIRE2 atom-type dictionary (e.g. DNA ligands in 1AZP / p53-DNA 1DIZ).
    The ligand residue-offset computation indexed [0] on an empty vector; it now
    uses safe match (last, first) destructuring with graceful degradation.
    Regression-verified: 1AZP dfire2 = −83.70; full p53-DNA GSO run completes.
  • Carried hardening from the BM5 equivalence work: robust atom typing and ANM
    stride guards (cpydock, ddna, mj3h, sd, sipper), PDB free-text
    metadata tolerance (Fixes 5–6).

Tested (new multi-scenario suite)

  • 12 scoring functions × 6 biological complexes (protein–DNA 1AZP / 1DIZ
    p53–DNA, protein–protein 2OOB, Ab–lysozyme 1VFB, Ab–peptide 1DQJ,
    viral–host 6M0J RBD–hACE2): 78+ score combinations, zero crashes, zero
    timeouts.
  • Parameter sweep: wall-clock scales linearly with glowworms (25→400) and
    GSO steps (10→200); convergence by 50–70 steps — 100 steps remains the
    practical default.
  • All 16 CLI subcommands exercised end-to-end.
  • 29/29 unit tests pass.

Downloads

Platform File Binary
macOS Apple Silicon LKlight-v1.1.0-mac-arm64.zip aarch64, native
Linux x86-64 LKlight-v1.1.0-linux-x86_64.tar.gz musl static-PIE, runs on any distro
Windows x64 LKlight-v1.1.0-win-x64.zip PE32+ console

Each archive contains the binary plus README.md, LICENSE (GPL-3.0),
NOTICE and CHANGELOG.md.

Citation & DOI

This release is archived on Zenodo; the DOI badge in the README will update
automatically once Zenodo registers the new version DOI.

LKlight is a derivative work of the LightDock lightdock-rust Rust baseline
(GPL-3.0). See NOTICE for full attribution.

LKlight v1.0.2

Choose a tag to compare

@LK-Studio1128 LK-Studio1128 released this 30 Jun 09:45

LKlight v1.0.2

This release focuses on robustness for protein-RNA / protein-DNA docking, especially nucleic-acid phosphate atoms and non-standard atom naming encountered in real PDB files.

Fixed

Protein-RNA / protein-DNA phosphate crash

  • Fixed a hard panic in AMBER-based scoring paths when a nucleic-acid phosphate atom P did not match an exact AMBER atom key.
  • The previous failure mode was *-P not supported, which aborted the scoring process and caused all LightDock swarms to fail.
  • Added generic AMBER fallback atom types and charges for phosphate and common heteroatoms:
    • *-P
    • *-I
    • *-B
    • *-Z
    • *-K
    • *-M

No-panic atom typing

  • Hardened AMBER-typed scorers so unknown atoms no longer crash the engine.
  • Affected scoring families:
    • dna
    • pydock
    • cpydock
    • sd
  • Unknown atoms now fall back safely to a neutral carbon-like type with zero electrostatic charge instead of panicking.

Setup-stage atom filtering

  • Improved Rust setup-stage filtering for:
    • --noh hydrogens
    • --noxt terminal OXT
    • --now water molecules
  • This prevents filtered atoms from reaching the scoring stage.

Validation

Regression testing was performed with a synthetic protein-RNA complex containing a raw single-letter RNA residue U and a phosphate atom P, reproducing the original crash trigger.

Results:

  • dna scoring completed successfully with no panic.
  • ddna scoring completed successfully with no panic.
  • macOS binary was runtime-tested locally.
  • Windows and Linux binaries were rebuilt and type-checked.

Binaries

Attached prebuilt binaries:

  • LKlight-v1.0.2-mac-arm64.zip
    • macOS Apple Silicon / arm64
  • LKlight-v1.0.2-win-x64.zip
    • Windows x86-64 / PE32+
    • Compatible with modern 64-bit Windows systems
  • LKlight-v1.0.2-linux-x86_64.tar.gz
    • Linux x86_64
    • Static musl build

Notes

  • Windows binary is x86-64 only and does not support 32-bit Windows.
  • macOS binary is arm64 only. Intel macOS requires a separate x86_64 build.

v1.0.1: Fix DNA scoring panic & stable release

Choose a tag to compare

@LK-Studio1128 LK-Studio1128 released this 01 Jun 17:22

Release Notes v1.0.1

This release introduces key stability improvements, bug fixes, and cross-platform native binaries for the LKlight high-performance molecular docking engine.

Key Changes:

  • Fix DNA Scoring Panic: Resolved a crash when encountering non-standard or terminal atoms (such as GLY-OXT) in the DNA scoring function by implementing a robust warning logging and generic fallback mechanism.
  • Version Bump: Official stable release bump to v1.0.1.
  • Universal Cross-Platform Binaries: Native pre-compiled binaries are now attached below for Windows (x64), Linux (statically linked musl, x86_64), and macOS (arm64 Apple Silicon).

Included Assets:

  • LKlight-v1.0.1-mac-arm64.zip: Native binary for Apple Silicon macOS (arm64).
  • LKlight-v1.0.1-linux-x86_64.tar.gz: Portable static-musl binary for Linux distributions (x86_64).
  • LKlight-v1.0.1-win-x64.zip: Native executable for Windows (x64).

LKlight v1.0.0

Choose a tag to compare

@LK-Studio1128 LK-Studio1128 released this 01 May 09:20

LKlight v1.0.0

LKlight is a high-performance Rust reimplementation of the LightDock Glowworm Swarm Optimization (GSO) docking engine. v1.0.0 is the first public release of LKlight.

Highlights

  • 12 scoring-function families / 13 CLI method names (fastdfire is an alias of dfire).
  • Bug fixes vs. upstream lightdock-rust baseline:
    • DFIRE / DFIRE2 / dDNA parameter file embedding (no more runtime crash on missing parameters).
    • ANM eigenvector stride correctly computed from atom count.
    • Robust handling of non-standard / unknown residues.
    • Removed an over-strict atom-count assertion in ANM mode.
  • Performance optimizations:
    • Rayon parallel outer loop over receptor atoms.
    • SIMD-friendly hot paths (released binaries use a portable CPU baseline; benchmark builds may opt into target-cpu=native).
    • thread_local! scratch buffers, BufWriter I/O, precomputed sqrt_vdw_charges.
    • Spatial hash grid for SD scoring.
  • Unified CLI single binary (LKlight) covering: setup, run, generate, cluster, rank, rank_swarm, top, filter, gso_to_csv, move_anm, score, diameter, trajectory, map_contacts, reference_points, pipeline.
  • Cross-platform: macOS arm64, Linux x86-64 (static-pie), Windows x86-64.

Performance (macOS arm64, swarm_0, 200 glowworms × 100 steps, 3-run mean)

Scenario Python Rust-orig LKlight vs Python vs Rust-orig
1PPE pydock 858 ms 7693 ms 290 ms 3.0× 26.5×
1PPE dfire 840 ms CRASH 33 ms 25.5× N/A
1AZP dna+ANM 760 ms 14142 ms 46 ms 16.5× 307×
1PPE cpydock 844 ms 7158 ms 44 ms 19.2× 163×

See PAPER.md for the full methodology, ablations and analysis.

Assets

File Platform
LKlight-macos-arm64.tar.gz macOS Apple Silicon
LKlight-linux-x86_64.tar.gz Linux x86-64 (static-pie)
LKlight-windows-x64.zip Windows x86-64
SHA256SUMS.txt SHA-256 checksums for the above

Each archive bundles the binary together with LICENSE, NOTICE, README.md and CHANGELOG.md to satisfy GPL-3.0 attribution and source-availability requirements.

License & attribution

LKlight is a derivative work of the LightDock project (Python) and lightdock-rust (Rust), distributed under GPL-3.0-or-later. Please retain LICENSE and NOTICE when redistributing.

Source