|
308 | 308 | "YouTubeVideo('D95mFnIjRo4', width=800, height=400)" |
309 | 309 | ] |
310 | 310 | }, |
| 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 | + }, |
311 | 323 | { |
312 | 324 | "cell_type": "code", |
313 | 325 | "execution_count": null, |
|
318 | 330 | "!docker run -it --rm --volume /home:/home quay.io/biocontainers/busco:5.4.3--pyhdfd78af_0 busco \\\n", |
319 | 331 | "-i /home/jupyter/resources/trans/Oncorhynchus_mykiss_GGBN01.1.fa \\\n", |
320 | 332 | "-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" |
322 | 334 | ] |
323 | 335 | }, |
324 | 336 | { |
|
365 | 377 | "outputs": [], |
366 | 378 | "source": [ |
367 | 379 | "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')" |
369 | 381 | ] |
370 | 382 | }, |
371 | 383 | { |
|
385 | 397 | "metadata": {}, |
386 | 398 | "outputs": [], |
387 | 399 | "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')" |
389 | 401 | ] |
390 | 402 | }, |
391 | 403 | { |
|
415 | 427 | "!docker run -it --rm --volume /home:/home quay.io/biocontainers/busco:5.4.3--pyhdfd78af_0 busco \\\n", |
416 | 428 | "-i /home/jupyter/resources/trans/Pseudacris_regilla_GAEI01.1.fa \\\n", |
417 | 429 | "-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" |
419 | 431 | ] |
420 | 432 | }, |
421 | 433 | { |
|
473 | 485 | "metadata": { |
474 | 486 | "environment": { |
475 | 487 | "kernel": "python3", |
476 | | - "name": "common-cpu.m108", |
| 488 | + "name": "common-cpu.m109", |
477 | 489 | "type": "gcloud", |
478 | | - "uri": "gcr.io/deeplearning-platform-release/base-cpu:m108" |
| 490 | + "uri": "gcr.io/deeplearning-platform-release/base-cpu:m109" |
479 | 491 | }, |
480 | 492 | "kernelspec": { |
481 | 493 | "display_name": "Python 3", |
|
492 | 504 | "name": "python", |
493 | 505 | "nbconvert_exporter": "python", |
494 | 506 | "pygments_lexer": "ipython3", |
495 | | - "version": "3.7.12" |
| 507 | + "version": "3.10.11" |
496 | 508 | } |
497 | 509 | }, |
498 | 510 | "nbformat": 4, |
|
0 commit comments