{
  "filename": "plot_6.png",
  "iteration": 4,
  "description": "Mouse Dock11 MGI phenotype statements and a summary of model-system evidence for ADMIDX",
  "timestamp": "2026-11-19 03:37:12",
  "code": "\nimport requests, pandas as pd, numpy as np, matplotlib.pyplot as plt\n\nr=requests.get(\"https://www.alliancegenome.org/api/gene/MGI:1923224/phenotypes\",params={\"limit\":100},timeout=90).json()\nrows=[]\nfor x in r.get(\"results\",[]):\n    pm=[p.get(\"curie\") or p.get(\"primaryExternalId\") for p in (x.get(\"pubmedPublications\") or [])]\n    alle=sorted({(pa.get(\"displayName\") or pa.get(\"id\") or \"\") for pa in (x.get(\"primaryAnnotations\") or [])})\n    rows.append({\"phenotypeStatement\":x.get(\"phenotypeStatement\"),\n                 \"allele/genotype\":\"; \".join(a for a in alle if a)[:70],\n                 \"refs\":\", \".join(str(p) for p in pm if p)})\nmd=pd.DataFrame(rows).drop_duplicates()\npd.set_option(\"display.max_colwidth\",95)\nprint(\"=== Mouse Dock11 phenotype annotations (MGI via Alliance), n =\", len(md), \"===\")\nprint(md.to_string(index=False))\n\n# Summary figure: evidence available per model system\nmodels=pd.DataFrame([\n (\"Mouse\\nDock11 KO\", 3, \"T-cell hyperactivation,\\nNFATc1 nuclear translocation\\n(PMID 37342957)\"),\n (\"Zebrafish\\ndock11 KO\", 3, \"anaemia, aberrant\\nerythrocyte morphology\\n(PMID 37342957)\"),\n (\"Patient T cells /\\nB-LCL\", 3, \"no filopodia, abnormal\\nconfined migration, low CDC42-GTP\\n(PMID 36952639, 37342957)\"),\n (\"Patient platelets\", 2, \"abnormal ultrastructure\\nand spreading (PMID 36952639)\"),\n (\"shRNA knockdown\\nhealthy MoDC / T cells\", 2, \"recapitulates protrusion and\\nmigration defect (PMID 36952639)\"),\n (\"Cryo-EM full-length\\nDOCK11 + CDC42\", 3, \"4 structures 22VD/22VE/22VF/22VG,\\n3.80-6.07 A (PMID 42837459)\"),\n (\"IMPC Dock11 KO\\n(hemizygous)\", 1, \"only increased kidney weight\\np=7.7e-05, no immune call\"),\n], columns=[\"model\",\"strength\",\"detail\"])\n\nfig,ax=plt.subplots(figsize=(11.5,5.2))\ncols={3:\"#1a5276\",2:\"#2e86c1\",1:\"#aab7b8\"}\ny=np.arange(len(models))[::-1]\nax.barh(y,models.strength,color=[cols[s] for s in models.strength],height=0.6)\nfor yy,m,d,s in zip(y,models.model,models.detail,models.strength):\n    ax.text(-0.08,yy,m,ha=\"right\",va=\"center\",fontsize=8.5)\n    ax.text(s+0.06,yy,d,ha=\"left\",va=\"center\",fontsize=7.4)\nax.set_yticks([]); ax.set_xlim(-0.05,5.6); ax.set_xticks([1,2,3])\nax.set_xticklabels([\"weak /\\nno disease link\",\"supportive\",\"recapitulates\\nhuman feature\"],fontsize=8)\nax.set_xlabel(\"strength of evidence linking the model to ADMIDX\")\nax.set_title(\"Experimental systems for DOCK11 deficiency and what each one reproduces\",fontsize=11)\nax.spines[[\"top\",\"right\",\"left\"]].set_visible(False)\nplt.tight_layout(); plt.show()\n",
  "plot_number": 6
}