Skip to content

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

Latest

Choose a tag to compare

@LK-Studio1128 LK-Studio1128 released this 20 Nov 17:58
· 3 commits to main since this release

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