How ievapudz/temstapro works
TemStaPro predicts protein thermostability from FASTA sequences using ProtTrans embeddings and an ensemble of threshold classifiers. Its principal workflow runs from sequence parsing through embedding generation and inference to temperature labels, clash indicators, and TSV output. It also supports cached embeddings, per-residue and per-segment predictions, plots, and NPZ embedding loading. The CLI and some orchestration details are unsampled; the README documents the user workflow, while source excerpts show the individual processing and inference components.
Main entry points: temstapro CLI runner · prottrans_models.py ProtTrans model · model_flow.py Ensemble inference · results.py Label and clash interpretation
Components 12
Input and embeddings
- FASTA parsing
prottrans_models.py - ProtTrans model
prottrans_models.py - Embedding cache
prottrans_models.py - Embedding preparation
data_process.py - NPZ loading
data_process.py
Prediction
- Ensemble inference
model_flow.py - MLP classifier
MLP.py
Results
- Label and clash interpretation
results.py - Prediction TSV
results.py - Prediction plots
results.py
Other components
- Researcher
- CLI runner
temstapro
Connections 12
- Researcher → CLI runner: runs
README.md - CLI runner → FASTA parsing: provides FASTA
README.md - FASTA parsing → ProtTrans model: supplies sequences
prottrans_models.py - CLI runner → ProtTrans model: requests embeddings
README.md - ProtTrans model → Embedding cache: saves embeddings
prottrans_models.py - Embedding cache → Embedding preparation: loads cached tensors
data_process.py - NPZ loading → Embedding preparation: loads tensors
data_process.py - CLI runner → Ensemble inference: runs predictions
README.md - Ensemble inference → MLP classifier: evaluates models
model_flow.py - CLI runner → Label and clash interpretation: interprets predictions
README.md - Label and clash interpretation → Prediction TSV: writes results
results.py - CLI runner → Prediction plots: requests plots
README.md