Views
No views yet

1git clone https://huggingface.co/Zirui-Fan/DynaFold
2cd DynaFold
3conda create -n dynafold python=3.12.10
4conda activate dynafold
5pip install -r requirements.txt
6pip install python-dateutil| Model Name | Download Link |
|---|---|
| Encoder | https://huggingface.co/Zirui-Fan/DynaFold/blob/main/weights/encoder.pth |
| Decoder | https://huggingface.co/Zirui-Fan/DynaFold/blob/main/weights/decoder.pth |
| Model Name | Download Link |
|---|---|
| DynaFold-FS-ATLAS | https://huggingface.co/Zirui-Fan/DynaFold/blob/main/weights/DynaFold-FS-ATLAS.pth |
| DynaFold-FS-FastFolding | https://huggingface.co/Zirui-Fan/DynaFold/tree/main/weights/DynaFold-FS-FastFolding |
| DynaFold-CT | https://huggingface.co/Zirui-Fan/DynaFold/blob/main/weights/DynaFold-CT.pth |
| DynaFold-ES-Pretrain | https://huggingface.co/Zirui-Fan/DynaFold/blob/main/weights/DynaFold-ES-Pretrain.pth |
| DynaFold-ES-ATLAS | https://huggingface.co/Zirui-Fan/DynaFold/blob/main/weights/DynaFold-ES-ATLAS.pth |
| DynaFold-ES-FastFolding | https://huggingface.co/Zirui-Fan/DynaFold/tree/main/weights/DynaFold-ES-FastFolding |
inference.py is used for DynaFold's forward simulation (DynaFold-FS) and ensemble (DynaFold-ES) models. The basic inference command for running DynaFold-ES is:1python inference.py \
2--input ./example/ATLAS \
3--out_dir ./results \
4--esm_model_path ./esm2/weights/esm2_t33_650M_UR50D.pt \
5--encoder_ckpt ./weights/encoder.pth \
6--decoder_ckpt ./weights/decoder.pth \
7--ldt_ckpt ./weights/DynaFold-ES-ATLAS.pth \
8--T 100--T denotes the number of sampled structures or tracjetory frames. For DynaFold-FS, the additional parameters --use_cond and --temp_attn must be supplied, specifying the use of conditional frames and temporal attention mechanisms within the LDT model respectively. The basic inference command for running DynaFold-FS is:1python inference.py \
2--input ./example/ATLAS \
3--out_dir ./results \
4--esm_model_path ./esm2/weights/esm2_t33_650M_UR50D.pt \
5--encoder_ckpt ./weights/encoder.pth \
6--decoder_ckpt ./weights/decoder.pth \
7--ldt_ckpt ./weights/DynaFold-FS-ATLAS.pth \
8--T 201 --use_cond --temp_attninference_CT.py is used for DynaFold's conformational transition (DynaFold-CT) models. The basic inference command for running DynaFold-CT is:1python inference_CT.py \
2--pdb0 ./example/FastFolding/CT/NLT9/start.pdb \
3--pdbT ./example/FastFolding/CT/NLT9/end.pdb \
4--out_dir ./results \
5--esm_model_path ./esm2/weights/esm2_t33_650M_UR50D.pt \
6--encoder_ckpt ./weights/encoder.pth \
7--decoder_ckpt ./weights/decoder.pth \
8--ldt_ckpt ./weights/DynaFold-CT.pth \
9--T 50