{"slug":"alterlab-chai","title":"alterlab-chai","summary":"Predict biomolecular complexes with Chai-1, an open AlphaFold3-style model that folds multi-entity assemblies (proteins, ligands, nucleic acids) from a single typed FASTA — strong on antibody–antigen and protein–ligand complexes, with optional MSA and restraint inputs. Use when p","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-23T18:56:54.008344Z","repo":{"url":"https://github.com/AlterLab-IEU/AlterLab-Academic-Skills","stars":68,"forks":13,"license":"MIT","updatedAt":"2026-09-23T13:42:59Z"},"bodyHtml":"<hr>\n<h2>name: alterlab-chai\ndescription: Predict biomolecular complexes with Chai-1, an open AlphaFold3-style model that folds multi-entity assemblies (proteins, ligands, nucleic acids) from a single typed FASTA — strong on antibody–antigen and protein–ligand complexes, with optional MSA and restraint inputs. Use when predicting an antibody–antigen complex, folding a mixed protein/ligand/nucleic-acid assembly described in one FASTA, or generating a complex with experimental restraints. For binding-affinity prediction or a ligand-focused co-fold prefer alterlab-boltz; for protein-only or protein–protein folding prefer alterlab-alphafold; to dock into a fixed receptor prefer alterlab-diffdock. Part of the AlterLab Academic Skills suite.\nlicense: Apache-2.0\nallowed-tools: Read Write Edit Bash(python:<em>) Bash(uv:</em>)\ncompatibility: \"Chai-1 (<code>chaidiscovery/chai-lab</code>; <code>uv pip install chai_lab==0.6.1</code>, current as of 2026-09) under <code>uv run python</code>. Needs Linux, Python &gt;= 3.10 and a CUDA GPU with bfloat16 (A100/H100/L40S recommended; A10/A30/RTX 4090 for smaller complexes). Weights download on first run (relocate with CHAI_DOWNLOADS_DIR). Input: one typed FASTA; MSAs, templates, restraints optional. Apache-2.0 code and weights. Dispatch heavy runs via alterlab-remote-compute.\"\nmetadata:\nskill-author: AlterLab\nversion: \"1.1.0\"\nlast_updated: \"2026-09-23\"</h2>\n<h1>Chai-1 (open complex prediction)</h1>\n<h2>Overview</h2>\n<p><strong>Chai-1</strong> (Chai Discovery 2024; <code>chaidiscovery/chai-lab</code>) is an open AlphaFold3-style model\nthat predicts <strong>multi-entity biomolecular complexes</strong> — proteins, small-molecule ligands, and\nnucleic acids together — from a <strong>single typed FASTA</strong>. It is particularly used for\n<strong>antibody–antigen</strong> and protein–ligand complexes, can run with or without MSAs, and accepts\n<strong>restraints</strong> to guide the prediction.</p>\n<p>Its niche relative to the other folders: one FASTA describing a <em>mixed assembly</em>, and\nantibody–antigen in particular. For a ligand co-fold where you specifically want a <strong>binding\naffinity</strong>, use <code>alterlab-boltz</code>; for a bare protein, use <code>alterlab-alphafold</code>.</p>\n<h2>When to Use This Skill</h2>\n<p>Use this skill when the user wants to:</p>\n<ul>\n<li>Predict an <strong>antibody–antigen</strong> complex structure.</li>\n<li>Fold a <strong>mixed assembly</strong> (protein + ligand + nucleic acid) described in one FASTA.</li>\n<li>Run complex prediction <strong>with or without MSAs</strong>, optionally guided by restraints.</li>\n<li>Get an open AlphaFold3-style complex prediction with per-entity confidence.</li>\n</ul>\n<h3>Does NOT Trigger</h3>\n<table>\n<thead>\n<tr>\n<th>Scenario</th>\n<th>Use instead</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Predict a protein–ligand <strong>binding affinity</strong></td>\n<td><code>alterlab-boltz</code></td>\n</tr>\n<tr>\n<td>Protein-only or protein–protein folding</td>\n<td><code>alterlab-alphafold</code></td>\n</tr>\n<tr>\n<td>Dock a ligand into a <strong>fixed</strong> receptor structure</td>\n<td><code>alterlab-diffdock</code></td>\n</tr>\n<tr>\n<td>Look up an experimental complex structure</td>\n<td><code>alterlab-pdb</code></td>\n</tr>\n<tr>\n<td>Design antibody/interface sequences</td>\n<td><code>alterlab-proteinmpnn</code> / <code>alterlab-ligandmpnn</code></td>\n</tr>\n</tbody>\n</table>\n<h2>Core Capabilities</h2>\n<h3>1. Single-FASTA multi-entity input</h3>\n<p>Chai-1 reads one FASTA whose records are typed by entity. A protein + ligand example:</p>\n<pre><code>&gt;protein|name=antibody-Fv\nEVQ...SS\n&gt;protein|name=antigen\nMKT...GG\n&gt;ligand|name=cofactor\nCC(=O)Oc1ccccc1C(=O)O\n</code></pre>\n<pre><code>chai-lab fold input.fasta out/                          # single-sequence, fastest\nchai-lab fold --use-msa-server --use-templates-server input.fasta out/   # recommended\n</code></pre>\n<p>Each header is <code>&lt;entity_type&gt;|name=&lt;unique label&gt;</code> (the bare <code>type|label</code> form also parses).\nValid entity types: <code>protein</code>, <code>ligand</code> (SMILES), <code>rna</code>, <code>dna</code>, <code>glycan</code>. Names must be\nunique — a repeated name raises. The output directory must be empty.</p>\n<h3>2. Antibody–antigen complexes</h3>\n<p>The common use case: fold an antibody Fv/Fab against its antigen and read the <strong>interface\nconfidence</strong> (per-model / interface score) to judge whether the predicted epitope/paratope\ncontact is trustworthy. Use restraints when you have partial epitope knowledge.</p>\n<h3>3. MSA, templates and restraints</h3>\n<ul>\n<li><strong>MSA optional</strong> — Chai-1 runs single-sequence by default; <code>--use-msa-server</code> fetches MSAs\nfrom the shared ColabFold MMseqs2 server (discloseable for sensitive sequences) and\ngenerally improves accuracy at a time cost. Local MSAs are supplied as <code>aligned.pqt</code>\nfiles (convert a3m with <code>chai a3m-to-pqt</code>).</li>\n<li><strong>Templates</strong> — <code>--use-templates-server</code>, or your own <code>m8</code> hit table plus CIFs in\n<code>CHAI_TEMPLATE_CIF_FOLDER</code>.</li>\n<li><strong>Restraints</strong> — a CSV passed as <code>constraint_path</code>, one row per restraint with columns\n<code>restraint_id, chainA, res_idxA, chainB, res_idxB, connection_type, confidence, min_distance_angstrom, max_distance_angstrom, comment</code>. <code>connection_type</code> is <code>contact</code>\n(residue↔residue) or <code>pocket</code> (chain↔residue, so <code>res_idxA</code> is left blank). Residue\nindices are the residue letter plus its 1-based position (<code>D4</code>), and chains are lettered\nA–Z in input order. Published example: two ground-truth contacts lifted antibody–antigen\ninterface DockQ from ~0.02 to ~0.4 on PDB 7SYZ.</li>\n</ul>\n<h3>4. Confidence and GPU dispatch</h3>\n<p>A run writes <code>pred.model_idx_{0..4}.cif</code> plus <code>scores.model_idx_N.npz</code> holding\n<code>aggregate_score</code> (the ranking number), <code>ptm</code>, <code>iptm</code>, <code>per_chain_ptm</code>,\n<code>per_chain_pair_iptm</code>, <code>has_inter_chain_clashes</code> and <code>chain_chain_clashes</code>. For an\nantibody–antigen job the pair-wise <code>per_chain_pair_iptm</code> entry for the two chains — not the\nglobal score — is what tells you whether the predicted epitope is trustworthy; check the\nclash flags before believing a high score.</p>\n<p>The Python entry point is <code>chai_lab.chai1.run_inference(fasta_file=..., output_dir=..., num_diffn_samples=5, num_trunk_recycles=3, seed=..., device=\"cuda:0\")</code>, returning a\n<code>StructureCandidates</code> with <code>cif_paths</code> and <code>ranking_data</code>. Batch an antibody panel against one\nantigen via <code>alterlab-remote-compute</code> (submit → poll → harvest <code>out/</code>).</p>\n<h2>Resources</h2>\n<ul>\n<li><code>references/chai_usage.md</code> — install/pinning, FASTA type-tag syntax, MSA/restraint options,\noutputs, and folder-choice guidance. Loaded on demand.</li>\n</ul>\n<p>Part of the AlterLab Academic Skills suite.</p>\n","files":[{"path":"evals/evals.json","sizeBytes":3016,"isText":true},{"path":"references/chai_usage.md","sizeBytes":4739,"isText":true},{"path":"SKILL.md","sizeBytes":6046,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-23T18:57:15.874004Z","sha256":"F3C2C809183C7F12E150B3A641475F58CAE5497D7062422501D98A22D499E671","sizeBytes":6560},"review":null,"source":{"repositoryUrl":"https://github.com/AlterLab-IEU/AlterLab-Academic-Skills","path":"skills/bioinformatics/alterlab-chai","license":"MIT","commit":"e4836c08a20da195a11f30f203a8cf23ec30aa95","subtreeSha":"59C48A4432EFAA6233CBB848DD003D5F7A39AF9274DAB505862052F03C55E9B9","lastSyncedAt":"2026-09-23T18:56:52.297238Z"},"reviewedAt":"2026-09-23T18:58:10.423918Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/bioinformatics/alterlab-chai"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install alterlab-ieu-alterlab-academic-skills@llmmart"},{"target":"git","command":"git clone https://github.com/AlterLab-IEU/AlterLab-Academic-Skills.git"}]}