Score single substitutions on a sequence with a property predictor
In this tutorial, we will take one protein sequence and score all of its single substitution variants with a custom trained property predictor.
We’ll look at the results in three ways: Prediction scores for each variant A table with the predicted mean and standard deviation for the properties you select A heatmap showing the effect of each substitution at each position Finally, we’ll apply a filter to narrow the list down to the variants you want to keep.
Before starting
A trained property predictor that was fine-tuned on an experimental dataset. For this tutorial, we will use an antibody dataset from Makowski et al. 2022. If a model has not been trained yet, follow the model training documentation link to model training. One starting protein sequence to enumerate single substitutions and score.
Step 1: Open the Substitution Analysis tool
Open the substitution analysis tool by clicking on “Substitution Analysis” in the action bar at the bottom, on the Dataset or Model page.

An input box for a sequence should appear, with the analysis type set to Single Analysis. This is the default.
Step 2: Enter the sequence
Paste your sequence into the input box.
QVQLVQSGAEVKKPGASVKVSCKASGYTFTDYYMHWVRQAPGQGLEWMGRVNPNAEATTYNQKFEGRVTMTTDTSTSTAYMELRSLRSDDTAVYYCARSNGLDAWGQGTTVTVSS:DIQMTQSPSSLSASVGDRVTITCSVSSSVSSIYLHWYQQKPGKAPKLLIYSTSNLASGVPSRFSGSGSGTDFTLTISSLQPEDFATYYCQVYSGYPLTFGGGTKVEIKThe sequence should appear in the box.

Step 3. Select a model
Select the model, GP-ant and GP-ova.
The chosen model should be marked as selected. The Predict button needs at least one model to work. If no model appears here, follow the model training tutorial here

** Step 4. Run the prediction **
Click Predict. When the run finishes, the results should appear in these forms: prediction scores, mean and standard deviation in a table, and a heatmap.
Step 5: Read the results
In the table, each substitution is reported with a predicted mean and standard deviation for the selected property. The standard deviation quantifies the uncertainty of the prediction: a higher value indicates greater uncertainty in the predicted mean.
In the heatmap, hover over a point to view the log-likelihood score for that substitution variant. The higher, or less negative, the log-likelihood score, the fitter the variant.
Each color in the heatmap shows how a mutation to the corresponding residue at that site would affect fitness compared to the input sequence:
Blue: improved fitness.
Red: reduced fitness.
A site that is all white: a mutation at that site would not affect fitness. In the panel on the right, find the heatmap view settings and the property targets.
Step 7: Narrow the list with a filter
The filters cut the results down to the substitutions you care about.
Set Max Variants to 50.
This should filter the number of sequences in the table down to 50. The corresponding sequences will be highlighted in the heatmap.
`
What we’ve done
We scored single substitutions on one sequence with a custom trained model, read the predictions as a table and a heatmap, and narrowed the results with filters.
Next steps
To score higher order mutants, read our tutorial on scoring sequences with a property predictor.
To view the 3D structure of sequences, use the Structure Prediction tool.