-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathweb_db_Paeruginosa_eADAGE.sh
executable file
·28 lines (20 loc) · 1.14 KB
/
web_db_Paeruginosa_eADAGE.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
#!/bin/bash
set -o errexit
# Kathleen Chen 2017
###############################################################################
# PAO1 <> eADAGE <> KEGG web application DB setup
###############################################################################
# These are the filepaths and constants used in both this script
# and the PAO1 eADAGE analysis script (./analysis_Paeruginosa_eADAGE.sh)
source ./common_Paeruginosa_eADAGE.sh
filtered_network=$permutation_output_dir"/filtered_network.tsv"
# NOTE: Please create this file after you have set up an mLab account and
# a MongoDB instance with a database user (see README)
db_credentials_file="./db-credentials.yml"
python web_initialize_db.py $data_compendium $pathway_file $filtered_network \
$network_output_dir $db_credentials_file \
--features=300 --is-pathcore-example
python web_edge_page_data.py $filtered_network $db_credentials_file
wait
echo "The PAO1 eADAGE web application DB setup has finished."
exit 0