Reproducibility and sustainability present significant challenges in bioinformatics software development, where rapidly evolving tools and complex workflows often result in short-lived or difficult-to-adapt pipelines. This paper introduces Snakemaker, a tool that leverages generative AI to facilitate researchers building sustainable data analysis pipelines by converting unstructured code into well-defined Snakemake workflows. Snakemaker non-invasively tracks the work performed in the bash terminal and R console by the researcher, analyzes execution patterns, and generates Snakemake workflows that can be integrated into existing pipelines. Snakemaker also supports the transformation of monolithic IPython Notebooks into modular Snakemake pipelines, resolving the global state of the notebook into discrete, file-based interactions between rules. An integrated chat assistant provides users with fine-grained control through natural language instructions. Snakemaker generates high-quality Snakemake workflows by adhering to the best practices, including Conda environment tracking, generic rule generation and loop unrolling. By lowering the barrier between prototype and production-quality code, Snakemaker addresses a critical gap in computational reproducibility for bioinformatics research.

Snakemaker Applies Generative AI for Automatic Translation of Ad-Hoc Analyses Into Sustainable Snakemake Workflows

Masera, Marco;Leone, Alessandro;Molineris, Ivan
In corso di stampa

Abstract

Reproducibility and sustainability present significant challenges in bioinformatics software development, where rapidly evolving tools and complex workflows often result in short-lived or difficult-to-adapt pipelines. This paper introduces Snakemaker, a tool that leverages generative AI to facilitate researchers building sustainable data analysis pipelines by converting unstructured code into well-defined Snakemake workflows. Snakemaker non-invasively tracks the work performed in the bash terminal and R console by the researcher, analyzes execution patterns, and generates Snakemake workflows that can be integrated into existing pipelines. Snakemaker also supports the transformation of monolithic IPython Notebooks into modular Snakemake pipelines, resolving the global state of the notebook into discrete, file-based interactions between rules. An integrated chat assistant provides users with fine-grained control through natural language instructions. Snakemaker generates high-quality Snakemake workflows by adhering to the best practices, including Conda environment tracking, generic rule generation and loop unrolling. By lowering the barrier between prototype and production-quality code, Snakemaker addresses a critical gap in computational reproducibility for bioinformatics research.
In corso di stampa
20th International Conference on Computational Intelligence Methods for Bioinformatics and Biostatistics (CIBB 2025)
Milano, Italia – Politecnico di Milano
10–12 settembre 2025
Computational Intelligence Methods for Bioinformatics and Biostatistics
Springer
16673
339
349
9783032350633
9783032350640
https://link.springer.com/chapter/10.1007/978-3-032-35064-0_25
Sustainable data analysis, Generative AI, Snakemake, Reproducibility
Masera, Marco; Leone, Alessandro; Köster, Johannes; Molineris, Ivan
File in questo prodotto:
File Dimensione Formato  
Snakemaker_PDF_export.pdf

Accesso aperto con embargo fino al 02/02/2028

Tipo di file: POSTPRINT (VERSIONE FINALE DELL’AUTORE)
Dimensione 936.63 kB
Formato Adobe PDF
936.63 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/2171572
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact