1. Introduction


Engineering heat-resistant proteins often appear to be a single, recurring question: will a specific mutation make the protein more or less heat-stable? Answering this in the lab is slow and expensive, as each mutation candidate requires synthesis, expression, and testing. To save time, researchers nowadays rely on computational models to screen variants first.

However, most established models require a solved 3D structure [1]. This creates a major bottleneck when researchers are working with newly designed sequences or novel proteins, without a known counterpart in the Protein Data Bank (PDB).

We designed PyroForge, a sequence-only prediction platform. From a browser, a user pastes an amino acid sequence (or DNA, which is translated to protein), and the platform estimates melting temperature (Tm) and folding free energy (ΔG). It then scans every possible single-residue substitution, ranking candidates by their predicted impact (ΔΔG) alongside confidence intervals. For further context, PyroForge uses ESMFold to generate side-by-side 3D models of the wild-type and the variant protein, searches the iGEM Registry for related biological parts, and generates a codon-optimized coding sequence with a hand-off link to a DNA vendor (pricing happens on the vendor site; PyroForge does not quote a price). The tool is built to return a shortlist of candidates to screen, not a list of verified stabilizing mutations.

Throughout this page, three thermodynamic quantities are used. Their definitions are:

  • Tm (melting temperature): the temperature at which a protein unfolds.
  • ΔG / dG (folding free energy): the free-energy difference between the folded and unfolded states of a protein.
  • ΔΔG / ddg (change in folding free energy): the change in folding free energy caused by a mutation, used to rank whether a substitution stabilizes or destabilizes the protein.

Beneath the surface, the platform runs on the ESM-2 protein language model, using a frozen core to extract features for three light, custom-trained heads predicting Tm, ΔG and ΔΔG. A React frontend communicates with a FastAPI backend, which offloads intensive tasks to background workers.

PyroForge icon
PyroForge Icon

2. Software Documentation


Source code is released under the Apache License 2.0 (an OSI-approved open-source license) on the iGEM GitLab. A full software document (user guide, API reference, deployment, provenance, and known limits) is linked below.

Try it in three steps: open the live site → click + New → paste the sample sequence below → Run Prediction, then Run Optimization. DNA can be pasted instead of protein; the app translates the longest ORF. Screenshots of each card are in Section 5; install and API details are in the GitLab README.

PyroForge is hosted on our team's own server and needs no installation, where a browser is enough for a quick try. Source code is on the iGEM GitLab. Scan the QR code below, or open the live site directly:

PyroForge QR code
Scan to open PyroForge
https://pyroforge.26650078.xyz/

Protein sequences between 10 and 400 residues are accepted (DNA is translated first, then the same length gate applies). One sample protein sequence:

MTYKLILNGKTLKGETTTEAVDAATAEKVFKQYANDNGVDGEWTYDDATKTFTVTE
(protein G B1 domain)

Datasets and trained weights are archived on Zenodo (Section 7).

3. Software Development Life Cycle (SDLC)


3.1 Planning

PyroForge was designed around a single workflow:

Input → Predict → Optimize → Fold → Order.

Browser-only execution was ruled out because ESM-2 (650M) requires ~2.5 GB of weights, site-saturation scans require O(L × 20) sequential forward passes, and a 60-residue scan takes ~1 minute on a GPU using ~5.6 GB VRAM. The architecture was thus committed to a server backend with a job queue and an asynchronous client.

Out of Scope: To keep the tool focused, we deliberately omitted user accounts and server-side storage (all analyses remain local to the browser). We also excluded live pricing integrations, delegating synthesis quotes and ordering directly to external vendors.

Fig. 3.1 PyroForge 5-step Workflow
Fig. 3.1: PyroForge 5-step Workflow

3.2 Analysis

The UI consists of seven functional card modules: sequence validation, composition descriptors, thermodynamic prediction, mutation scanning, 3D structure with stability heatmaps, iGEM Registry search, and codon optimization with order hand-off.

# Requirement Component
1 Sequence input and validation features/input/SequenceInputCard.tsx
2 Elemental / char-precursor composition descriptors features/composition/CompositionCard.tsx
3 Thermodynamic prediction (Tm / dG / ΔΔG) features/prediction/PredictionCard.tsx
4 Mutation scan and shortlist features/optimization/OptimizationCard.tsx
5 3-D structure with stability heatmap features/visualization/ThermalStructureCard.tsx
6 iGEM Registry homology search features/registry/RegistryCard.tsx
7 Codon optimization and ordering hand-off features/procurement/ProcurementCard.tsx

Table 3.1: Requirement analysis and its solution

Four constraints dictated the design:

  • Single-slot worker: ESM-2 and PyTorch are not fork-safe. To prevent a job from blocking all users, length caps, task timeouts, and per-IP rate limits are strictly enforced.
  • Apple MPS incompatibility: ESM-2 outputs near-constant embeddings on MPS, collapsing downstream predictions to the training mean. Serving hardware must match training hardware.
  • Unauthenticated deployment: Hosted on an open school GPU server, so all security is enforced at the frontend reverse proxy.
  • External dependencies: The structure prediction service and iGEM database snapshot are provisioned as distinct services that report their status to the UI.

3.3 Design

Architecture & Workflows

To prevent fast tasks from being blocked by multi-minute computations on a single-slot worker, the system distributes workload across three dedicated Celery queues:

  1. fast Queue: Handles lightweight tasks like sequence predictions and registry searches (~1s using resident ESM-2).
  2. heavy Queue: Manages GPU-bound jobs like mutation optimization and model training (takes several minutes).
  3. io Queue: Dedicated to network-bound structure folding via ESMFold (with ESM Atlas fallback). Keeping io separate ensures long network waits (up to 300 s) never consume valuable GPU worker slots.

Only the Nginx frontend reverse proxy (port 3002) is exposed publicly; the FastAPI backend, Redis, and worker services remain completely isolated within the internal Docker network. Additionally, all embeddings are computed live during runtime via ESM-2 650M.

Fig. 3.2 System Architecture
Fig. 3.2: System Architecture
Technology Choices
Layer Tool used Reason
Frontend React + TypeScript + Vite + Mantine Strong API typing, fast builds, and pre-built components keep development focused on core science.
Backend FastAPI Pydantic schema validation rejects invalid inputs at the API boundary with HTTP 400s before they waste worker time.
Queue Celery + Redis Asynchronously offloads long tasks from the request path and serves as a result store.
Deployment Docker Compose Speed up the entire stack (GPU host, workers, and folding services) with a single docker command.
Edge Nginx Serves as a same-origin API proxy and enforces rate limiting to protect the unauthenticated backend.

Table 3.2: Technology method chosen for PyroForge

3.4 Implementation

The frontend is organized by feature. Analysis data is stored in local browser storage, with large structure files stripped to fit quota limits. An error boundary is present to isolate individual card failures.

The backend exposes five engines via a central registry: Prediction, Optimization, Visualization, Registry, and Procurement. Models will load at startup and reject checkpoints with mismatched normalization stats.

Fig. 3.3 (a) Frontend code file structure

(a) Frontend

Fig. 3.3 (b) Backend code file structure

(b) Backend

Fig. 3.3: (a) Frontend and (b) Backend code file structure implementation
ML Pipeline

The ESM-2 650M backbone remains frozen, serving strictly as a feature extractor that maps sequences to 1,280-dimensional vectors. Therefore, training in PyroForge is currently limited to lightweight downstream prediction heads, allowing full model retrains in hours without dedicated cluster allocations. The embedding archive used for ΔΔG/dG has 544,365 rows across 499 parent proteins (Tsuboyama 2023); the ΔΔG trainer itself fits on the labelled parent-group split of 494,370 rows / 449 parents. The Tm head is trained on Meltome Atlas (4,000 training proteins, 1,106 held-out; 5,106 total).

3.5 Testing

Testing of PyroForge covers four levels:

3.5.1 Unit Test

The tests below validate invariants and verify local repo imports.

File Property
test_ddg_invariants.py Enforces thermodynamic sanity: ΔΔG(wt→wt) = 0; ΔΔG(A→B) = −ΔΔG(B→A); and verifies batched scan consistency against single-pair predictions.
test_dataset_split.py Ensures complete parent-protein holdouts with no overlap across splits.
test_optimization.py Confirms top-k selection applies a sign floor and never returns predicted-destabilizing variants.
test_codon.py Validates Codon Adaptation Index (CAI) normalization within synonymous codon families.
test_procurement.py Ensures all construct metrics derive solely from sequence.
test_registry.py Verifies the engine returns null responses when the local registry database is missing.
test_igem_sql.py Confirms valid parsing of iGEM Registry SQL dumps containing lowercase DNA sequences.
test_visualization.py Restricts ESMFold public API fallbacks exclusively to primary service outages.

Table 3.3: Unit Tests in PyroForge

3.5.2 Model Validation

Parent-disjoint splits and grouped cross-validation. External benchmarking uses S669 [1] and Ssym [4] datasets.

3.5.3 System Benchmarking

Serving cost was profiled (cold start, prediction latency by length, scan cost, peak memory) so length caps and the single-slot worker could be set. Those timings were collected on Apple MPS, which Section 3.2 documents as an invalid serving backend for ESM-2, so they are not published as product numbers. Model quality is reported in Sections 4.3–4.4 instead.

3.5.4 User Acceptance Testing (UAT)

The final phase of testing is User Acceptance Testing (UAT), designed to evaluate real-world usability. A structured survey asked 226 users to complete the full analysis workflow: sequence entry, prediction, optimization, 3D visualization, and procurement.

Fig. 3.4 UAT survey form for PyroForge
Fig. 3.4: UAT survey form for PyroForge
Software workflow

About seven to eight in ten users found each of the six core tasks easy. Between 20% and 27% had some difficulty, and a smaller group could not finish certain steps. The interface was revised so those steps are easier to follow.

Task Easy % of Easy
Start a new sequence 179 79.2
Run prediction 178 78.8
Run optimization 166 73.5
View 3D structure 164 72.6
Use procurement feature 169 74.8
Reload and keep work 174 77.0

Table 3.4: Ease of completing each workflow task (n = 226)

Software stability

Users were asked whether anything behaved abnormally during testing. Most users (88.9%) saw no abnormal behavior. Together with those who saw only one issue, 94% finished with at most a single disruption. About 6% reported several issues, most of them are ESMFold API timeouts.

Response Count %
No, everything worked 201 88.9
Yes, once 12 5.3
Yes, a few times 13 5.8

Table 3.5: Reports of abnormal behavior during UAT

Clarity scores

Five statements asked how easy PyroForge was to use. Between 78% and 83% of users scored each statement 4 or higher. Agreement was highest for visual design (83.2%) and lowest for using the app without help (77.9%). Feedback pointed to an interface that did not state sequence position and mutation rank clearly enough; that layout was redesigned.

Statement ≥ 4 % ≥ 4
The app was easy to use without help 176 77.9
The words on screen were easy to understand 180 79.6
I could tell what the app was doing (loading / done / failed) 182 80.5
I understood what the results mean 181 80.1
The design looks good and is easy to read 188 83.2

Table 3.6: Clarity and usability scores (share scoring 4 or higher)

Overall rating

Users rated the application on a 1–10 scale. The mean rating was 8.81 and the median was 9. 71.2% gave a 9 or 10, and 90.7% rated it 7 or higher. Satisfaction with the functions is high; launch readiness still depends on the stability and completion issues below.

Data Value
Mean rating 8.81
Median rating 9
Rated 9 or 10 71.2%
Rated 7 or above 90.7%

Table 3.7: Overall rating on a 1–10 scale

Launch readiness

93% of users said the product could launch immediately or after minor fixes. Immediate launch was supported by 68.6%, and 7.1% still judged it unready. That last group lines up with the 6.7% who said visualization never finished, usually after a long wait. Folding has since moved to a local GPU deployment, so launch readiness is expected to improve.

Response Count %
Yes, launch now 155 68.6
Launch after fixing small problems 55 24.3
Not ready yet 16 7.1

Table 3.8: Launch readiness

User feedback and responses

1. Visualization function timeout

Fig. 3.5 User feedback on the visualization function
Fig. 3.5: User feedback on the visualization function

Problem: The ESMFold API used for folding is unstable and can time out. When that happens, the visualization step fails on the user side.

Solution: The folding service now runs on PyroForge’s own GPU server. That keeps the service up, removes the API timeouts, and lets 3D visualization finish without interruption.

2. Unclear optimization UI

Fig. 3.6 User feedback on the optimization function
Fig. 3.6: User feedback on the optimization function

Problem: The previous optimization view did not make sequence position and substitution coordinates easy to read, so users were unsure which residue had changed.

Solution: The optimization view was redesigned. Mutated positions are highlighted, and the top five mutations are listed with their residue numbers.

3. Input limitations

Fig. 3.7 User feedback on the input limitations
Fig. 3.7: User feedback on the input limitations

Problem: The previous input validation only allowed users to submit an amino acid sequence, so users could not submit DNA sequences, which are commonly used in thermodynamic analysis, for predictions.

Solution: The input function was expanded and redesigned so that users can submit either amino acid or DNA sequences for convenience prediction. The system will now process DNA sequences into amino acid sequences.

3.6 Maintenance

Phase 6 maintains a GPU host running six Docker containers initialized via deploy/pyroforge.service.

  • Queue depth serves as the primary system health indicator, with HTTP 429 entries logging in Nginx during rate limiting.
  • To avoid operational downtime, production updates require full image rebuilds after git pull calls and explicit -f flags on all Docker Compose commands.
  • Data pipelines digest iGEM MySQL dumps directly to bypass 403 errors on the public FASTA endpoint (yielding 22,294 clean protein parts), while structure prediction was moved to a self-hosted ESMFold instance on a second GPU to eliminate 504 errors from the archived ESM Atlas API.
  • Source code resides on GitLab, whereas heavy weights and datasets are archived on Zenodo with DOIs (section 7).

4. Model Design and Validation


4.1 Three Prediction Heads

In PyroForge, ESM-2 650M [2] serves purely as a frozen feature extractor without fine-tuning. The following three lightweight head models are trained on its output vectors:

  • Absolute melting temperature (Tm): Trained on the Meltome Atlas [3].
  • Folding free energy (ΔG) & Mutation stability change (ΔΔG): Trained on the Tsuboyama 2023 mega-scale dataset [5].

To rank mutations, the ΔΔG model takes both the mutant embedding and the difference embedding (mutant – wildtype) as input. Subtracting the wild-type vector removes sequence-invariant features, enabling precise within-protein mutation ranking at the expense of cross-protein absolute stability comparisons.

Output Meaning Model Architecture Data source
Tm Absolute melting temperature (°C) model_tm.joblib
PCA-100 → Ridge + gradient boosting
Meltome Atlas, 4,000 training proteins (held-out n = 1,106)
dG Folding free energy (kcal/mol) model_thermo.pt
MLP [128, 1024, 128, 1024], architecture from Hyperband NAS
Tsuboyama 2023, dg
ΔΔG Stability change caused by a mutation (kcal/mol) model_ddg.pt
MLP [256, 256, 256], dropout 0.324
Tsuboyama 2023, ddg training split: 494,370 rows / 449 parents

Table 4.1: Three prediction heads in PyroForge

Held-out test results:

Fig. 4.1 Held-out test results of the 3 Prediction Heads
Fig. 4.1: Held-out test results of the 3 Prediction Heads

4.2 Data Handling

To prevent data leakage caused by near-identical mutants, train/validation splits are strictly grouped by parent protein (enforced via unit test).

Because raw sequence data is omitted in dataset exports, data integrity was validated against key physical invariants (mutation effect derived from absolute measurements, proteolysis readings, and forward/reverse sign symmetry). An unverified Tm column in the export was discarded, so Tm models rely solely on Meltome data.

4.3 Internal Validation

To validate ΔΔG model ranking accuracy, a grouped cross-validation across all 266 parent proteins was performed, the result shows that:

  • Top-5 Precision: 73.6% of top-ranked mutations are genuinely stabilizing (v.s. 19.8% baseline)
  • Per-protein Variance: Precision varies from 0% to 100%, with ~20% of proteins scoring below 50%
Fig. 4.2 ΔΔG grouped cross-validation precision
Fig. 4.2: ΔΔG grouped cross-validation precision result

4.4 External Benchmark

Internal checks show whether a model is consistent with itself. They do not show how it compares with tools researchers already use. In an interview, Prof. Joshua Ho suggested that we close that gap with a head-to-head performance comparison:

"I would suggest a head-to-head performance comparison with current methods, so the new tool is judged against approaches that are already in use."

— Prof. Joshua Ho, Associate Professor, School of Biomedical Sciences, The University of Hong Kong

