Download a small wrapper into the target model repo root, then run it from that model's own environment. The wrapper fetches the GreenFold bundle and prepares runnable local inputs.
~/.cache/greenfold/runners.P63313,P62328 smoke-test input and a --prepare-only command.requests installed in the same environment as the runner.BASE_URL="https://<your-server>"
curl -L "${BASE_URL}/v1/download_runner/af3" -o greenfold_af3_runner.zip
curl -L "${BASE_URL}/v1/download_runner/boltz" -o greenfold_boltz_runner.zip
curl -L "${BASE_URL}/v1/download_runner/protenix" -o greenfold_protenix_runner.zip
curl -L "${BASE_URL}/v1/download_runner/openfold" -o greenfold_openfold_runner.zip
curl -L "${BASE_URL}/v1/download_runner/af2" -o greenfold_af2_runner.zip
# AF2 adapter files only
curl -L "${BASE_URL}/v1/download_af2_adapter" -o af2_adapter.zip
These are thin wrappers around the official model commands. They prepare inputs, print the native command,
and then run the model only when you omit --prepare-only.
1. Download the runner ZIP for your model. 2. Unzip it in the model repository root. 3. Activate that model's Python/conda environment. 4. Run the matching run_greenfold_*.py script. 5. Use --prepare-only first if you want to inspect files before prediction. 6. Use --refresh-cache to redownload a bundle, or --no-cache to bypass cache.
--uniprot_ids P63313 --uniprot_ids P63313,P62328 --uniprot_ids P63313[G100A] --uniprot_ids P63313 --uniprot_ids P62328
--input_file ./my_complex.json --input_file ./my_complex.yaml --input_file ./target.fasta
--model_dir and --db_dir. The example intentionally leaves those local paths out.
python run_greenfold_af3.py \ --uniprot_ids P63313,P62328 \ --output_dir ./outputs \ --prepare-only
boltz predict command requires.
boltz predict already works.python run_greenfold_boltz.py \ --uniprot_ids P63313,P62328 \ --output_dir ./boltz_out \ --prepare-only
PROTENIX_ROOT_DIR and any Protenix-native model or database options according to your local Protenix checkout before running prediction.
PROTENIX_ROOT_DIR so Protenix can find CCD resources.--model-name if your installation uses another released model.export PROTENIX_ROOT_DIR="/path/to/Protenix/" python run_greenfold_protenix.py \ --uniprot_ids P63313,P62328 \ --output_dir ./protenix_out \ --prepare-only
--use_msa_server=False because MSA files are already staged.python run_greenfold_openfold.py \ --uniprot_ids P63313,P62328 \ --output_dir ./openfold_out \ --prepare-only
--data_dir for your AF2 database installation and keep any other AF2-native flags your setup needs. The default command is safe to copy for --prepare-only.
--output_dir is the downloaded bundle directory.<input_name>/msas/.python run_greenfold_af2.py \ --uniprot_ids P63313,P62328 \ --use_precomputed_msas=True \ --model_preset=multimer \ --max_template_date=2020-05-14 \ --db_preset=reduced_dbs \ --models_to_relax=best \ --prepare-only
run_from_a3m.py, pipeline_pre_run.py, and greenfold_af2_no_docker.py in the AF2 repo root. Only set --output_dir manually if you understand that it must contain <input_name>/msas/.