This release is a pre-release and may not be stable for production use.
K-Fold
K-Fold is currently in the preview stage. Preprint will be released soon.
K-Fold predicts biomolecular complex structures and binding-induced conformational changes. Through an apo-to-holo diffusion bridge, K-Fold aims to capture conformational changes in systems such as G protein-coupled receptors (GPCRs).
K-Fold supports proteins, DNA, RNA, small molecules, and chemical modifications without multiple sequence alignments (MSAs). Protein component structures are generated with AtlasFold by default or supplied from other predictors or experiments. This repository provides pretrained models, inference and training code, and data preprocessing workflows.
Installation
K-Fold requires Python 3.11 or later.
Install from PyPI:
pip install 'kfold[cuequiv]'
Or install from source:
git clone https://github.com/SeonghwanSeo/kfold.git
cd kfold
pip install '.[cuequiv]'
The cuequiv extra installs cuEquivariance kernels for faster inference on NVIDIA GPUs.
Model weights and the chemical component dictionary (CCD) are downloaded automatically on first use.
Inference
Run prediction on a YAML or JSON query file from the repository root:
kfold predict --input examples/8and.yaml --out-dir predictions/ --seed 42
--input accepts a YAML or JSON file, or a directory of query files.
The default run generates missing protein apo structures and predicts five samples, saving structures and confidence scores under --out-dir.
Run kfold predict --help for all options.
See the inference guide for input formats, sampling, multiple GPUs, and outputs, or the Python API guide for use in Python.
Training
See the training guide for data preparation, training commands, and configuration.
License
Copyright © 2026 Korea Advanced Institute of Science and Technology (KAIST).
K-Fold is licensed under the Apache License 2.0.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 kfold-1.0.0a1.tar.gz.
File metadata
- Download URL: kfold-1.0.0a1.tar.gz
- Upload date:
- Size: 330.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13586026101ecb909b7c0390b4b18097dd8c47649aaac079d5434cb25437cb65
|
|
| MD5 |
3d04fc771bceae46c3bd00e8d1ccf833
|
|
| BLAKE2b-256 |
836a063c9f861826a3b49237c78d707133959277b85922d0c8dbfbff3f753460
|
File details
Details for the file kfold-1.0.0a1-py3-none-any.whl.
File metadata
- Download URL: kfold-1.0.0a1-py3-none-any.whl
- Upload date:
- Size: 399.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bceca842226dbf1976029fe784f9c2f514e01c5021fcfa278439fe0a06a3ab1
|
|
| MD5 |
a532eb3b444f74a58eb1f289a43f8f93
|
|
| BLAKE2b-256 |
5304aeb4d12ffe39ac4b1fb2b3b43a609e9751c66a00d8236fcab4aea6febd07
|