Views
No views yet
1pip install deepbioisostere
2deepbioisostere generate -s "Cc1ccc2cnc(N(C)CCc3ccccn3)nc2c1" -t mw=0 -t logp=-11from deepbioisostere import Conditioner, DeepBioisostere, Generator
2
3properties = ["logp", "mw"]
4model = DeepBioisostere.from_pretrained(properties=properties)
5generator = Generator(
6 model=model,
7 conditioner=Conditioner(phase="generation", properties=properties),
8 properties=properties,
9)
10df = generator.generate([("Cc1ccc2cnc(N(C)CCc3ccccn3)nc2c1", {"mw": 0, "logp": -1})])| File | Properties | Variant |
|---|---|---|
DeepBioisostere_logp.pt | logP | standard |
DeepBioisostere_mw.pt | MW | standard |
DeepBioisostere_qed.pt | QED | standard |
DeepBioisostere_sa.pt | SA | standard |
DeepBioisostere_logp_mw.pt | logP + MW | standard |
DeepBioisostere_mw_qed.pt | MW + QED | standard |
DeepBioisostere_qed_sa.pt | QED + SA | standard |
DeepBioisostere_logp_mw_ablation.pt | logP + MW | ablation |
DeepBioisostere_mw_qed_ablation.pt | MW + QED | ablation |
DeepBioisostere_qed_sa_ablation.pt | QED + SA | ablation |
use_subgraph_AMPN=False, which changes the architecture, and are
selected with from_pretrained(..., ablation=True).| File | Description |
|---|---|
fragment_library.csv | 145,854 insertion fragments with frequency, BRICS type and train/val/test split |
frag_features.pkl | Pre-parsed graph features, keyed by the csv SMILES |
frag_brics_maskings.pkl | BRICS-type compatibility masks (training only) |
.pkl files are derived from the csv and are regenerated automatically
if absent, which takes roughly an hour of CPU. They are published so that a
first run is a download instead.Note on fragment identity. The features are keyed on the exact SMILES string infragment_library.csv, not on a re-canonicalised form. RDKit's canonical SMILES writer changed after the library was built under 2022.03: under 2026.03, 1,712 of the fragments are written differently (stereocentre descriptors flip). The underlying molecules and their parsed features are unchanged — this is a serialisation difference only — but the csv string is the authoritative key, since training data references fragments by row index.
1@article{kim2026deepbioisostere,
2 title = {Autonomous bioisosteric replacement for multi-property optimization in drug design},
3 author = {Kim, Hyeongwoo and Moon, Seokhyun and Zhung, Wonho and
4 Kim, Shinwoo and Lim, Jaechang and Kim, Woo Youn},
5 journal = {Nature Communications},
6 year = {2026},
7 doi = {10.1038/s41467-026-75512-9},
8}