Skip to Content

Python API reference

SDK release/v0.18.0

Session management

After installing the SDK, authenticate with the username and password for your OpenProtein.AI account. openprotein.connect() looks up each credential in this order:

  1. Function arguments: username and password passed to openprotein.connect().
  2. Environment variables: OPENPROTEIN_USERNAME and OPENPROTEIN_PASSWORD set in the environment where you run Python.
  3. Configuration file: ~/.openprotein/config.toml in your home directory.

Use environment variables or a configuration file to keep credentials out of scripts and notebooks. To use a configuration file, create the .openprotein folder in your home directory and save this as config.toml, replacing the placeholders with your credentials:

username = "your_username"
password = "your_password"

The file stores your password in plain text. Keep it private and out of version control.

Once you've set the environment variables or created the file, connect without passing credentials:

import openprotein

session = openprotein.connect()

If authentication fails, check your credentials and whether environment variables are overriding the file. Use the session to run your first model. Full reference: openprotein.

openprotein.connect(username=None, password=None, backend=None, timeout=180)Connect and create a OpenProtein session.
openprotein.OpenProtein(username, password, backend, timeout=180)The base class for accessing OpenProtein API functionality.
openprotein.APISession(username, password, backend, timeout=180)A class to handle API sessions.
openprotein.errors.APIError(message)Raised when the API returns an error.
openprotein.errors.HTTPError(response)
openprotein.DeprecationError(message='This API is deprecated and no longer supported')DeprecationError used for flagging to the user to not use this interface anymore.
openprotein.errors.InvalidParameterError(message='Invalid parameter')Raised when a parameter has an invalid value.
openprotein.errors.MissingParameterError(message='Required parameter is missing')Raised when a required parameter is not provided.
openprotein.errors.AuthError(message='Invalid authorization')Raised when authentication fails.
openprotein.errors.JobFailedException(job_id, failure_message=None)Raised when retrieving results from a job that has failed.
openprotein.errors.JobOutputsNotReady(message)A job's named output is not complete yet.
openprotein.errors.InvalidJob(message='No such job')Raised when a job cannot be found or is not valid for the request.
openprotein.errors.NotPrepared(job_id)A job has no units_digest yet.
openprotein.errors.TimeoutException(message='Request timed out!')Raised when waiting on a job or request times out.

Data primitives

Create and manipulate molecular primitives that can be used on our platform for doing protein engineering tasks like structure prediction and binder design. Full reference: openprotein.molecules.

openprotein.molecules.Protein(sequence, name=None)Represents a protein with an optional name.
openprotein.molecules.Complex(chains=None, name=None)
openprotein.molecules.Structure(complexes, name=None)Represents a collection of Complex instances.
openprotein.molecules.Ligand(ccd=None, smiles=None)Represents a ligand with optional Chemical Component Dictionary (CCD) identifier and SMILES string.
openprotein.molecules.DNA(sequence, cyclic=False)Represents a DNA sequence.
openprotein.molecules.RNA(sequence, cyclic=False)Represents an RNA sequence.
openprotein.molecules.Template(template, mapping=None, index=None, index_intervals=None)A structural template used to guide the folding of a target chain or complex.

Data

Upload and store your datasets on our platform to use with your protein engineering tasks. Full reference: openprotein.data.

