Experiences developing structural biology tools with AI coding assistance

Large language models (LLMs) offer significant potential to accelerate scientific software development, yet their application to structural biology algorithms requires rigorous evaluation. This challenge is examined through the development of xcif, a new native parser for the crystallographic information file (CIF) format, designed to replace a stable but slow parser (ucif) in the Computational Crystallography Toolbox (cctbx). Using an expert-led, artificial intelligence (AI)-assisted workflow, implementation time was reduced from an estimated several months to approximately one week of active human effort. However, this efficiency relied entirely on domain knowledge to specify constraints, intercept plausible but flawed machine-generated code and design adversarial tests. The machine assistance did not replace programming expertise but rather shifted the human engineering burden from writing code to independent validation. Applying the new xcif parser across a corpus of approximately 550 000 archive files confirmed that it produces output identical to both the legacy implementation and GEMMI, a modern high-performance parser. xcif parses roughly an order of magnitude faster than the legacy cctbx parser and 1.3-1.5 times faster than GEMMI, while reducing peak memory use for larger files. This case study demonstrates that AI assistance provides a highly practical, cost-effective pathway for the renewal of mature structural biology infrastructure, provided that the development is strictly governed by expert oversight and objective verification.

Authors

Institutions

Publication Details

Journal
Acta Crystallographica Section D Structural Biology
Published
2026-10-19
DOI
https://doi.org/10.1107/s2059798326010211
Primary Topic
Enzyme Structure and Function
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Experiences developing structural biology tools with AI coding assistance

Oleg V. Sobolev, Paul D. Adams, Dorothee Claudia Liebschner
Acta Crystallographica Section D Structural Biology
Enzyme Structure and Function
article

Experiences developing structural biology tools with AI coding assistance

Oleg V. Sobolev, Paul D. Adams, Dorothee Claudia Liebschner
article en

Abstract

Large language models (LLMs) offer significant potential to accelerate scientific software development, yet their application to structural biology algorithms requires rigorous evaluation. This challenge is examined through the development of xcif, a new native parser for the crystallographic information file (CIF) format, designed to replace a stable but slow parser (ucif) in the Computational Crystallography Toolbox (cctbx). Using an expert-led, artificial intelligence (AI)-assisted workflow, implementation time was reduced from an estimated several months to approximately one week of active human effort. However, this efficiency relied entirely on domain knowledge to specify constraints, intercept plausible but flawed machine-generated code and design adversarial tests. The machine assistance did not replace programming expertise but rather shifted the human engineering burden from writing code to independent validation. Applying the new xcif parser across a corpus of approximately 550 000 archive files confirmed that it produces output identical to both the legacy implementation and GEMMI, a modern high-performance parser. xcif parses roughly an order of magnitude faster than the legacy cctbx parser and 1.3-1.5 times faster than GEMMI, while reducing peak memory use for larger files. This case study demonstrates that AI assistance provides a highly practical, cost-effective pathway for the renewal of mature structural biology infrastructure, provided that the development is strictly governed by expert oversight and objective verification.

Acta Crystallographica Section D Structural BiologyVol. 82(11)
Lawrence Berkeley National Laboratory (US), University of California, Berkeley (US)
Openalex Percentile: Top 28%
Enzyme Structure and Function
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.