Dry Lab / BUCT-iGEM 2026

Software

Protein mutation modeling and interactive kinetic simulation.

ProteinMutFlow · FDGB-Sim · MIT License

Software / 01

FDGB-Sim

Interactive Kinetic Simulation of Formate-Driven Glycine Biosynthesis

When designing a synthetic pathway involving multiple enzymatic steps, determining whether a reaction can occur is only the first step. Intermediate accumulation, sustained cofactor supply, the time required for fluxes to stabilize, and the effects of parameter assumptions on product allocation all influence experimental design. Manual calculations or the study of individual enzymes alone make it difficult to compare these factors on a common timescale.

We encountered this challenge when examining how formate enters glycine and serine metabolism through the tetrahydrofolate cycle, and therefore developed FDGB-Sim. The tool integrates five core reactions, sixteen dynamic species, and three cofactor handling modes into an interactive kinetic simulation interface. Starting from an explicit set of parameters, users can track concentrations, fluxes, and cofactor demand over time and then perform local sensitivity analysis.

The current software package includes 46 parameter records with evidence classifications and 15 automated tests, providing simulation scenarios that can be inspected, compared, and tested experimentally. Figure 1 summarizes the complete workflow from parameter inputs to experimental hypotheses.

Figure 1. Overview of the FDGB-Sim software workflow.

Figure 1. Overview of the FDGB-Sim software workflow. Users specify effective enzyme capacities, initial concentrations, simulation duration, and a cofactor mode. The ODE solver returns metabolite concentrations, reaction fluxes, and cofactor demand. Subsequent ±10% local sensitivity analysis identifies parameters to prioritize for experimental validation.

Overview

FDGB-Sim is an interactive kinetic simulation tool built with Streamlit. Through its graphical interface, users can adjust the effective enzyme capacities of FtfL, FchA, MtdA, reverse GCS, and SHMT, as well as the initial concentrations of formate, folate intermediates, amino acids, nitrogen sources, ATP, and reduced cofactors.

Standard workflow: run a baseline simulation first, then perform sensitivity analysis using that baseline.

streamlit run main.py

The software runs locally without relying on cloud computing services. After a simulation, the interface displays endpoint metrics, concentration trajectories, reaction flux trajectories, and cumulative cofactor demand.

Figure 2. FDGB-Sim interface.

Figure 2. FDGB-Sim interface.

Key Features

Reaction-aware dynamic simulation

The software connects the five core reactions through a stoichiometric matrix and integrates the ordinary differential equations using the LSODA solver in SciPy. Substrate and product stoichiometries for FtfL, FchA, and MtdA are explicitly encoded, while water and protons are treated as buffered environmental species.

Three cofactor modes

FDGB-Sim provides three modes: buffered whole-cell, homeostatic regeneration, and closed pool / cell-free. Users can select an idealized cellular background, simplified regeneration, or a closed system without regeneration according to their needs.

Concentrations, fluxes, and cofactor demand

Outputs include not only glycine and serine, but also formate, four folate states, ammonia, bicarbonate, ATP/ADP, NADPH/NADP⁺, and NADH/NAD⁺. Cumulative integration also gives the total demand for ATP, NADPH, and NADH and their average required regeneration rates.

Sensitivity and parameter provenance

Users can apply ±10% local perturbations to nine key enzyme capacities or initial conditions. The software also records parameter values, units, sources, and Literature / Provisional / Assumed evidence classifications to distinguish scenario assumptions from validated constants.

Workflow

  1. Define the scenario: set effective enzyme capacities, initial metabolite concentrations, and simulation duration.
  2. Choose cofactor handling: select a cofactor mode representing a whole-cell background, simplified regeneration, or a closed system.
  3. Run the kinetic model: solve the ordinary differential equations for 16 dynamic states and check that the numerical values are finite and non-negative.
  4. Inspect outputs: compare amino acids, folate intermediates, substrates, reaction fluxes, and cumulative cofactor demand.
  5. Test local sensitivity: apply ±10% perturbations around the completed baseline simulation to generate a ranked table and a signed bar chart.
Figure 3. FDGB-Sim interaction and five-stage workflow.

Figure 3. FDGB-Sim interaction and five-stage workflow.

Validation Results

Software validation covers reaction stoichiometry, time units, numerical stability, all three cofactor modes, demand integration, and the Streamlit interface. All 15 tests in the current repository pass.