openprotein.data.DataAPI(session)API interface for calling AssayData endpoints
openprotein.data.AssayDataset(session, metadata)Assay dataset which contains your sequences and measurements which can be used for training predictors.
openprotein.data.AssayMetadata(*, assay_name, assay_description, assay_id, original_filename, created_date, num_rows, num_entries, measurement_names, sequence_length=None, has_name_column=False, metadata_names=None, status=JobStatus.SUCCESS, align_job_id=None)
openprotein.data.MSADataAPI(session)Access the MSA data - upload, list, fetch and manage stored MSAs.
openprotein.data.PromptsAPI(session)Access stored prompts: sample, list, fetch, upload, rename and delete.
openprotein.data.MSA(session, metadata)A live MSA and the operations on it (download, update, delete).
openprotein.data.MSAMetadata(*, msa_id, status=JobStatus.SUCCESS, job_id=None, msa_hash=None, name=None, description=None, tags, project_uuid=None, source_format=None, num_sequences=None, num_match_columns=None, has_insertions=None, original_filename=None, digest=None, created_at, updated_at)Metadata for one stored MSA (never carries the sequence body).
openprotein.data.prompts.Prompt(session, record)A stored prompt row and the operations on it (download, rename, delete).
openprotein.data.prompts.PromptFuture(session, job, max_workers=10, descriptor=None, submission=None)Handle on an alignment sampled into prompt replicates.

Models

Use session.models to discover and run models.

Embed with ESM2 · Fold with ESMFold · Score with PoET · Design from an assay Full reference: openprotein.models.

openprotein.models.ModelsAPI(session)Discover models and access their handles through session.models.
openprotein.models.PoET2(session, model_id=None, metadata=None)PoET-2, a multi-modal protein language model conditioned on a protein family.
openprotein.models.Boltz2(session, model_id=None, metadata=None)Boltz-2, an all-atom structure and binding affinity prediction model.
openprotein.models.RFdiffusion(session, model_id=None, metadata=None)RFdiffusion, for de novo backbones, scaffolding and binder design.
openprotein.models.ESM2(session, model_id=None, metadata=None)ESM2, a masked protein language model trained on UniRef50.
openprotein.models.ProteinMPNN(session, model_id=None, metadata=None)ProteinMPNN, a message-passing inverse-folding model.
openprotein.models.OpenDDE(session, model_id=None, metadata=None)OpenDDE, an all-atom co-folding model.
openprotein.models.ESMIF1(session, model_id=None, metadata=None)ESM-IF1, an inverse-folding model.
openprotein.models.ESMC(session, model_id=None, metadata=None)ESM Cambrian, a protein language model.
openprotein.models.ESMFold2(session, model_id=None, metadata=None)ESMFold2, an all-atom structure prediction model.
openprotein.models.ProtenixV2(session, model_id=None, metadata=None)Protenix-v2, a larger Protenix.
openprotein.models.AbLang2(session, model_id=None, metadata=None)AbLang2, an antibody language model for paired heavy and light chains.
openprotein.models.Protenix(session, model_id=None, metadata=None)Protenix, an all-atom structure prediction model.
openprotein.models.BoltzGen(session, model_id=None, metadata=None)BoltzGen, an all-atom model that designs binders.
openprotein.models.RosettaFold3(session, model_id=None, metadata=None)RosettaFold-3, an all-atom structure prediction model.
openprotein.models.MiniFold(session, model_id=None, metadata=None)MiniFold, which predicts single protein chains from ESM2 embeddings.
openprotein.models.Boltz1(session, model_id=None, metadata=None)Boltz-1, an all-atom structure prediction model.
openprotein.models.ESMFold(session, model_id=None, metadata=None)ESMFold, which predicts protein structures from ESM2 embeddings.
openprotein.models.ESM1(session, model_id=None, metadata=None)ESM-1, a masked protein language model with 650M parameters.
openprotein.models.ProtT5(session, model_id=None, metadata=None)ProtT5-XL, an encoder that embeds protein sequences.
openprotein.models.AlphaFold2(session, model_id=None, metadata=None)AlphaFold2, which predicts proteins and protein complexes from an MSA.
openprotein.models.PoET(session, model_id=None, metadata=None)PoET, a protein language model conditioned on a protein family.
openprotein.models.ProtSeq(session, model_id=None, metadata=None)ProtSeq, a masked protein language model trained on UniRef50.
openprotein.models.RotaProt(session, model_id=None, metadata=None)RotaProt, a masked protein language model.
openprotein.models.Model(session, model_id=None, metadata=None)A handle for submitting the methods listed on a model's card.
openprotein.models.ProteinLanguageModel(session, model_id=None, metadata=None)A protein language model: embeddings pooled by default, and fits on them.
openprotein.models.StructurePredictionModel(session, model_id=None, metadata=None)A structure-prediction model.
openprotein.models.StructureGenerativeModel(session, model_id=None, metadata=None)A model that generates structures from design queries.
openprotein.models.SVD(n_components=None, seed=None)An SVD to fit on a system model's embeddings.
openprotein.models.UMAP(n_components=None, n_neighbors=None, min_dist=None)A UMAP to fit on pooled embeddings or an SVD's projections.
openprotein.models.GP(kernel='rbf', period=None, alpha=None, name=None, description=None)A Gaussian process to train on one assay property.
openprotein.models.SVDModel(session, model_id, metadata=None, record=None)A fitted SVD for projecting sequences through transform or embed.
openprotein.models.UMAPModel(session, model_id=None, metadata=None)A fitted UMAP; embed projects new sequences.
openprotein.models.GPModel(session, model_id=None, metadata=None)A Gaussian process predictor trained on an assay.
openprotein.models.svd.SVDEmbeddingSource(*, model_id=None, version=None, reduction=None, prompt_id=None)The embedding method reused for an SVD's projections.
openprotein.models.ModelDescription(*, summary, citation_title=None, doi=None)Human-facing description of a model.
openprotein.models.MethodDescriptor(*, path, outputs, description=None, name=None)A method supported by a model.
openprotein.models.ModelMetadata(*, model_id, type=None, family_id=None, model=None, name=None, variant=None, is_system=False, base=False, tags=None, input_types=None, description, dimension, query=None, multichain=None, methods, max_sequence_length, owner=None, created_at=None, spec=None)A model card and the methods it exposes.
openprotein.models.StructureGenerationJob(*, job_id, job_type, status, created_date, start_date=None, end_date=None, prerequisite_job_id=None, progress_message=None, progress_counter=None, sequence_length=None, failure_message=None, name=None, description=None, units_digest=None, unit_count=None, provider_id=None, path=None, version=None, outputs=None, metadata=None, **extra_data)A compatibility structure-generation job.
openprotein.models.StructureGenerationFuture(session, job, N=None, result_format='pdb', **kwargs)Reader for compatibility design jobs with job type /models/design.
openprotein.models.TrainedKernel(*, outputscale)A trained GP kernel, in data space.
openprotein.models.LinearKernel(*, outputscale)A trained linear kernel.
openprotein.models.RBFKernel(*, outputscale, lengthscale)A trained RBF kernel.
openprotein.models.Matern12Kernel(*, outputscale, lengthscale)A trained Matern 1/2 kernel.
openprotein.models.Matern32Kernel(*, outputscale, lengthscale)A trained Matern 3/2 kernel.
openprotein.models.Matern52Kernel(*, outputscale, lengthscale)A trained Matern 5/2 kernel.
openprotein.models.PeriodicKernel(*, outputscale, lengthscale, period)A trained periodic kernel.
openprotein.models.RationalQuadraticKernel(*, outputscale, lengthscale, alpha)A trained rational quadratic kernel.
openprotein.models.RFdiffusionFuture(*args, **kwargs)Alias for StructureGenerationFuture.
openprotein.models.BoltzGenFuture(*args, **kwargs)Alias for StructureGenerationFuture.

Design

Design novel protein sequences based on your assay datasets and trained models, optimizing toward your design criteria. Full reference: openprotein.design.

openprotein.design.DesignAPI(session)Design API providing the interface to design novel proteins based on your design criteria.
openprotein.design.Criteria()Class representing a logical OR of criteria.
openprotein.design.Criterion()Class representing a logical AND of subcriteria.
openprotein.design.Subcriterion(*, criterion_type)Base class for subcriteria.
openprotein.design.DesignConstraint(sequence)Class for managing design constraints on a sequence.
openprotein.design.schemas.DesignAlgorithm()Enum representing design algorithms.
openprotein.design.ModelCriterion(*, criterion_type=CriterionType.model, model_id, measurement_name, criterion=Criterion())Subcriterion for model-based criteria.
openprotein.design.schemas.NMutationCriterion(*, criterion_type=CriterionType.n_mutations, sequences)Subcriterion for mutation count-based criteria.
openprotein.design.schemas.CriterionType()Enum representing the types of criteria.
openprotein.design.DesignFuture(session, job=None, metadata=None)A future object that will hold the results of the design job.
openprotein.design.schemas.DesignResult()

Jobs

Retrieve and monitor your jobs. Full reference: openprotein.jobs.

openprotein.jobs.JobsAPI(session)API interface to get jobs.
openprotein.jobs.Job(*, job_id, job_type, status, created_date, start_date=None, end_date=None, prerequisite_job_id=None, progress_message=None, progress_counter=None, sequence_length=None, failure_message=None, name=None, description=None, units_digest=None, unit_count=None, provider_id=None, path=None, version=None, outputs=None, metadata=None, **extra_data)
openprotein.jobs.Future(session, job)Base class for all Futures returning results from a job.
openprotein.jobs.JobStatus()
openprotein.jobs.StreamingFuture(session, job)Abstract base class for Futures that support streaming results.
openprotein.jobs.MappedFuture(session, job, max_workers=10)Base future for jobs with a key-to-result mapping.
openprotein.jobs.JobType()Type of job.
openprotein.jobs.BatchJob(*, num_records=None)
openprotein.jobs.Unit(*, position, unit_id, state, retries=0, chunk_id=None, attempt=None, deadline=None, waits_on, waits_on_jobs, cached=False, error=None)One work item within a job.
openprotein.jobs.UnitState()A unit's execution state.
openprotein.jobs.JobOutput(position, unit_id, value)One decoded canonical output at its original position.
openprotein.jobs.TaskFuture(session, job, max_workers=10, descriptor=None, submission=None)Handle on a models API task job.
openprotein.jobs.FutureUnit(future, position, output)One (job_id, position, output) of a models job.
openprotein.jobs.AttentionFuture(session, job, max_workers=10, descriptor=None, submission=None)Attention arrays with the model's head and residue dimensions.
openprotein.jobs.EmbeddingFuture(session, job, max_workers=10, descriptor=None, submission=None)Embedding arrays, one per submitted position.
openprotein.jobs.IndelScoreFuture(session, job, max_workers=10, descriptor=None, submission=None)Scores in the submitted insertion/deletion order.
openprotein.jobs.LogLikelihoodFuture(session, job, max_workers=10, descriptor=None, submission=None)Sequence log-likelihoods, retaining replicate dimensions.
openprotein.jobs.LogitsFuture(session, job, max_workers=10, descriptor=None, submission=None)Per-position logit arrays.
openprotein.jobs.PredictionFuture(session, job, max_workers=10, descriptor=None, submission=None)Property-keyed predictions, one dictionary per position.
openprotein.jobs.SequenceGenerationFuture(session, job, max_workers=10, descriptor=None, submission=None)Generated sequence strings in sample order.
openprotein.jobs.SingleSitePredictionFuture(session, job, max_workers=10, descriptor=None, submission=None)Property-keyed predictions in single-site mutation order.
openprotein.jobs.SingleSiteScoreFuture(session, job, max_workers=10, descriptor=None, submission=None)Scores in the submitted single-site mutation order.
openprotein.jobs.StructureDesignFuture(session, job, max_workers=10, descriptor=None, submission=None)Generated complexes, one per design position.
openprotein.jobs.StructurePredictionFuture(session, job, max_workers=10, descriptor=None, submission=None)Predicted structure collections, one per submitted input.
openprotein.jobs.SVDFitFuture(session, job, max_workers=10, descriptor=None, submission=None)Handle on an SVD fit job.
openprotein.jobs.UMAPFitFuture(session, job, max_workers=10, descriptor=None, submission=None)Handle on a UMAP fit job; its outputs are the fit set's projections.
openprotein.jobs.GPFitFuture(session, job, max_workers=10, descriptor=None, submission=None)Handle on a GP's training job.
openprotein.jobs.CrossvalidateFuture(session, job, gp)Handle on a cross-validation job; its id is the evaluation's.
openprotein.jobs.CrossvalidateResults(row_index, sequence, measurement_name, fold, y, y_mu, y_var)Cross-validation results as parallel arrays, one per sequence x measurement.
openprotein.jobs.FitFuture(session, job, max_workers=10, descriptor=None, submission=None)Handle on a job that fits a model; wait returns the fitted model.

