pip install -r requirements.txt
-
Download the data here and set the data directories in
config.json
. -
Use
python predict_drug.py -c config.json
to generate a drug list and store in a output file assigned inconfig.json
.
It is recommended to put all settings in a config file, i.e. config.json
.
from predict_drug import run_predict
msi = run_predict()
# retrieve the nodes in graph
msi.graph.nodes
# check the connections of a node
msi.graph['DB04865']
python tran_dual_gcn.py
Currently we are using networkx. Click and find more interfaces from the documents.