Skip to content

Commit 582d394

Browse files
committed
update readme
1 parent 2c983d8 commit 582d394

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,20 @@ write.csv(test_cell,"../test_cell_info.csv",quote = F,row.names = F)
120120

121121
Then we can use python script `pred_enzyme.py`​ (which in `scripts/model`​ fold) to predict metabolic dependency:
122122

123-
```R
123+
```shell
124+
###conda env
125+
conda create -n DeepMeta python=3.10 cudatoolkit=11.3.1
126+
conda activate DeepMeta
127+
conda install pytorch==1.11.0 cudatoolkit=11.3 -c pytorch -y
128+
wget https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_cluster-1.6.0-cp310-cp310-linux_x86_64.whl
129+
wget https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_scatter-2.0.9-cp310-cp310-linux_x86_64.whl
130+
wget https://data.pyg.org/whl/torch-1.11.0%2Bcu113/torch_sparse-0.6.13-cp310-cp310-linux_x86_64.whl
131+
pip install torch_scatter-2.0.9-cp310-cp310-linux_x86_64.whl
132+
pip install torch_sparse-0.6.13-cp310-cp310-linux_x86_64.whl
133+
pip install torch_cluster-1.6.0-cp310-cp310-linux_x86_64.whl
134+
pip install torch-geometric==2.1.0 pandas tqdm networkx==3.1 conda-forge::mkl==2024.0 numpy==1.24.4
135+
136+
##run
124137
python DeepMeta/scripts/model/pred_enzyme.py -e ./test_diff_exp.csv -g ./example_test -c ./test_cell_info.csv -n ./pre_test/ -t 10 -m ./DeepMeta.pt -o ./res.csv -d val -b 1
125138
```
126139

4.89 KB
Binary file not shown.

0 commit comments

Comments
 (0)