Clustering

Cluster sequences using the session clustering interface. Full reference: openprotein.clustering.

openprotein.clustering.ClusteringAPI(session)Top-level clustering API.
openprotein.clustering.HierarchicalClusteringFuture(session, job=None, metadata=None)Future for a hierarchical clustering job.
openprotein.clustering.HierarchicalClusteringResult(*, n_leaves, linkage, leaf_order, sequences)Result of a hierarchical clustering job.
openprotein.clustering.ClusteringMetadata(*, id, status, created_date=None, method, linkage_method=None, metric=None, model_id, feature_type, reduction=None, svd_id=None)

Align

Align your protein sequences or look up multiple sequence alignments. Full reference: openprotein.align.

openprotein.align.AlignAPI(session)Align API interface for creating alignments and MSAs (multiple sequence alignments) which can be used for other protein tasks.
openprotein.align.schemas.AbNumberScheme()Antibody numbering scheme.
openprotein.align.schemas.UnnumberedPolicy()What to do with residues the numbering scheme gives no antibody position.
openprotein.align.schemas.MSASamplingMethod()Enumeration of MSA sampling methods.
openprotein.align.schemas.JobWarning(*, code, message, metadata=None)Something a job reports about its own output while still succeeding.
openprotein.align.schemas.AlignType()Enumeration of alignment types.
openprotein.align.MSAFuture(session, job, page_size=50000)Represents a future for MSA (Multiple Sequence Alignment) results.
openprotein.align.future.AlignFuture()A future object representing an alignment job, providing methods to retrieve job inputs and seed sequences.
openprotein.align.schemas.Pairing()Cross-chain pairing strategy for a complex (multi-chain) MSA search.

Prompt

Create prompts using sequences and structures to condition our proprietary high-performance PoET foundation models. Prompt creation and alignment remain available; see Models for model execution. Full reference: openprotein.prompt.

openprotein.prompt.PromptAPI(session)Prompt API providing the interface to create prompts for use with PoET models.
openprotein.prompt.Prompt(session, job=None, metadata=None, num_replicates=None)Prompt which contains a set of sequences and/or structures used to condition the PoET models.
openprotein.prompt.Query(session, metadata)Query containing a sequence/structure used to query the design models which opens up new workflows.
openprotein.prompt.PromptMetadata(*, id, name, description=None, created_date, num_replicates, job_id=None, status)Metadata about a prompt.
openprotein.prompt.QueryMetadata(*, id, created_date)Metadata about a query.
openprotein.prompt.PromptJob(*, job_id, job_type, status, created_date, start_date=None, end_date=None, prerequisite_job_id=None, progress_message=None, progress_counter=None, sequence_length=None, failure_message=None, name=None, description=None, units_digest=None, unit_count=None, provider_id=None, path=None, version=None, outputs=None, metadata=None, **extra_data)A prompt sampling job.

Foundation models

The compatibility interface is deprecated. Use foundation models to produce embeddings and logits with your protein sequences, then reduce the embeddings with SVD or UMAP for visualization and training workflows. For model execution use Models; the compatibility interface and SVD/UMAP workflows remain documented here. Full reference: openprotein.embeddings.

