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
# JackHMMER hijacker (separate from the model runners)
curl -L "${BASE_URL}/v1/download_jackhmmer_hijacker" -o greenfold_jackhmmer_hijacker.zip
Already running JackHMMER or AlphaFold with your own databases? This small executable checks for an existing GreenFold STO before each eligible search and runs your native JackHMMER when no suitable result is available. It does not change AlphaFold source code.
jackhmmer (standard or with AF3 --seq_limit support) and the database files used by your existing command.unzip, and a POSIX shell on the job machine.https://greenfold.dsdd.one.-A and sending the normal report to /dev/null with -o.--tblout or a database shard run natively. Reused STOs reflect GreenFold's source database and search settings.Record the native binary before adding the downloaded directory to PATH.
unzip greenfold_jackhmmer_hijacker.zip -d "$HOME" chmod +x "$HOME/jackhmmer_hijacker/jackhmmer" export REAL_JACKHMMER="$(command -v jackhmmer)" export PATH="$HOME/jackhmmer_hijacker:$PATH" command -v jackhmmer
REAL_JACKHMMER must be the absolute path to the real binary. If your current
jackhmmer is already another wrapper, set this variable to the underlying
native binary instead. The final command -v should show the downloaded hijacker.
Now run your existing JackHMMER or AlphaFold command in this shell. If your AlphaFold command
explicitly sets --jackhmmer_binary_path, point that flag to
$HOME/jackhmmer_hijacker/jackhmmer or remove it so AlphaFold uses PATH.
A GreenFold hit prints GreenFold STO to stderr; a fallback prints
Native search and its reason to stdout. Confirmation warnings go to stderr
so AlphaFold can log them. The default public API needs no extra key.
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/.