-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathrun_pipeline.sh
executable file
·38 lines (24 loc) · 1.01 KB
/
run_pipeline.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
32
33
34
35
36
37
#!/bin/bash
# 0) Download and process all data required in the pipeline
bash download_data.sh
python scripts/process_data.py
# 1) Run parameter sweep for variational autoencoder over: Learning rate, batch
# size, epochs, and kappa.
# Parameter sweep was run on a cluster with 8 NVIDIA GEFORCE GTX 1080 Ti GPUs
bash param_sweep.sh
python scripts/summarize_paramsweep.py
Rscript scripts/viz/param_sweep_viz.R
# 2) Run optimized model and combine results with clinical data
python scripts/pancan_vae_keras_onehidden_warmup_batchnorm.py
Rscript scripts/combine_clinical_encoded.R
# 3) Evaluate the model for sample activations
Rscript scripts/viz/sample_activation_distribution.R
python scripts/tsne_vae.py
Rscript scripts/viz/tsne_viz.R
# 4) Evaluate the model for learned weight (gene) coefficients
python scripts/explore_weights.py
Rscript scripts/viz/feature_activation_plots.R
# 5) Evaluate VAE manifold manipulations
python scripts/subtraction.py
python scripts/get_distance.py
Rscript scripts/viz/distance_viz.R