openprotein.embeddings.EmbeddingsAPI(session)Embeddings API providing the interface for creating embeddings using protein language models.
openprotein.embeddings.PoET2Model(session, model_id, metadata=None)Class for OpenProtein's foundation model PoET 2.
openprotein.embeddings.PoETModel(session, model_id, metadata=None)Class for OpenProtein's foundation model PoET.
openprotein.embeddings.AbLang2Model(session, model_id, metadata=None)Community AbLang2 model that targets antibodies.
openprotein.embeddings.OpenProteinModel(session, model_id, metadata=None)Proprietary protein embedding models served by OpenProtein.
openprotein.embeddings.ESMModel(session, model_id, metadata=None)Class providing inference endpoints for Facebook's ESM protein language models.
openprotein.embeddings.EmbeddingModel(session, model_id, metadata=None)Base embeddings model used to understand and provide embeddings from sequences.
openprotein.embeddings.models.AttnModel(session, model_id, metadata=None)Embeddings model that provides attention computation.
openprotein.svd.SVDModel(session, job=None, metadata=None)SVD model that can be used to create reduced embeddings.
openprotein.umap.UMAPModel(session, job=None, metadata=None)UMAP model that can be used to create projected embeddings.
openprotein.svd.SVDAPI(session)SVD API providing the interface for creating and using SVD models.
openprotein.umap.UMAPAPI(session)UMAP API providing the interface to fit and run UMAP visualizations.
openprotein.common.ReductionType()ReductionType is an enumeration of the possible reduction types available.
openprotein.common.ModelMetadata(*, id=..., description, max_sequence_length=None, dimension=None, output_types=None, input_tokens=None, output_tokens=None, token_descriptions=None)Metadata about available protein embedding models.
openprotein.embeddings.EmbeddingsResultFuture(session, job, sequences=None, max_workers=10)Future for manipulating results for embeddings-related requests.
openprotein.embeddings.EmbeddingsScoreFuture(session, job, sequences=None)Future for manipulating results for embeddings score-related requests.
openprotein.embeddings.future.EmbeddingsScoreSingleSiteFuture(session, job, sequences=None)Future for manipulating results for embeddings score-related requests.
openprotein.embeddings.EmbeddingsGenerateFuture(session, job, sequences=None)Future for manipulating results for embeddings generate-related requests.
openprotein.embeddings.future.BaseScoreFuture(session, job, sequences=None)Future for manipulating results for embeddings score-related requests.
openprotein.svd.SVDEmbeddingsResultFuture(session, job, sequences=None, max_workers=10)SVD embeddings results represented as a future.
openprotein.umap.UMAPEmbeddingsResultFuture(session, job, sequences=None, max_workers=10)UMAP embeddings results represented as a future.

Predictor

The compatibility interface is deprecated. Train predictors from your assay datasets and use them to make predictions on novel sequences. For new training workflows see Models; the predictor interface remains available for compatible jobs. Full reference: openprotein.predictor.

openprotein.predictor.PredictorAPI(session)Predictor API providing the interface to train and predict predictors.
openprotein.predictor.PredictorModel(session, job=None, metadata=None)Class providing predict endpoint for fitted predictor models.
openprotein.predictor.PredictionResultFuture(session, job, sequences=None)Prediction results represented as a future.
openprotein.predictor.validate.CVResultFuture(session, job)Future Job for manipulating results
openprotein.predictor.KernelType()Kernel options for a GP predictor.
openprotein.common.FeatureType()

Fold

The compatibility interface is deprecated. Make structure predictions on your protein sequences. For model discovery and folding see Models; the fold interface remains available for compatible workflows. Full reference: openprotein.fold.

