Skip to content

Commit e135b2d

Browse files
Merge pull request #3 from NIGMS/migration_to_batch
Migration to batch
2 parents 04e248d + 710041f commit e135b2d

5 files changed

Lines changed: 82 additions & 54 deletions

Submodule_00_background.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@
405405
"metadata": {
406406
"environment": {
407407
"kernel": "python3",
408-
"name": "common-cpu.m108",
408+
"name": "common-cpu.m109",
409409
"type": "gcloud",
410-
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m108"
410+
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m109"
411411
},
412412
"kernelspec": {
413413
"display_name": "Python 3",
@@ -424,7 +424,7 @@
424424
"name": "python",
425425
"nbconvert_exporter": "python",
426426
"pygments_lexer": "ipython3",
427-
"version": "3.7.12"
427+
"version": "3.10.11"
428428
}
429429
},
430430
"nbformat": 4,

Submodule_01_prog_setup.ipynb

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
"outputs": [],
306306
"source": [
307307
"from jupyterquiz import display_quiz\n",
308-
"display_quiz(\"rnaAssemblyMDI/quiz-material/01-cp1.json\", shuffle_questions = True)"
308+
"display_quiz(\"Transcriptome-Assembly-Refinement-and-Applications/quiz-material/01-cp1.json\", shuffle_questions = True)"
309309
]
310310
},
311311
{
@@ -315,14 +315,22 @@
315315
"source": [
316316
"## When you are ready, proceed to the next notebook: [`Submodule_02_basic_assembly.ipynb`](./Submodule_02_basic_assembly.ipynb)."
317317
]
318+
},
319+
{
320+
"cell_type": "code",
321+
"execution_count": null,
322+
"id": "934165c2-8fbd-4801-979f-6db5d1e592ea",
323+
"metadata": {},
324+
"outputs": [],
325+
"source": []
318326
}
319327
],
320328
"metadata": {
321329
"environment": {
322330
"kernel": "python3",
323-
"name": "common-cpu.m104",
331+
"name": "common-cpu.m109",
324332
"type": "gcloud",
325-
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m104"
333+
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m109"
326334
},
327335
"kernelspec": {
328336
"display_name": "Python 3",
@@ -339,7 +347,7 @@
339347
"name": "python",
340348
"nbconvert_exporter": "python",
341349
"pygments_lexer": "ipython3",
342-
"version": "3.7.12"
350+
"version": "3.10.11"
343351
}
344352
},
345353
"nbformat": 4,

Submodule_02_basic_assembly.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@
275275
"outputs": [],
276276
"source": [
277277
"from jupytercards import display_flashcards\n",
278-
"display_flashcards('rnaAssemblyMDI/quiz-material/02-cp1-1.json')\n",
279-
"display_flashcards('rnaAssemblyMDI/quiz-material/02-cp1-2.json')"
278+
"display_flashcards('Transcriptome-Assembly-Refinement-and-Applications/quiz-material/02-cp1-1.json')\n",
279+
"display_flashcards('Transcriptome-Assembly-Refinement-and-Applications/quiz-material/02-cp1-2.json')"
280280
]
281281
},
282282
{
@@ -291,9 +291,9 @@
291291
"metadata": {
292292
"environment": {
293293
"kernel": "python3",
294-
"name": "common-cpu.m104",
294+
"name": "common-cpu.m109",
295295
"type": "gcloud",
296-
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m104"
296+
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m109"
297297
},
298298
"kernelspec": {
299299
"display_name": "Python 3",
@@ -310,7 +310,7 @@
310310
"name": "python",
311311
"nbconvert_exporter": "python",
312312
"pygments_lexer": "ipython3",
313-
"version": "3.7.12"
313+
"version": "3.10.11"
314314
}
315315
},
316316
"nbformat": 4,

Submodule_03_annotation_only.ipynb

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,18 @@
308308
"YouTubeVideo('D95mFnIjRo4', width=800, height=400)"
309309
]
310310
},
311+
{
312+
"cell_type": "code",
313+
"execution_count": null,
314+
"id": "82296cfb-cddb-4325-a8a6-ab3eea8fdfbd",
315+
"metadata": {},
316+
"outputs": [],
317+
"source": [
318+
"numthreads=!lscpu | grep '^CPU(s)'| awk '{print $2-1}'\n",
319+
"THREADS = int(numthreads[0])\n",
320+
"!echo $THREADS"
321+
]
322+
},
311323
{
312324
"cell_type": "code",
313325
"execution_count": null,
@@ -318,7 +330,7 @@
318330
"!docker run -it --rm --volume /home:/home quay.io/biocontainers/busco:5.4.3--pyhdfd78af_0 busco \\\n",
319331
"-i /home/jupyter/resources/trans/Oncorhynchus_mykiss_GGBN01.1.fa \\\n",
320332
"-l vertebrata_odb10 -o GGBN01_busco_vertebrata \\\n",
321-
"--out_path /home/jupyter/buscoOutput -m tran -c 14 "
333+
"--out_path /home/jupyter/buscoOutput -m tran -c $THREADS"
322334
]
323335
},
324336
{
@@ -365,7 +377,7 @@
365377
"outputs": [],
366378
"source": [
367379
"from jupytercards import display_flashcards\n",
368-
"display_flashcards('rnaAssemblyMDI/quiz-material/03-cp1-1.json')"
380+
"display_flashcards('Transcriptome-Assembly-Refinement-and-Applications/quiz-material/03-cp1-1.json')"
369381
]
370382
},
371383
{
@@ -385,7 +397,7 @@
385397
"metadata": {},
386398
"outputs": [],
387399
"source": [
388-
"display_flashcards('rnaAssemblyMDI/quiz-material/03-cp1-2.json')"
400+
"display_flashcards('Transcriptome-Assembly-Refinement-and-Applications/quiz-material/03-cp1-2.json')"
389401
]
390402
},
391403
{
@@ -415,7 +427,7 @@
415427
"!docker run -it --rm --volume /home:/home quay.io/biocontainers/busco:5.4.3--pyhdfd78af_0 busco \\\n",
416428
"-i /home/jupyter/resources/trans/Pseudacris_regilla_GAEI01.1.fa \\\n",
417429
"-l vertebrata_odb10 -o GAEI01_busco_vertebrata \\\n",
418-
"--out_path /home/jupyter/buscoOutput -m tran -c 14 "
430+
"--out_path /home/jupyter/buscoOutput -m tran -c $THREADS"
419431
]
420432
},
421433
{
@@ -473,9 +485,9 @@
473485
"metadata": {
474486
"environment": {
475487
"kernel": "python3",
476-
"name": "common-cpu.m108",
488+
"name": "common-cpu.m109",
477489
"type": "gcloud",
478-
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m108"
490+
"uri": "gcr.io/deeplearning-platform-release/base-cpu:m109"
479491
},
480492
"kernelspec": {
481493
"display_name": "Python 3",
@@ -492,7 +504,7 @@
492504
"name": "python",
493505
"nbconvert_exporter": "python",
494506
"pygments_lexer": "ipython3",
495-
"version": "3.7.12"
507+
"version": "3.10.11"
496508
}
497509
},
498510
"nbformat": 4,

0 commit comments

Comments
 (0)