A Unified Software-Generating Framework for Biological Data Analysis

Abstract

In recent decades, biological data analysis has increasingly relied on software. For example, complex analyses of the human brain or plant data have often been conducted with newly developed toolboxes, workflow engines, and graphical platforms. As the software ecosystem grows, however, it becomes harder to keep code, interfaces, and tests in step, and to reuse methods across studies, modalities, and domains without rewriting large parts of the stack. This thesis proposes a software-generating framework Genesis, which is implemented within an in-house-developed software ecosystem BRAPH 2 (BRain Analysis using graPH theory, second edition). The framework has two stages. First, each analysis component is written once as a human-readable .gen.m description that combines MATLAB code with structured declarations of its inputs, parameters, documentation, and a graphical interface. Second, a compiler turns these descriptions into executable modules, graphical interfaces, unit tests, and complete, shareable software distributions. The core idea of Genesis is to shift effort from crafting one-off tools and graphical user interfaces to maintaining a centrally defined library of descriptions. Most importantly, these centrally defined descriptions can be recombined and regenerated to investigate a different research question, while the code, interfaces, and tests remain in sync. This thesis presents four studies to demonstrate Genesis’s feasibility across different biological analyses. BRAPH 2, a distribution for network neuroscience, provides the initial infrastructure for graphical interfaces, pipeline orchestration, and core statistical and neural-network elements. Using the same .gen.m description language and compiler, GapNet extends this stack with an alternative training approach for incomplete neuroimaging cohorts. The human bone-marrow light sheet microscopy study adds graph-based microenvironment descriptors and variational autoencoder elements for unsupervised niche discovery. Finally, the plant Raman spectroscopy study reuses the same autoencoder machinery, with minimal spectral preprocessing, to characterise stress responses across species and stressors. Taken together, these studies show that a single description-centred framework can span imaging and spectroscopy, minimise boilerplate, and make complex pipelines more portable, auditable, and extensible. By treating code, interfaces, and tests as generated views of shared .gen.m descriptions, Genesis supports more transparent and reproducible development of analysis software in computational biology.

Description

Keywords

Citation

ISBN

978-91-8115-589-1 (PRINT)
978-91-8115-590-7 (PDF)

Articles

BRAPH 2: a flexible, open-source, reproducible, community-oriented, easy-to-use framework for network analyses in neurosciences Yu-Wei Chang†, Blanca Zufiria-Gerbolés†, Emiliano Gómez-Ruiz, Anna Canal-Garcia, Hang Zhao, Mite Mijalkov, Joana B. Pereira, Giovanni Volpe Manuscript submitted (2025). https://www.biorxiv.org/content/10.1101/2025.04.11.648455v1

Neural network training with highly incomplete medical datasets Yu-Wei Chang†, Laura Natali†, Oveis Jamialahmadi, Stefano Romeo, Joana B. Pereira, Giovanni Volpe Machine Learning: Science and Technology 3, 035001 (2022). https://doi.org/10.1088/2632-2153/ac7b69

Quantitative multicolored deep imaging of human bones reveals a composite osteo-sinusoidal niche for mesenchymal stromal cells Nelson Tsz Long Chu, Ostap Dregval, Yu-Wei Chang, Emil Kriukov, Dana Trompet, Misty Shuo Zhang, Lei Li, Xin Liu, Xin Tian, Emiliano Gómez-Ruiz, Joana B. Pereira, Mats Brittberg, Björn Barenius, Lars Sävendahl, Ralf H. Adams, Giovanni Volpe, Andrei S. Chagin Manuscript accepted by Nature Biomedical Engineering (2025). https://www.biorxiv.org/content/10.1101/2025.10.07.680053v1

Deep-learning investigation of vibrational Raman spectra for plant-stress analysis Anoop C. Patil†, Benny Jian Rong Sng†, Yu-Wei Chang†, Joana B. Pereira, Chua Nam-Hai, Rajani Sarojam, Gajendra Pratap Singh, In-Cheol Jang, Giovanni Volpe Manuscript under preparation (2025). https://doi.org/10.48550/arXiv.2507.15772

Department

Department of Physics ; Institutionen för fysik

Defence location

Fredagen den 23 januari 2026 kl. 13.00 i sal SB-H7, Sven Hultins Gata 6, Göteborg.

Endorsement

Review

Supplemented By

Referenced By