Skip to content

$TEMPLATE_MMCIF_DIR #545

@yuzimu1

Description

@yuzimu1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions