-
Notifications
You must be signed in to change notification settings - Fork 647
Description
Hi OpenFold team,
I'm running OpenFold in a template-free mode using the finetuning_no_templ_ptm_1.pt checkpoint, and I expected that no template structures would be needed. However, I found that the script still requires me to provide a template_mmcif_dir, and I get errors like:
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/template_dir/1h1a.cif'
Here's the command I'm using:
python3 run_pretrained_openfold.py
/home/rotation14/export/openfold/examples/monomer/fasta_dir
/home/rotation14/export/openfold/examples/template_free_empty4
--output_dir /home/rotation14/export/openfold/examples/monomer/output_dir
--use_precomputed_alignments /home/rotation14/export/openfold/examples/monomer/alignments
--config_preset model_3_ptm
--openfold_checkpoint_path /home/rotation14/export/openfold/openfold/resources/params/finetuning_no_templ_ptm_1.pt
--model_device cuda:0
--save_outputs
I want to clarify two things:
Is template_mmcif_dir still required even for template-free inference?
If so, is there a minimal valid .cif file I can use or a flag to completely bypass template usage?
Thanks a lot for your help, and thank you for the amazing work on OpenFold!
Best