openprotein.fold.FoldAPI(session)Fold API provides a high level interface for making protein structure predictions.
openprotein.fold.ProtenixModel(session, model_id, metadata=None)Class providing inference endpoints for Protenix structure prediction.
openprotein.fold.ProtenixV2Model(session, model_id, metadata=None)Class providing inference endpoints for Protenix-v2 structure prediction.
openprotein.fold.Boltz2Model(session, model_id, metadata=None)Class providing inference endpoints for Boltz-2 structure prediction model which jointly models complex structures and binding affinities.
openprotein.fold.Boltz1xModel(session, model_id, metadata=None)Class providing inference endpoints for Boltz-1x open-source structure prediction model, which adds the use of inference potentials to improve performance.
openprotein.fold.Boltz1Model(session, model_id, metadata=None)Class providing inference endpoints for Boltz-1 open-source structure prediction model.
openprotein.fold.RosettaFold3Model(session, model_id, metadata=None)Class providing inference endpoints for RosettaFold-3 structure prediction model.
openprotein.fold.AlphaFold2Model(session, model_id, metadata=None)Class providing inference endpoints for AlphaFold2 structure prediction models, based on the implementation by ColabFold.
openprotein.fold.ESMFoldModel(session, model_id, metadata=None)Class providing inference endpoints for Facebook's ESMFold structure prediction models.
openprotein.fold.ESMFold2Model(session, model_id, metadata=None)Class providing inference endpoints for ESMFold2 structure prediction.
openprotein.fold.ESMFold2FastModel(session, model_id, metadata=None)Class providing inference endpoints for ESMFold2-Fast structure prediction.
openprotein.fold.MiniFoldModel(session, model_id, metadata=None)Class providing inference endpoints for MiniFold.
openprotein.fold.FoldModel(session, model_id, metadata=None)A fold model that predicts a structure from sequences.
openprotein.fold.boltz.BoltzModel(session, model_id, metadata=None)Class providing inference endpoints for Boltz structure prediction models.
openprotein.fold.ESMFold2Confidence(*, ptm, iptm, complex_plddt, chains_ptm, pair_chains_iptm)Per-sample confidence scores from an ESMFold2 structure prediction.
openprotein.fold.FoldResultFuture(session, job=None, metadata=None, sequences=None, complexes=None, max_workers=10)Fold results represented as a future.
openprotein.fold.BoltzConfidence(*, confidence_score, ptm, iptm, ligand_iptm, protein_iptm, complex_plddt, complex_iplddt, complex_pde, complex_ipde, chains_ptm, pair_chains_iptm)Model representing the aggregated confidence scores for a prediction sample.
openprotein.fold.BoltzAffinity(*, affinity_pred_value, affinity_probability_binary)Output schema for Boltz affinity ensemble predictions.
openprotein.fold.ProtenixConfidence(*, ranking_score, ptm, iptm, plddt, gpde, has_clash, num_recycles, disorder, chain_ptm, chain_iptm, chain_plddt, chain_gpde, chain_pair_iptm, chain_pair_iptm_global, chain_pair_gpde)Per-sample confidence scores from a Protenix structure prediction.
openprotein.fold.FoldJob(*, num_records=None, job_id, job_type, status, created_date, start_date=None, end_date=None, prerequisite_job_id=None, progress_message=None, progress_counter=None, sequence_length=None, failure_message=None, name=None, description=None, units_digest=None, unit_count=None, provider_id=None, path=None, version=None, outputs=None, metadata=None, **extra_data)Folding job class.
openprotein.fold.FoldMetadata(*, job_id, model_id, args=None, sequences=None)Metadata for a folding job.
openprotein.fold.OpenDDEModel(session, model_id, metadata=None)Class providing inference endpoints for OpenDDE structure prediction.
openprotein.fold.OpenDDEAbagModel(session, model_id, metadata=None)Class providing inference endpoints for the OpenDDE antibody-antigen model.
openprotein.fold.OpenDDEConfidence(*, ranking_score, ptm, iptm, plddt, gpde, has_clash, num_recycles, disorder, chain_ptm, chain_iptm, chain_plddt, chain_gpde, chain_pair_iptm, chain_pair_iptm_global, chain_pair_gpde, chain_pair_plddt)Per-sample confidence scores from an OpenDDE structure prediction.

On this page