We followed that suggestion. PyroForge was evaluated on the S669 benchmark (669 variants, 94 proteins) with no prior tuning on that set:

  • Pooled Ranking (across all proteins): Ranks 18th out of 22 methods.
  • Within-Protein Ranking (averaged per protein): Ranks 2nd out of 22 overall, and 1st among sequence-only methods.

The performance reflects our model design: removing baseline protein stability optimizes intra-protein ranking (the tool's intended use case) rather than inter-protein comparison. Compared directly to zero-shot ESM-2, within-protein ranking improves by Δρ = +0.248 (95% CI: [+0.051, +0.502]).

Fig. 4.3 S669 benchmarking result
Fig. 4.3: S669 benchmarking result

Limitations & Edge Cases:

  • Ssym Benchmark: Shows a non-statistically significant trend.
  • Sequence Length Inversion: Ranking quality drops sharply beyond 400 residues.
  • Tm Prediction: Pearson r = 0.810 overstates performance due to a bimodal distribution (thermophilic vs. mesophilic). Within-group ordering relatively is weaker.

4.5 Scope and Known Limits

PyroForge's current limit is mostly about sequence length. Inputs outside trusted bounds return low-confidence flags, rather than silent failures.

Limit Value
Scanning and folding ≤ 400 aa
dG and ΔΔG trusted regime 10–72 aa
Melting-temperature model training window 20–400 aa

Table 4.2: Sequence length and trusted prediction regimes

Key Notes:

  • ΔΔG measures resistance to unfolding, not direct temperature shift.
  • Single point mutations barely alter pooled embeddings; absolute Tm reflects the target sequence baseline rather than a mutation shift.
  • Absolute ΔΔG values lean conservative (biased low) and should be interpreted as relative ranking signals.
  • No 3D structural data is used during prediction.

5. Software Flow


Input Validation & Execution: Sequences are validated in the browser and re-checked at the API boundary to reject malformed inputs before reaching the job queue.

Long-running operations (Prediction, Scanning, Folding, and Registry search) run as asynchronous background tasks, with the client polling status every two seconds to render progress updates.

Fast operations (Composition descriptors, Stability heatmap, and Codon optimization) return responses synchronously.

History & Persistence: Analyses are saved locally in the browser and managed via the sidebar (reopened, pinned, or deleted). Because no session data is persisted on the server, history does not sync across devices and is shared among users on the same browser profile.

Fig. 5.1 Sidebar and working area
Fig. 5.1: Sidebar (right) and working area (left)
Fig. 5.2 Data control UX
Fig. 5.2: Data control UX
Main UI Components

The working area presents the analysis cards in workflow order. Captures of the main UI components are shown below (see also the software documentation, Section 2 Quick Start).

Sequence Input

Users paste a protein sequence (standard 20-letter alphabet; 10–400 residues) or a DNA sequence, which is translated to protein at the input edge before the same length gate is applied.

Fig. 5.3 Sequence Input card
Fig. 5.3: Sequence Input card

Prediction

Run Prediction returns sequence-level melting temperature (Tm, °C) and folding free energy (ΔG, kcal/mol), with a ±95% confidence interval and a High / Low / Unavailable reliability flag based on sequence length relative to the training distribution.

Fig. 5.4 Prediction card
Fig. 5.4: Prediction card — Tm and ΔG output

Optimization

Run Optimization launches a background site-saturation scan that scores every single-residue substitution, filters by ESM-2 probability, and ranks candidates by predicted ΔΔG to return a top-k shortlist (default k = 5) and the optimized sequence.

Fig. 5.5 Optimization card
Fig. 5.5: Optimization card — ranked mutation shortlist

Structure & Stability Heatmap

Fold sends the sequence to ESMFold (self-hosted GPU first, with ESM Atlas fallback) and displays a 3D model in the browser, with residues coloured by per-residue stability scores from the mutation scan.

Fig. 5.6 Visualization card
Fig. 5.6: Visualization card — 3D structure with stability heatmap

iGEM Registry Search

A user-triggered homology search against a local iGEM Parts protein snapshot. Results report how many parts were searched and the snapshot build date, so zero-hit outcomes remain interpretable against the available dataset.

Fig. 5.7 iGEM Registry search card
Fig. 5.7: iGEM Registry search card

Procurement

Generates a codon-optimised CDS for the chosen host (default: E. coli), reports CAI and GC content, flags synthesis feasibility issues, and hands off to a DNA vendor order page.

Fig. 5.8 Procurement card
Fig. 5.8: Procurement card — codon-optimised order hand-off

Further details of PyroForge usage is mentioned in the software documentations.

6. Engineering Iterations


Throughout the development process, issues occurred, and their solutions reshaped PyroForge's behavior.

  • Grouped Data Splitting: Random row splits leaked protein identity, artificially inflating correlation to 0.85. Grouping splits by parent protein corrected this to a realistic 0.46, preventing false accuracy estimates.
  • ΔΔG Anti-Symmetry: Training on forward mutations only produced inconsistent reverse predictions (r = 0.27). Appending negated reverse mutations during training raised forward/reverse correlation to 0.95.
  • Tm Dataset Expansion: Training on a small 237-protein set capped correlation at ~0.48. Expanding to the Meltome Atlas (~5,100 filtered proteins) reduced held-out error to 5.9 °C.
  • Optimization Direction Fix: A sign inversion bug in the selection code had caused the optimizer to rank candidates by most destabilizing first. The sorting logic was inverted to select stabilizing mutations, backed by an end-to-end regression test.

For more engineering process, please refer to the following engineering documentation:

7. Data and Model Availability


Source code, training data, and served model weights are public. ESM-2 and ESMFold weights are not redistributed; they are loaded from their original releases at runtime.

Item Contents Location
Source code PyroForge application, training scripts, and DATA.md (column definitions and what was verified) iGEM GitLab
Training data esm2_train_public.pt (544,365 rows, 499 parent proteins), esm2_test_public.pt (21,325 rows, 54 parent proteins, parent-disjoint), and meltome_tm.npz (Meltome Atlas Tm, the only file used to train the Tm model). Sequences are not included. The tm column inside the ESM-2 files is a different assay from meltome_tm.npz. 10.5281/zenodo.23455762
Model weights model_thermo.pt (dG), model_ddg.pt (ΔΔG), model_tm.joblib (Tm), and the evaluation reports for these weights. Place all three files in backend/checkpoints/ (the loader still accepts the older backend/checkpoints/improved/model_tm.joblib path as a fallback). 10.5281/zenodo.23456193

Table 7.1: Where PyroForge code, data, and weights are archived

8. Wet-Lab Demonstration


PyroForge was used to propose mutations on a designed fire-retardant peptide. The AI-designed sequence (Alp1) and the software-optimized sequence (Alp2) were coated onto netting and compared in a burnt-net assay, scored as the length of net consumed by the flame.

  • Alp1 (AI-designed peptide): burnt distance of 10.5 cm (SD 0.5).
  • Alp2 (PyroForge-optimized peptide): burnt distance of 8.5 cm (SD 0.4), with significant char formation.

Alp2 burned 2.0 cm less of the net than Alp1, with more char. That is an improvement over the unoptimized peptide. Table 8.1 also includes CsgA-BslA-PEbp (7.1 cm), a different coating that still burned less than Alp2; the assay does not claim that PyroForge beat every other design in the project.

Coating Peptide Distance of Burnt Net Standard Deviation Image
CsgA-BslA-PEbp 7.1 0.9 Burnt net coated with CsgA-BslA-PEbp
CsgA-Alp(1)-PEbp 10.5 0.5 Burnt net coated with CsgA-Alp(1)-PEbp
CsgA-Alp(2)-PEbp 8.5 0.4 Burnt net coated with CsgA-Alp(2)-PEbp

Table 8.1: Burnt-net assay results

Fig. 8.1 Burnt-net assay results
Fig. 8.1: Burnt-net assay results for coating peptides

9. Future Work


Model & Validation Enhancements
  1. Broader Benchmarking: Expand external validation using the ProteinGym stability subset to overcome the small sample size of Ssym.
  2. Homology-Aware Splitting: Upgrade train/test splits from parent-disjoint to sequence-homology-disjoint for stricter accuracy estimates.
  3. Tm Model Refinement: Resolve the discrepancy between Pearson and Spearman correlation metrics in the melting-temperature predictor.
  4. Backbone Fine-Tuning: Evaluate end-to-end fine-tuning of ESM-2 instead of using it as a frozen feature extractor.
  5. Outlier Case Study: Examine proteins with the largest prediction errors to identify the conditions under which the model fails, and determine whether these failures share recognisable sequence or structural characteristics.
  6. Structural Feature Analysis: Investigate whether specific structural features, such as disulfide bonds, account for large increases in ΔΔG, and assess whether incorporating structural information would improve prediction accuracy.
  7. Independent Dataset Validation: Expand external validation using a new and independent dataset to overcome the limited scope of the current training data and provide stricter, more generalisable accuracy estimates.
Engineering & Infrastructure
  1. Automated Updates: Transition the iGEM Registry snapshot from manual rebuilds to scheduled automated refreshes.
  2. Load Balancing: Enable load distribution across multiple GPU instances for structure folding tasks.
  3. Security Hardening: Implement access control and TLS before expanding exposure beyond the internal trusted network.
Future Application

    PyroForge addresses a core bottleneck in protein engineering by predicting thermostability without requiring a solved PDB structure. Powered by a protein language model, the platform screens uncharacterized or newly designed sequences to rapidly yield high-confidence, heat-resistant candidates. This dramatically streamlines wet-lab workflows for industrial applications, where thermostable enzymes improve reaction efficiency, minimize cooling demands, and maximize overall process productivity. In a unified session, PyroForge accelerates project execution by combining sequence-based scoring with thermodynamic predictions, a 3D stability heatmap, iGEM part cross-checking, and direct procurement links.

10. Q&A


Click a question to expand or collapse the answer.

PyroForge does not read or write SBOL. It uses the formats already in the rest of the iGEM workflow: amino-acid sequences (and optional DNA, translated at the input edge), FASTA copy/download, PDB files from ESMFold, a local snapshot of the iGEM Parts Registry, and a codon-optimized CDS for ordering.

For the iGEM community, PyroForge uses a local MySQL snapshot of the iGEM Parts Registry containing over 22,000 clean protein-coding parts. The registry engine cross-references a candidate sequence against existing parts so users can judge sequence identity and how novel a design is.

The procurement pipeline then connects computational design to physical DNA. Engineered amino acid sequences are translated into host-optimized coding sequences (for example, Escherichia coli). The platform reports the Codon Adaptation Index against reference tables, GC content, and synthesis feasibility, and hands the construct off to commercial DNA vendors such as Twist Bioscience. PyroForge does not quote a price or lead time; that happens on the vendor site.

Validation was designed to check both self-consistency and prediction reliability. Data leakage was removed by replacing random row splits with parent-protein grouped 5-fold cross-validation across 266 parent proteins and over 430,000 variants. Random splitting had inflated validation correlation from r = 0.67 to r = 0.85, because the network could memorize parent-sequence features. Physical antisymmetry, ΔΔG(A→B) = −ΔΔG(B→A), was enforced by data augmentation. Forward/reverse consistency rose from corr = 0.273 to corr = 0.952, and systematic bias fell from −1.290 kcal/mol to −0.026 kcal/mol, without a loss of accuracy.

On the Meltome held-out split, the melting-temperature (Tm) model reaches r = 0.810. On grouped cross-validation across 266 parent proteins, 73.6% of a top-5 ΔΔG shortlist is genuinely stabilizing, against a 19.8% random baseline (about 3.7-fold enrichment for experimental screening). A separate parent-held-out calibration (n = 22 proteins; reported in the GitLab README) gave 74% vs a 22% base rate. On the independent S669 benchmark (669 variants, 94 proteins), PyroForge ranked 18th of 22 methods on pooled correlation and 2nd of 22 (1st among sequence-only methods) for within-protein ranking (ρ = 0.484), ahead of zero-shot ESM-2 (Δρ = +0.248, 95% CI [+0.051, +0.502]).

System tests also caught an execution defect before deployment. On Apple MPS, ESM-2 embeddings collapsed toward the dataset mean. Routing that feature extraction to CPU restored the served Tm correlation from r = −0.13 to r = +0.88. Other functions were checked and corrected in the same benchmarking pass whenever a failure showed up.

PyroForge targets a bottleneck in protein engineering: thermostability design without a solved structure. Most stabilization tools need a PDB structure, so teams working on unfamiliar or newly designed proteins have little to screen with. Because PyroForge scores sequences with a protein language model, a team can look for heat-resistant variants before a structure exists.

For teams investigating enzymes in industrial settings, PyroForge helps identify thermostable variants, allowing enzymes to operate at elevated temperatures. This improves reaction efficiency and reduces the need for cooling, raising overall process productivity.

That shortens wet-lab screening. Instead of synthesizing and testing thousands of point mutants, the server scan returns a short list of higher-confidence heat-resistant candidates. The same session then continues through thermodynamic prediction, a 3D thermostability heatmap, an iGEM part cross-check, and procurement.

The machine-learning layout itself is reusable. A frozen language-model backbone plus small trained heads is a template other iGEM teams can adapt for sequence-based property predictors.

PyroForge is an API application meant to sit inside larger pipelines. The backend is FastAPI. Mutational screening and structure folding run on Celery workers brokered by Redis, so an external script can submit a job and collect the result without holding a request open.

Services are containerized, with external fallbacks. 3D structures come from a GPU ESMFold service; if that service is down, the client falls back to the public ESM Atlas API. Procurement output links to vendor ordering portals such as Twist Bioscience.

The stack uses PyTorch, scikit-learn, React, TypeScript, Vite, and Docker Compose. The same codebase can run locally, be imported into a Python workflow, or be deployed on a cloud host.

PyroForge is a browser tool: no install, no account, and no local setup. Seven cards walk through sequence input, elemental composition, prediction, optimization, visualization, registry lookup, and procurement. Before any request is sent, the client strips whitespace, uppercases letters, and checks sequence length.

Background jobs show progress by polling every two seconds. Predictions include a 95% confidence interval and an explicit reliability flag (High, Low/Extrapolated, or Unavailable). Sessions stay in browser storage, so a user can reopen, pin, or delete a run without leaving sequence data on the server.

User acceptance testing covered 226 users who completed the full workflow (Section 3.5.4). The mean rating was 8.81/10 and the median was 9; 90.7% scored the tool 7 or higher, and 72–79% rated each core task easy. 93% said it could launch now or after small fixes. Feedback from that round changed the product: ESMFold was moved to a self-hosted GPU after API timeouts, DNA input was added, and the optimization view was relabeled so mutation rank, substitution, and residue number are explicit.

User guide, API reference, deployment steps, model and dataset provenance, and known limitations are collected in the software documentation (Section 2). The engineering record is in Section 6.

The full stack is containerized with Docker Compose, so a CPU development setup or a multi-GPU production host starts with one command. Command-line scripts (pyroforge-train, pyroforge-train-ddg, pyroforge-train-tm) retrain the prediction heads when datasets are updated. Unit tests run with uv run pytest from backend/. Source code is on the iGEM GitLab under Apache License 2.0; dataset splits and trained weights are archived with DOIs (Section 7).

11. Reference


  1. Pancotti, C., Benevenuta, S., Birolo, G., Alberini, V., Repetto, V., Sanavia, T., Capriotti, E. & Fariselli, P. Predicting protein stability changes upon single-point mutation: a thorough comparison of the available tools on a new dataset. Briefings in Bioinformatics 23, bbab555 (2022). https://doi.org/10.1093/bib/bbab555
  2. Lin, Z., Akin, H., Rao, R., Hie, B., Zhu, Z., Lu, W., Smetanin, N., Verkuil, R., Kabeli, O., Shmueli, Y., Dos Santos Costa, M., Fazel-Zarandi, M., Sercu, T., Candido, S. & Rives, A. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science 379, 1123–1130 (2023). https://doi.org/10.1126/science.ade2574
  3. Jarzab, A. et al. Meltome atlas — thermal proteome stability across the tree of life. Nature Methods 17, 495–503 (2020). https://doi.org/10.1038/s41592-020-0801-4
  4. Pucci, F., Bernaerts, K. V., Kwasigroch, J. M. & Rooman, M. Quantification of biases in predictions of protein stability changes upon mutations. Bioinformatics 34, 3659–3665 (2018). https://doi.org/10.1093/bioinformatics/bty348
  5. Tsuboyama, K. et al. Mega-scale experimental analysis of protein folding stability in biology and design. Nature 620, 434–444 (2023). https://doi.org/10.1038/s41586-023-06328-6