-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun_analysis.sh
executable file
·31 lines (25 loc) · 1.04 KB
/
run_analysis.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# Exit on error
set -o errexit
execute_time=10000000
# Run all files in order
# Notebook 1 - Apply the Ras and TP53 classifiers to the input PDX data
jupyter nbconvert --to=html \
--FilesWriter.build_directory=html \
--ExecutePreprocessor.kernel_name=python3 \
--ExecutePreprocessor.timeout=$execute_time \
--execute 1.apply-classifier.ipynb
# Notebook 2 - Evaluate the prediction performance
jupyter nbconvert --to=html \
--FilesWriter.build_directory=html \
--ExecutePreprocessor.kernel_name=python3 \
--ExecutePreprocessor.timeout=$execute_time \
--execute 2.evaluate-classifier.ipynb
# Notebook 3 - Explore classifier score assignments
jupyter nbconvert --to=html \
--FilesWriter.build_directory=html \
--ExecutePreprocessor.kernel_name=python3 \
--ExecutePreprocessor.timeout=$execute_time \
--execute 3.explore-variants.ipynb
# Convert all notebooks to python scripts
jupyter nbconvert --to=script --FilesWriter.build_directory=scripts *.ipynb