Skip to content

Commit f0b743f

Browse files
committed
Merge branch 'main' of https://github.com/bowang-lab/AGILE into main
2 parents 7ad0946 + 4b6a694 commit f0b743f

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

README.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,36 @@ An overview of AGILE can be seen below:
1919
</p>
2020

2121

22-
## Future Release Plan
22+
## Getting Started
2323

24-
- [x] Initial release
25-
- [x] Release data
26-
- [x] Release model code
27-
- [x] Release model pretraining, fine-tuning scripts
24+
### Installation
2825

26+
Set up conda environment and clone the github repo
27+
28+
```
29+
# create a new environment
30+
$ conda create --name agile python=3.9 -y
31+
$ conda activate agile
32+
33+
# install requirements
34+
$ pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
35+
$ pip install torch-geometric==2.2.0 torch-sparse==0.6.16 torch-scatter==2.1.0 -f https://data.pyg.org/whl/torch-1.12.0+cu113.html
36+
$ pip install -r requirements.txt
37+
```
38+
### Pre-training
39+
40+
The continuous pretraining of AGILE is inherited from [MolCLR](https://www.nature.com/articles/s42256-022-00447-x), the pre-trained MolCLR models can be found in [link](https://github.com/yuyangw/MolCLR). To pre-train with your own data, you can modify the configurations in `config_pretrain.yaml`.
41+
```
42+
$ python pretrain.py config_pretrain.yaml
43+
```
44+
45+
### Fine-tuning
46+
47+
To fine-tune the AGILE pre-trained model for ionizable lipid prediction on the specific cell lines, you can modify the configurations in `config_finetune.yaml`. We have provided the pre-trained AGILE model on the 60k virtual lipid library, which can be found in `ckpt/pretrained_agile_60k`.
48+
49+
```
50+
$ python finetune.py config_finetune.yaml
51+
```
2952

3053
## Citing AGILE
3154

@@ -39,3 +62,7 @@ An overview of AGILE can be seen below:
3962
publisher={Cold Spring Harbor Laboratory}
4063
}
4164
```
65+
## Acknowledgement
66+
67+
- MolCLR: [https://github.com/yuyangw/MolCLR](https://github.com/yuyangw/MolCLR)
68+
- Mordred: [https://github.com/mordred-descriptor/mordred](https://github.com/mordred-descriptor/mordred)

0 commit comments

Comments
 (0)