Use the same GreenFold target resolution and model-specific inputs as the web Prepare workflow, but run them repeatedly from your local model checkout. The runner can stop after preparation or continue into the model's native prediction command.
Select the model first. The runner uses the same target meanings and prepared files as the browser workflow, then stages them in your local checkout and prints or executes the native model command.
Put the small runner package in the selected model's repository and activate that model's environment.
Provide UniProt chain specs, one model-native file, or a supported batch of model-native files.
Keep --prepare-only while inspecting outputs; remove it when the local model setup is ready.
Start with the recommended command above. The cards below explain its parameters and the alternative input parameters you may substitute when starting from a native file or supported batch.
requests installed in the model environment.BASE_URL="https://greenfold.dsdd.one"
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
Thin wrappers around the official model commands: they prepare inputs, run the local
partial-MSA helper when needed, print the native command, and 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[I10A] --uniprot_ids P63313 --uniprot_ids P62328
--input_file ./greenfold_test_P63313_P62328.json --input_file ./greenfold_test_P63313_P62328.yaml --input_file ./target.fasta
--input_file ./design_complex.json --skip_msa_for_chain B --skip_msa_for_chain complex_1:B
QUERY_NAME:CHAIN_ID. This option requires a model-native input and is not combined with --uniprot_ids.
--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/.