Skip to content

Commit 08a63e2

Browse files
authored
Merge pull request #135 from OpenProteinAI/develop
Release python v0.8.0
2 parents 9bd9d74 + 1e411c0 commit 08a63e2

7 files changed

Lines changed: 211 additions & 131 deletions

File tree

pixi.lock

Lines changed: 92 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = [
2525
"sphinx-notfound-page>=1.1.0,<1.2.0",
2626
"sphinx-panels>=0.4.1,<0.5.0",
2727
# autodoc
28-
"openprotein-python",
28+
"openprotein-python==0.8.0",
2929
]
3030

3131
[build-system]
@@ -41,7 +41,7 @@ platforms = ["osx-arm64"]
4141
[dependency-groups]
4242
dev = [
4343
"sphinx-autobuild",
44-
"openprotein-python @ git+https://github.com/OpenProteinAI/openprotein-python-private@develop",
44+
"openprotein-python @ git+https://github.com/OpenProteinAI/openprotein-python-private@3f9ccbc1a7651d5a084d1520b13f1d4c9198f380",
4545
]
4646

4747
[tool.pixi.environments]

source/python-api/api-reference/align.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ Some tools (e.g. PoET, AlphaFold2) require an MSA to be generated. The tools bel
77
:members:
88
:inherited-members:
99

10-
.. autoclass:: openprotein.align.PromptFuture
11-
:members:
12-
:inherited-members:
13-
1410
.. autoclass:: openprotein.align.MSAFuture
1511
:members:
1612
:inherited-members:

source/python-api/api-reference/index.rst

Lines changed: 73 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,82 +7,124 @@ Property Regression Models
77

88
Data
99
^^^^
10+
11+
Upload and store your datasets on our platform to use with your protein engineering tasks.
12+
1013
.. autosummary::
1114

1215
openprotein.data.DataAPI
1316
openprotein.data.AssayDataset
1417

15-
..
16-
Train
17-
^^^^^
18-
.. autosummary::
18+
Align
19+
-----
1920

20-
openprotein.api.train.TrainingAPI
21-
openprotein.api.train.TrainFuture
22-
openprotein.api.predict.PredictFuture
21+
Align your protein sequences or look up multiple sequence alignments.
2322

24-
Predictor
25-
^^^^^^^^^
2623
.. autosummary::
2724

28-
openprotein.predictor.PredictorAPI
29-
openprotein.predictor.PredictorModel
25+
openprotein.align.AlignAPI
26+
openprotein.align.MSAFuture
27+
28+
Prompt
29+
------
30+
31+
Create prompts using sequences and structures to condition our proprietary high-performance PoET foundation models.
3032

31-
Design
32-
^^^^^^
3333
.. autosummary::
3434

35-
openprotein.design.DesignAPI
36-
openprotein.design.DesignFuture
35+
openprotein.prompt.PromptAPI
36+
openprotein.prompt.Prompt
37+
openprotein.prompt.Query
3738

3839

3940
Foundation models
4041
-----------------
4142

42-
Endpoints
43-
^^^^^^^^^
43+
Use foundation models to produce embeddings and logits with your protein sequences.
44+
4445
.. autosummary::
4546

4647
openprotein.embeddings.EmbeddingsAPI
4748

4849

4950
Models
5051
^^^^^^
52+
53+
The foundation models on our platform are classed appropriately to identify the models and group their functionality.
54+
5155
.. autosummary::
5256

53-
openprotein.embeddings.OpenProteinModel
54-
openprotein.embeddings.ESMModel
5557
openprotein.embeddings.PoET2Model
5658
openprotein.embeddings.PoETModel
57-
openprotein.embeddings.SVDModel
58-
openprotein.embeddings.UMAPModel
59+
openprotein.embeddings.OpenProteinModel
60+
openprotein.embeddings.ESMModel
5961

6062
Results
6163
^^^^^^^
64+
65+
The models produce asynchronous results which are modeled as futures which can be awaited.
66+
6267
.. autosummary::
6368

6469
openprotein.embeddings.EmbeddingsResultFuture
6570
openprotein.embeddings.EmbeddingsScoreFuture
6671
openprotein.embeddings.EmbeddingsGenerateFuture
6772

68-
Align
69-
-----
73+
Transform
74+
---------
75+
76+
Transform and reduce your embeddings for use with visualization and training workflows.
7077

78+
SVD
79+
^^^
7180
.. autosummary::
7281

73-
openprotein.align.AlignAPI
74-
openprotein.align.PromptFuture
75-
openprotein.align.MSAFuture
82+
openprotein.svd.SVDAPI
83+
openprotein.svd.SVDModel
84+
85+
UMAP
86+
^^^^
87+
.. autosummary::
88+
89+
openprotein.umap.UMAPAPI
90+
openprotein.umap.UMAPModel
91+
92+
Predictor
93+
---------
94+
95+
Train predictors from your assay datasets and use them to make predictions on novel sequences.
96+
97+
.. autosummary::
98+
99+
openprotein.predictor.PredictorAPI
100+
openprotein.predictor.PredictorModel
101+
openprotein.predictor.PredictionResultFuture
102+
103+
Design
104+
------
105+
106+
Design novel protein sequences based on your assay datasets and trained models, optimizing toward your design criteria.
107+
108+
.. autosummary::
109+
110+
openprotein.design.DesignAPI
111+
openprotein.design.DesignFuture
76112

77113
Fold
78114
----
79115

116+
Make structure predictions on your protein sequences.
117+
80118
.. autosummary::
81119

82120
openprotein.fold.FoldAPI
83121
openprotein.fold.ESMFoldModel
84122
openprotein.fold.AlphaFold2Model
123+
openprotein.fold.Boltz2Model
124+
openprotein.fold.Boltz1xModel
125+
openprotein.fold.Boltz1Model
85126
openprotein.fold.FoldResultFuture
127+
openprotein.fold.FoldComplexResultFuture
86128

87129

88130
.. toctree::
@@ -91,8 +133,11 @@ Fold
91133

92134
basics
93135
data
136+
align
137+
prompt
138+
embedding
139+
svd
140+
umap
94141
predictor
95142
design
96-
embedding
97-
align
98143
fold
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
openprotein.prompt
2+
=====================
3+
4+
Create prompts to be used with PoET models, along with queries which opens up use-cases like inverse folding with PoET-2.
5+
6+
.. autoclass:: openprotein.prompt.PromptAPI
7+
:members:
8+
:inherited-members:
9+
10+
.. autoclass:: openprotein.prompt.Prompt
11+
:members:
12+
:inherited-members:
13+
14+
.. autoclass:: openprotein.prompt.Query
15+
:members:
16+
:inherited-members:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
openprotein.svd
2+
===============
3+
4+
Fit SVD models on top of our protein language models to produce reduced embeddings, which can be used to train predictors!
5+
6+
Endpoints
7+
-----------
8+
.. autoclass:: openprotein.svd.SVDAPI
9+
:members:
10+
:undoc-members:
11+
12+
.. autoclass:: openprotein.svd.SVDModel
13+
:members:
14+
:undoc-members:
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
openprotein.umap
2+
================
3+
4+
Fit and transform your embeddings using UMAP to help visualize your embeddings.
5+
6+
Endpoints
7+
-----------
8+
.. autoclass:: openprotein.umap.UMAPAPI
9+
:members:
10+
:undoc-members:
11+
12+
.. autoclass:: openprotein.umap.UMAPModel
13+
:members:
14+
:undoc-members:

0 commit comments

Comments
 (0)