bioRxivBioinformaticsPreprint
Styx: A multi-language API Generator for Command-Line Tools
Florian RupprechtiD, Jason KaiiD, Biraj ShresthaiD, Steven GiavasisiD, Ting XuiD, Tristan GlatardiD, Michael Peter MilhamiD, Gregory KiariD
Abstract
In numerous scientific domains, established tools have often been developed with complex command-line interfaces. Such is the case for brain imaging and bioinformatics, making the use of powerful legacy tools in modern workflow paradigms challenging. We present (i) Styx, a compiler for generating language-native wrapper functions from static tool metadata, leading to seamless integration of command-line tools within the data science ecosystem. Alongside Styx, we have created (ii) NiWrap, a collection of more than 1900 neuroimaging command-line function descriptions as a proof-of-concept implementation. These interfaces, available in Python, R, and TypeScript (available at https://github.com/styx-api), significantly reduce the complexity of writing and interpreting software pipelines, particularly when composing workflows across packages with distinct API standards. The compiler architecture of Styx facilitates maintainability and portability across computing environments. As with all metadata-dependent infrastructure, creating sufficient metadata annotations remains a barrier to adoption. Accordingly, NiWrap demonstrates approaches that lower this barrier through direct source code extraction and LLM-assisted documentation parsing. Together, Styx and NiWrap offer a sustainable solution for interfacing diverse command-line tools with modern data science ecosystems. This modular approach enhances reproducibility and efficiency in pipeline development while ensuring portability across computing environments and programming languages.
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- saks-nf: A json solution for Nextflow pipeline construction
Xinming Zhuo, Nicholas Renzette, Gregory Omerza·bioRxiv·Sep 19, 2022
- QuNex Recipes: Executable, Human-Readable Workflows for Reproducible Neuroimaging Research
Jure Demšar, Aleksij Kraljič, … Grega Repovš·Imaging NeurosciencePeer-reviewed·Jan 1, 2026
- Neurodesk: An accessible, flexible, and portable data analysis environment for reproducible neuroimaging
Angela Renton, Thuy Thanh Dao, … Steffen Bollmann·Nature MethodsPeer-reviewed·Jan 8, 2024
- netneurotools: a trainee-oriented approach to network neuroscience
Zhen-Qi Liu, Vincent Bazinet, … Bratislav Mišić·Nature ProtocolsPeer-reviewed·Sep 9, 2026
- NextflowWorkbench: Reproducible and Reusable Workflows for Beginners and Experts
Jason P. Kurs, Manuele Simi, Fabien Campagne·bioRxiv·Mar 28, 2016
- PromptBio: A Multi-Agent AI Platform for Bioinformatics Data Analysis
Minzhe Zhang, Wenhao Gu, … Xiao Yang·bioRxiv·Jul 5, 2025