Validation level Coverage Result
Reaction checks Substrate and product stoichiometries of FtfL, FchA, and MtdA Pass
Numerical checks Time in minutes, finite values, non-negative concentrations, and default-scenario integration Pass
Cofactor checks Fixed pools in buffered mode, depletion in closed mode, and partial recovery in homeostatic mode Pass
Accounting checks Cumulative ATP, NADPH, and NADH demand Pass
Interface checks Streamlit smoke tests for all three modes and the sensitivity table and bar chart Pass

Validation scope

These tests verify consistency in code execution, reaction stoichiometry, and software outputs; they do not constitute quantitative biological validation in the target strain. Complete wet-lab time series remain necessary for subsequent calibration and predictive validation.

Quick Start

  1. Clone the iGEM GitLab repository and enter the project directory.
  2. Create a Python virtual environment and install the dependencies in requirements.txt.
  3. Run streamlit run main.py.
  4. Select a cofactor mode and confirm the initial conditions and effective enzyme capacities.
  5. Run the baseline simulation first, followed by sensitivity analysis.

The complete commands are provided below:

Windows (PowerShell or Command Prompt)

git clone https://gitlab.igem.org/2026/software/buct/fdgb-sim.git
cd fdgb-sim
python -m venv .venv
.venv\Scripts\python -m pip install -r requirements.txt
.venv\Scripts\python -m streamlit run main.py

macOS / Linux

git clone https://gitlab.igem.org/2026/software/buct/fdgb-sim.git
cd fdgb-sim
python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
.venv/bin/python -m streamlit run main.py

Scope of the Results

FDGB-Sim simulates user-defined kinetic scenarios. It does not automatically select a host, predict gene expression, represent the complete metabolome, or provide actual yields without calibration. Default Vmax values represent effective pathway capacities, and initial concentrations define an illustrative scenario. Fixed cofactors in buffered mode represent boundary conditions imposed by unmodeled background metabolism, rather than the absence of chemical consumption.

The current outputs support mechanistic understanding, trend comparisons, and the prioritization of experiments. Quantitative conclusions about yield, timescales, or engineered strain performance require parameters for the target host and supporting wet-lab data.

Availability

FDGB-Sim is open source under the MIT License. The repository includes source code, an English README, a parameter provenance table, dependency files, automated tests, and a mode comparison script.

Project resources:

  • iGEM GitLab repository
  • Parameter provenance table: docs/parameters.csv
  • Model tests: tests/test_model.py
  • Interface tests: tests/test_app.py

Software / 02

ProteinMutFlow

Automated Protein Mutation Modeling and Structural Measurement

Large mutation campaigns place a heavy operational load on a dry-lab team. Each variant has to be built, locally minimized, checked, measured, named, and added to a result table. Across a saturation campaign, this sequence consumes hours and every additional mutation creates another opportunity for a missed step or an inconsistent setting.

Our team encountered this bottleneck while carrying out large-scale saturation mutagenesis on the H protein of the glycine cleavage system. As the mutation space expanded, structure generation and structural measurements began to limit how quickly we could explore new designs. We developed ProteinMutFlow to run the mutation-to-measure workflow from a single configuration and record the outcome of every variant.

ProteinMutFlow connects a prepared protein structure and a user-defined mutation set with Schrödinger modeling, headless PyMOL measurements, built-in quality control, and compact results. It supports both single-site saturation and explicitly defined single-site or multi-site variants.

Recorded workflow Scale Outcome Elapsed time
Routine single-mutant campaign 57 single-site variants Modeling and structural measurements completed 8–10 hours manual → approximately 1 hour automated
Production-scale workflow from which ProteinMutFlow was engineered 500 variants 500/500 modeled; WT + 500 structures measured; no CHECK or FAILED items approximately 2 hours 7 minutes

These runs were performed on a Windows workstation with an AMD Ryzen 7 processor and 16 GB RAM. Runtime varies with protein size, mutation count, selected measurements, local-minimization settings, and hardware.

Overview

ProteinMutFlow is a configuration-driven command-line toolkit for batch protein mutation modeling and structural metric extraction. Users define the structure, mutations, local environment, and measurements. The software validates the request, runs each variant through the selected scientific backends, checks the resulting structures, and records every outcome.

The normal user path contains three commands:

mutflow init
mutflow preflight workflow.yaml
mutflow run workflow.yaml

mutflow init is an optional setup wizard. Experienced users can write workflow.yaml directly. preflight checks the complete job without starting mutation modeling. run executes the accepted configuration from modeling through measurement and quality control.

After installation and configuration, ProteinMutFlow runs locally. Scientific execution does not depend on an internet connection or cloud service.

