- Must be in base folder before running any command (ex. alertremake)
For updating and creating databases manually
python3 driver_manual.py -db {DATABASE TAG} -m {MODE} -r {RESTART FROM}
nohup python3 -u driver_manual.py -db {DATABASE TAG} -m {MODE} -r {RESTART FROM} &
- ct [Clinical Trial Database]
- pm [PubMed Database]
- gnt [NIH Funded Projects Database]
- gard [GARD Database] --has no update mode; build database in full when triggered
- create
- update
- 4 [Database population]
- 3 [Query generation]
- 2 [Full trial data gathering]
- 1 [NCTID gathering]
- 0 [Rare disease name webscraping; from scratch]
For updating databases automatically
This can be paired with the linux nohup
command to run in the background
python3 driver_automatic.py -db {DATABASE TAG}
nohup python3 -u driver_automatic.py -db {DATABASE TAG} &
This will redirect all console output to a nohup.txt
in the base directory
- ct [Clinical Trial Database]
- pm [PubMed Database]
- gnt [NIH Funded Projects Database]