Skip to content

Commit e811b9c

Browse files
committed
Updates the foldx example
1 parent 2f27ba6 commit e811b9c

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed

docs/protein-optimization/_toc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ parts:
1010
- caption: The basics
1111
chapters:
1212
- file: using_poli/the_basics/intro_to_poli.ipynb
13-
- file: using_poli/the_basics/registering_an_objective_function.md
1413
- file: using_poli/the_basics/defining_an_observer.ipynb
15-
- file: using_poli/the_basics/defining_a_problem_solver.md
16-
- file: using_poli/the_basics/optimizing_an_objective_function.md
17-
- file: using_poli/the_basics/diving_deeper.md
1814
- caption: Examples
1915
chapters:
2016
- file: using_poli/optimization_examples/protein-stability-foldx/optimizing_protein_stability.ipynb

docs/protein-optimization/using_poli/optimization_examples/protein-stability-foldx/optimizing_protein_stability.ipynb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,21 @@
3030
"data": {
3131
"text/plain": [
3232
"['aloha',\n",
33+
" 'dockstring',\n",
34+
" 'drd3_docking',\n",
3335
" 'foldx_rfp_lambo',\n",
3436
" 'foldx_sasa',\n",
3537
" 'foldx_stability',\n",
3638
" 'foldx_stability_and_sasa',\n",
39+
" 'gfp_cbas',\n",
40+
" 'gfp_select',\n",
41+
" 'penalized_logp_lambo',\n",
42+
" 'rasp',\n",
3743
" 'rdkit_logp',\n",
3844
" 'rdkit_qed',\n",
45+
" 'sa_tdc',\n",
3946
" 'super_mario_bros',\n",
47+
" 'toy_continuous_problem',\n",
4048
" 'white_noise']"
4149
]
4250
},
@@ -81,7 +89,7 @@
8189
"source": [
8290
"In this example, we will focus on optimizing [`mRouge`, also known as `3NED`](https://www.rcsb.org/structure/3NED), one of the red fluorescent proteins explored in `LaMBO` {cite:p}`stanton2022accelerating`. Before optimization, we need to download the file and \"repair\" it (see [single mutations using foldx](../../understanding_foldx/01-single-mutation-using-foldx/index.ipynb)).\n",
8391
"\n",
84-
"We assume that the file is already here: [TODO: expand/automate the process of repair]."
92+
"We assume that the repaired file is already here."
8593
]
8694
},
8795
{
@@ -227,9 +235,9 @@
227235
"cell_type": "markdown",
228236
"metadata": {},
229237
"source": [
230-
"`objective_factory.create` returns four things:\n",
238+
"`objective_factory.create` returns five things:\n",
231239
"\n",
232-
"1. a `problem_info` with a description of the problem, including useful attributes like `alphabet` or `max_sequence_length`. (See more [here (TODO: ADD API REFERENCE)]()).\n",
240+
"1. a `problem_info` with a description of the problem, including useful attributes like `alphabet` or `max_sequence_length`.\n",
233241
"2. a black-box function `f: AbstractBlackBox` from `poli`.\n",
234242
"3. an initial design `x0: np.ndarray`, and\n",
235243
"4. an initial evaluation `y0: np.ndarray`.\n",

docs/protein-optimization/using_poli/the_basics/intro_to_poli.ipynb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,6 @@
145145
"### Using a solver, or creating your own"
146146
]
147147
},
148-
{
149-
"cell_type": "markdown",
150-
"metadata": {},
151-
"source": [
152-
":::{warning}\n",
153-
"\n",
154-
"`poli-baselines` is still in alpha, and the interface might change in the future.\n",
155-
"\n",
156-
":::"
157-
]
158-
},
159148
{
160149
"cell_type": "markdown",
161150
"metadata": {},

0 commit comments

Comments
 (0)