Key Features

Two mutation input modes

ProteinMutFlow supports two practical ways to define a mutation campaign.

Mode User input Typical use
Single-site saturation Chain and residue position Systematically generate the 19 standard non-WT substitutions at each requested site
Explicit mutation table A CSV table containing stable variant IDs and mutation definitions Run selected single substitutions, double mutants, triple mutants, or general multi-site variants

The mutation space remains explicit and reviewable before execution. A configurable batch ceiling prevents an accidental expansion from launching an unexpectedly large job. The default limit is 500 variants, and users can deliberately raise it in YAML for a larger campaign.

Automated mutation and local minimization

For each requested variant, ProteinMutFlow starts from a fresh prepared WT structure, applies the defined mutation or mutation set through Schrödinger, and locally minimizes the configured neighborhood. Multi-site variants are applied sequentially to the same fresh WT-derived structure, preserving a consistent starting point across the batch.

Configurable structural measurements

Headless PyMOL workers measure the structural features selected by the user. The current toolkit supports:

  • solvent-accessible surface area (SASA), including optional WT-relative changes;
  • minimum distances between configured structural selections;
  • van der Waals overlap and clash measurements;
  • selection-count and atom-count checks for structural quality control.

Selections are stored in the workflow configuration, so the same definitions are applied consistently to every structure in the batch.

Batch-aware quality control

ProteinMutFlow reads the modeled structure back and checks whether the requested residue identity is present. It also checks structure readability, required selections, expected atom counts, and finite metric values. Each variant receives clear modeling, readback, measurement, and QC statuses in the consolidated result table.

Failure isolation and resume

A failed variant is recorded without stopping unrelated variants. If a run is interrupted, the user can continue with:

mutflow run --resume workflow.yaml

Resume checks the input structure, configuration, expanded variants, output schema, and completed structures before continuing. Completed stages are preserved, and only eligible unfinished work is resumed. This is especially useful when a batch occupies a workstation for several hours.

Compact output

A successful default run produces four top-level deliverables:

output/
├── structures/
├── results.csv
├── run.json
└── run.log

structures/ contains the final modeled PDB files. results.csv gives one row for every requested variant, including failed items. run.json records the normalized configuration, software environment, hashes, timestamps, and batch counts. run.log provides chronological diagnostics. Temporary working files stay outside the final tree unless debug retention is explicitly requested.

Workflow

ProteinMutFlow organizes the full process into five stages.

1. Define the campaign

The user provides a prepared WT structure and a workflow.yaml file. An explicit mutations.csv is added when selected single-site or multi-site variants are used. The configuration also defines the local-minimization radius, output location, PyMOL selections, and requested metrics.

2. Run preflight

Preflight verifies the configuration schema, input files, residue identities, mutation notation, duplicate variants, batch size, output conflicts, and required backend environments. It reports the expanded variant count and ends with READY, CHECK, or REFUSED. No mutation or metric calculation is performed at this stage, and no preflight file is written by default.

3. Model each variant

The Schrödinger backend generates the requested mutation and performs local minimization around the mutation sites. Final structures are promoted to the output directory after the modeling checks pass.

4. Measure and check the structures

PyMOL calculates the configured SASA, distance, clash, and selection-count metrics. ProteinMutFlow combines these measurements with mutation readback and per-variant QC.

5. Consolidate the results

The toolkit updates results.csv during batch execution and records run-level provenance in run.json. The final output is ready for downstream analysis, visualization, or a team-defined scoring workflow.

Validation Results

Public end-to-end validation

The packaged alpha release completed a public 1UBQ workflow on the recorded Windows reference environment. The test included three objects:

Variant Requested mutation Overall status
WT WT baseline OK
M001 A:G10A OK
M002 A:G10A_A:K11A OK

The batch completed the real Schrödinger-plus-PyMOL path. Both mutants passed modeling and mutation readback, while WT and both mutants passed the configured measurements and QC. Schema checks, result counts, finite metric checks, and the compact output tree also passed. A completed-run resume attempt was refused without modifying the accepted output.

The example configuration, mutation table, preparation procedure, reference checksums, and acceptance report are publicly available:

Production-scale workflow evidence

The production workflow from which ProteinMutFlow was engineered completed mutation modeling for 500/500 variants. It then measured SASA, distance, and clash metrics for all 501 structures, including the WT baseline. Every structure finished with an OK result. Modeling and measurement took approximately 2 hours 7 minutes on our Windows workstation with an AMD Ryzen 7 processor and 16 GB RAM.

