Skip to content

Commit ba74a5b

Browse files
created build_drugs.sh
1 parent a26c7a0 commit ba74a5b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

build/liverpdo/build_drugs.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
trap 'echo "Error on or near line $LINENO while executing: $BASH_COMMAND"; exit 1' ERR
5+
6+
# running the drug python script
7+
echo "Running 03-drug-crcpdo.py with token and PrevDrugs $1."
8+
python3 03-drug-liverpdo.py --Download --Drug --Token $SYNAPSE_AUTH_TOKEN --PrevDrugs $1
9+
10+
# running the drug descriptor python script
11+
python3 build_drug_desc.py --drugtable /tmp/liverpdo_drugs.tsv --desctable /tmp/liverpdo_drug_descriptors.tsv.gz

0 commit comments

Comments
 (0)