Skip to content

Commit 920d2af

Browse files
manuleraBjornFJohansson
authored andcommitted
update notebooks
1 parent 15f6d85 commit 920d2af

6 files changed

Lines changed: 49 additions & 919 deletions

File tree

docs/notebooks/Example_CRISPR.ipynb

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,8 @@
219219
"outputs": [
220220
{
221221
"data": {
222-
"text/html": [
223-
"<pre>name|45\n",
224-
" \\/\n",
225-
" /\\\n",
226-
" 45|My repair oligo for this experiment|45\n",
227-
" \\/\n",
228-
" /\\\n",
229-
" 45|name</pre>"
230-
],
231222
"text/plain": [
232-
"Contig(-469)"
223+
"Dseqrecord(-469)"
233224
]
234225
},
235226
"execution_count": null,
@@ -238,11 +229,10 @@
238229
}
239230
],
240231
"source": [
241-
"from pydna.assembly import Assembly\n",
232+
"from pydna.assembly2 import in_vivo_assembly\n",
242233
"\n",
243-
"my_KO = Assembly((target_dseq.cut(enzyme)[0],repair_oligo, target_dseq.cut(enzyme2)[-1]), limit = 20 )\n",
244-
"my_assembly_KO, *rest = my_KO.assemble_linear()\n",
245-
"my_assembly_KO"
234+
"products = in_vivo_assembly((target_dseq.cut(enzyme)[0],repair_oligo, target_dseq.cut(enzyme2)[-1]), limit = 20 )\n",
235+
"products[0]"
246236
]
247237
}
248238
],
@@ -262,7 +252,7 @@
262252
"name": "python",
263253
"nbconvert_exporter": "python",
264254
"pygments_lexer": "ipython3",
265-
"version": "3.12.3"
255+
"version": "3.12.11"
266256
}
267257
},
268258
"nbformat": 4,

0 commit comments

Comments
 (0)