Skip to content

Running AF3 using run_multimer_jobs.py #616

@ncoudray

Description

@ncoudray

Hi -

I have just been updating from 2.0.3 to 2.4.0 but I am a bit confused on how to run alphafold3 with the command lines.

First, I ran

create_individual_features.py \
  --description_file=description.csv \
  --fasta_paths=Data/two_targets.fasta \
  --path_to_mmt=template/ \
  --data_dir=/scratch4/datasets/alphafold3 \
  --save_msa_files=True \
  --output_dir=Output/msa \
  --use_precomputed_msas=True \
  --max_template_date=2050-01-01 \
  --data_pipeline=alphafold3 \
  --skip_existing=False

which worked and generated two files:
Output/msa/4Y25_af3_input.json
and
Output/msa/5T10_af3_input.json

I then tried to run the second command using something like:

run_multimer_jobs.py  \
  --mode=custom \
  --num_cycle=3 \
  --num_predictions_per_model=1 \
  --output_path=Output/models \
  --data_dir=/scratch4/datasets/alphafold3 \
  --protein_lists=Data/protein_list5.txt \
  --monomer_objects_dir=Output/msa \
  --multimeric_template=True \
  --msa_depth=128 \
  --fold_backend=alphafold3 \
  --use_ap_style=True \
  --job_index=$SLURM_ARRAY_TASK_ID

But get this error:

Traceback (most recent call last):
  File "/vast/hpc/x86_64-linux/alphapulldown/2.0.3/miniconda/bin/run_structure_prediction.py", line 354, in <module>
    app.run(main)
  File "/vast/hpc/x86_64-linux/alphapulldown/2.0.3/miniconda/lib/python3.10/site-packages/absl/app.py", line 316, in run
    _run_main(main, args)
  File "/vast/hpc/x86_64-linux/alphapulldown/2.0.3/miniconda/lib/python3.10/site-packages/absl/app.py", line 261, in _run_main
    sys.exit(main(argv))
  File "/vast/hpc/x86_64-linux/alphapulldown/2.0.3/miniconda/bin/run_structure_prediction.py", line 324, in main
    parsed_input = parse_fold(FLAGS.input, FLAGS.features_directory, FLAGS.protein_delimiter)
  File "/vast/hpc/x86_64-linux/alphapulldown/2.0.3/miniconda/lib/python3.10/site-packages/alphapulldown/utils/modelling_setup.py", line 85, in parse_fold
    raise FileNotFoundError(
FileNotFoundError: ['4Y25', '5T10'] not found in ['Output/msa']

For Data/protein_list5.txt, I have
4Y25;5T10

I tried also
4Y25_af3_input.json;5T10_af3_input.json

and some other intermediate combinations (4Y25_af3_input;5T10_af3_input or 4Y25_af3;5T10_af3) but all gave me similar errors

It must be something I missed - can anyone assist?

Thanks,
Best,
Nicolas

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