Quickstart
This quickstart guide covers how to score single substitutions and generate a library on the platform using either the App or API.
OpenProtein.AI is a platform for AI-driven protein engineering with protein language models. On the platform, you can generate protein sequences, score them for fitness, predict their 3D structures, and train predictors on your own assay data. All these can be done either through the web application (no code needed) or the python client. This guide gets you started with the platform and the tools available. We will go through a typical first round of in silico design, where we will start from a parental antibody sequence, redesign illustrates a typical first round of in silico design.
What this guide covers
- Create a project
- Redesign the complementarity-determining region (CDRs) of an antibody heavy chain
- Score single mutations on an antibody heavy chain with PoET-2 Substitution Analysis
- Export a library of the 50 top-ranked single mutants
Before starting
- Platform access. Sign up for an account here.
- If using the Python client, ensure the OpenProtein.AI SDK is installed.
Installation
No installation required. Log in at app.openprotein.ai with your account.
Create a new project
Projects hold all artifacts, including dataset, jobs, results, and history.
- On the home page, select New Project.
- Name it
14H Antibody. - Select Create. The new project now appears in the project list.
Redesign 14H's CDRs
In this section, we will redesign the CDR loops of 14H while keeping its framework fixed. By masking the CDR positions, PoET-2 will infill amino acids at those positions, conditioned on the wild-type VH as context. This generates sequences that will be the best fit to the homologs found in the context.
-
Open the Generate tool from the Tools menu on the top right corner of the screen.
-
Choose PoET-2 as the sequence generator. Keep the number of sequences as the default of 10. Select ESMFold as the structure generator.
-
In Step 1: Prompt – Query, paste the masked heavy chain below. The CDR positions are already masked with the
Xtoken while the rest is kept with the framework.
EVQLVETGGGLVQPGGSLRLSCAASPFELNXXXXXWVRQAPGKGPEWVSXXXXXXXXXXXXXXXXXRFTISRDTSTNTVYLQMNSLRVEDTAVYYCAKXXXXXXXXXWGQGTLVTVSS- In Step 2: Prompt – Context, paste the wild-type VH below.
EVQLVETGGGLVQPGGSLRLSCAASPFELNSYGISWVRQAPGKGPEWVSVIYSDGRRTFYGDSVKGRFTISRDTSTNTVYLQMNSLRVEDTAVYYCAKGRAAGTFDSWGQGTLVTVSSKeep the sampling options (temperature, top-p, top-k)as the default and select Run.
We have now redesigned the CDRs of the 14H antibody and have an initial library of 10 sequences.
Screen single mutations with Substitution Analysis
In some scenarios, keeping the number and type of mutations close to the wild type sequence might be ideal. Substitution Analysis scores every single-point mutation across an input sequence. It gives higher scores to mutations predicted to raise fitness and lower scores to those predicted to lower it. The scores come from a protein language model, which learns the patterns of evolutionary fitness and rates each variant as more or less likely. Higher likelihood generally tracks with desirable properties such as solubility, expressibility, and stability. This quickstart uses PoET-2.
- Click Tools in the top-right corner, then select Substitutions under the Predict column.
- For “Step 1: Input Sequence”, enter the following input sequence to be scored:
EVQLVETGGGLVQPGGSLRLSCAASPFELNSYGISWVRQAPGKGPEWVSVIYSDGRRTFYGDSVKGRFTISRDTSTNTVYLQMNSLRVEDTAVYYCAKGRAAGTFDSWGQGTLVTVSS- From the models dropdown in the right panel, select PoET-2 as the model to be used.
- In Step 2: Prompt query, disable the prompt Query using the toggle button.
- In Step 3: Prompt Context, select the built-in VH system prompt. It is curated for antibody heavy chains using datasets from public databases like Uniprot. Learn more about system prompts here
- Select Run. Jobs run asynchronously on the platform and can take a few minutes to complete depending on your sequence length.
Tip
For more accurate fitness scores, build the prompt from a homology search instead. An ensembled homology prompt often scores antibody fitness better than the VH system prompt, though the run takes longer. Choose Create new prompt, paste the input sequence, and select Homology search.
Export the top 50 single mutants
- In the right side panel under Filters, set Max Variants to 50.
- Set Max Variants per Site to 2, to cap how many substitutions come from any one position, which keeps the library diverse.
- Select Export to download the table. This is your library of the 50 best single mutants.
Visualizing 3D structures using structure prediction
Fold one of the top-50 mutants to see what the best design looks like. View refolding metrics like pLDDT to understand the model’s confidence in the predicted structure.
- Click Tools in the top navigation bar, then select Structure prediction under the Predict column.
- In the Model type section, keep ESMFold as the model selected. Other models like Boltz-2 and Protenix-v2 handle complexes and are great to compare structure against.
- Copy and paste a sequence from the library of 50 sequences.
EVQLVETGGGLVQPGGSLRLSCAASPFELNSYGISWVRQAPGKGPEWVSVIYSDGRRTFYGDSVKGRFTISRDTSTNTVYLQMNSLRVEDTAVYYCAKGRAAGTFDSWGQGTLVTVSS- Leave Number of recycles as Auto.
- Click Run.
- On the Results tab, the structure is colored by pLDDT. Download .mmCIF saves it.
Tip
Right-click on a sequence in any dataset table and select Fold sequence to run structure prediction.
What we’ve done
We redesigned the CDRs, scored every single substitution of an antibody heavy chain with PoET-2, read the results as a heatmap, and exported a library of the 50 best single mutants. No model training or assay data was needed.
Next steps
- Train on custom data. Once assay results are available, build models with property predictors and a demo dataset.
- Work a real case end to end in the Tutorials.