Related Experiment Video
Updated: May 12, 2026

Leveraging CyVerse Resources for De Novo Comparative Transcriptomics of Underserved Non-model Organisms
Published on: May 9, 2017
From articles to code: on-demand generation of core algorithms from scientific publications
Cameron S Movassaghi1, Amanda Momenzadeh1, Jesse G Meyer1
1Department of Computational Biomedicine, Cedars Sinai Medical Center, Los Angeles, CA 90048, United States.
Large language models (LLMs) can generate scientific code directly from publications, matching existing library performance for many algorithms. This literature-driven approach shows promise for reducing software maintenance costs and improving reproducibility.
Area of Science:
- Computational biology
- Bioinformatics
- Machine learning
Background:
- Scientific software maintenance incurs high costs due to dependencies and bugs.
- Published papers are canonical records but translating them to code is difficult.
- Large language models (LLMs) offer potential for automated code generation from publications.
Purpose of the Study:
- To evaluate the feasibility of generating scientific code from published articles using LLMs.
- To assess LLM performance in reproducing established computational algorithms.
- To identify limitations in current publication standards for code generation.
Main Methods:
- Systematic evaluation of state-of-the-art LLMs.
- Tasking LLMs with implementing core algorithms using only scientific publications as input.
- Benchmarking across diverse algorithms including random forests, batch correction, and gene set enrichment analysis.
Main Results:
- LLMs successfully reproduced package-level functionality for many algorithms.
- LLM-generated code performance was often indistinguishable from established libraries.
- Discrepancies mainly stemmed from underspecified manuscript details, not LLM reasoning limitations.
Conclusions:
- Literature-driven code generation is feasible for well-specified algorithms.
- LLMs can reduce reliance on continuously maintained software libraries.
- Current publication standards need improvement to fully support automated code generation and reproducibility.
Related Concept Videos
What is Genetic Engineering?
Genetic Screens
Forward genetic screens
Forward or “classical” genetic screens involve creating random mutations in an organism’s DNA using radiation, mutagens, or insertion of additional bases, which result in visible changes...
Non-equilibrium in the Cell
Genome Size and the Evolution of New Genes
DC Generator
Behavioral Genetics and Its Designs
The primary methodologies used in behavior genetics include family studies, twin studies, and adoption studies, each providing unique...