This 500-variant run belongs to the production workflow of origin. The packaged alpha release has its own direct end-to-end acceptance through the public 1UBQ example. The larger run supplied the scale and failure-handling requirements used when ProteinMutFlow was packaged for reuse.

Automated tests and continuous integration

The repository contains 29 public automated tests covering mutation parsing, configuration schemas, preflight behavior, backend handling, compact outputs, failure isolation, and resume safety. GitHub Actions installs the package and runs the test suite on Windows with Python 3.11 and Python 3.12.

Quick Start

1. Install ProteinMutFlow

ProteinMutFlow currently targets Python 3.11 or 3.12 on Windows. Clone the official iGEM GitLab repository, create an isolated environment, and install the package:

git clone https://gitlab.igem.org/2026/software/buct/proteinmutflow.git
cd proteinmutflow
python -m venv .venv
.venv\Scripts\python -m pip install .
.venv\Scripts\mutflow --version

2. Prepare the scientific backends

Mutation modeling and local minimization require a separately installed and licensed Schrödinger environment. Structural measurements require a separately installed PyMOL environment. ProteinMutFlow does not bundle either application.

The recorded reference environment is:

  • Windows;
  • Python 3.12.6 for the ProteinMutFlow core environment;
  • Schrödinger Suite 2025-1, Build 129;
  • PyMOL 3.0.3.

The current release is Windows-first and carries version 0.1.0-alpha.1. Other combinations may work, while the versions above remain the verified reference.

3. Create or edit a workflow

The optional wizard collects explicit paths and scientific settings and writes a schema-valid configuration:

.venv\Scripts\mutflow init

Users can also start from the published examples and edit workflow.yaml directly. Protein structures used with Schrödinger force-field operations must be chemically prepared before the run.

4. Check and run

.venv\Scripts\mutflow preflight workflow.yaml
.venv\Scripts\mutflow run workflow.yaml

For detailed setup and configuration, see:

Core Innovations

Preflight as an execution gate

ProteinMutFlow expands the mutation request, checks the input structure and software environments, detects output conflicts, and enforces the batch limit before computation. Users see the exact task count and backend readiness before committing workstation time.

One compact state ledger

ProteinMutFlow keeps the default user-facing tree small. results.csv, run.json, and the validated structures also provide the state required for safe continuation, without a separate family of recovery files.

Per-variant accountability

Every requested variant receives separate modeling, mutation readback, metric, and QC statuses. A difficult structure stays visible in the final table without erasing progress elsewhere in the batch.

Configuration-driven scientific choices

Mutation sites, ligand names, structural selections, and minimization settings are supplied through portable YAML and CSV files. Teams can adapt the workflow to a new protein without editing the source code.

Open orchestration for established structural tools

ProteinMutFlow connects Schrödinger and PyMOL through an open-source orchestration layer with preflight checks, per-variant status tracking, and consistent outputs.

Value for the iGEM Community

ProteinMutFlow gives dry-lab teams a practical route from a prepared structure and a mutation list to modeled structures and measurements. It can support focused mutation lists, site-saturation studies, and explicitly designed multi-site libraries. The workflow is especially useful when a team already has access to Schrödinger and needs to scale routine structure operations without assigning a member to process every variant manually.

The recorded 500-variant run shows that hundreds of structures can be handled in one batch on our AMD Ryzen 7 workstation with 16 GB RAM. For broader projects, the same batching and resume design can make mutation spaces involving hundreds, and potentially thousands, of variants manageable. Larger campaigns should be divided according to local compute capacity and raised above the default 500-variant ceiling only after preflight review.

By reducing repetitive operations, ProteinMutFlow gives teams more time for mutation design, result interpretation, visualization, and experimental planning. Its configuration and output contracts also make collaboration easier: team members can review what was requested, reproduce the same task list, and trace each result back to a recorded run.

Scope of the Results

ProteinMutFlow automates user-selected structural operations. It does not choose biologically meaningful sites, design an experimental library, predict enzyme activity, calculate DeltaDeltaG through PyMOL, perform molecular dynamics, or generate a Wet Lab shortlist. Structural models and static measurements provide computational evidence for downstream analysis. Biological interpretation and experimental validation remain with the research team.

The current alpha release has been validated on the recorded Windows reference environment. Compatibility with additional operating systems and untested Schrödinger or PyMOL versions will be added through future validation records.

The complete interpretation boundary is documented in Scientific Boundaries.