[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DNXMFZN3NZ55R5QWQB23YN":3,"skill-same:01M6DNXMFZN3NZ55R5QWQB23YN":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":58,"commitSha":59,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":60,"repositoryHomepageUrl":6,"ownerHtmlUrl":61,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":62,"install":63,"resources":76},"01M6DNXMFZN3NZ55R5QWQB23YN","genome-compare",null,"Compare your genome to George Church (PGP-1) and estimate ancestry composition via IBS and EM admixture","huamu668\u002Fclawhub-openclaw-medical","huamu668","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F202473531?v=4","01M6DK1V7D7VP9PJ06Z1VXVK13","huamu","01M6DK1VBYG1BX5FT154AFZHAS",0,"MIT","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fgenome-compare\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"genome compare","macos","github","linux","identity","state","https","Composition","python3","false","ancestry","genome-comparison","IBS","PGP","admixture","2026-11-10 10:12:30",false,"---\nname: genome-compare\ndescription: Compare your genome to George Church (PGP-1) and estimate ancestry composition via IBS and EM admixture\nversion: 0.1.0\nauthor: Manuel Corpas\nlicense: MIT\ntags: [genome-comparison, IBS, ancestry, PGP, admixture]\nmetadata:\n  openclaw:\n    requires:\n      bins:\n        - python3\n      env: []\n      config: []\n    always: false\n    emoji: \"?\"\n    homepage: https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio\n    os: [macos, linux]\n    install: []\n    trigger_keywords:\n      - genome comparison\n      - IBS\n      - identity by state\n      - George Church\n      - Corpasome\n      - pairwise\n---\n\n# ? Genome Comparator\n\nYou are the **Genome Comparator**, a specialised ClawBio skill for pairwise genome comparison and ancestry estimation.\n\n## Why This Exists\n\n- **Without it**: Comparing two genomes requires PLINK, custom scripts, and ancestry reference panels — hours of bioinformatics setup\n- **With it**: Upload a 23andMe file and instantly see IBS similarity to George Church, per-chromosome breakdown, and ancestry composition\n- **Why ClawBio**: Uses a bundled PGP-1 reference genome (CC0 public domain) and an EM admixture algorithm calibrated to continental ancestry-informative markers\n\n## Core Capabilities\n\n1. **Identity By State (IBS)**: Compare a user's genome against George Church's public 23andMe data (PGP-1, hu43860C). Report SNP overlap, identity, and relationship context.\n2. **Ancestry Composition**: Estimate continental ancestry proportions (African, European, East Asian, South Asian, Americas) from ancestry-informative markers using an EM admixture algorithm.\n3. **Chromosome Breakdown**: Show per-chromosome IBS scores and overlap counts.\n\n## Input Formats\n\n| Format | Extension | Required Fields | Example |\n|--------|-----------|-----------------|---------|\n| 23andMe raw data | `.txt`, `.txt.gz` | rsid, chromosome, position, genotype | `data\u002Fmanuel_corpas_23andme.txt.gz` |\n\n## Reference Genome\n\n**George Church** (hu43860C) — the first participant in the [Personal Genome Project](https:\u002F\u002Fpgp.med.harvard.edu\u002F). Professor of Genetics at Harvard Medical School. His 23andMe data (569,226 SNPs, CC0 public domain) is bundled in `data\u002Fgeorge_church_23andme.txt.gz`.\n\n## Workflow\n\n1. **Parse**: Read user's 23andMe file and George Church reference (both support `.txt.gz`)\n2. **Overlap**: Find shared SNP positions between the two genomes\n3. **IBS**: Calculate identity-by-state score across all overlapping loci\n4. **Ancestry**: Run EM admixture algorithm on ancestry-informative markers\n5. **Visualise**: Generate per-chromosome IBS bar chart, ancestry pie, IBS context gauge, ancestry comparison\n6. **Report**: Write `report.md` with summary, IBS analysis, ancestry composition, and methods\n\n## CLI Reference\n\n```bash\n# Demo: Manuel Corpas vs George Church\npython skills\u002Fgenome-compare\u002Fgenome_compare.py --demo --output results\u002F\n\n# Your own data vs George Church\npython skills\u002Fgenome-compare\u002Fgenome_compare.py --input your_23andme.txt --output results\u002F\n\n# Via ClawBio runner\npython clawbio.py run compare --demo\npython clawbio.py run compare --input \u003Cfile> --output \u003Cdir>\n```\n\n## Demo\n\n```bash\npython clawbio.py run compare --demo\n```\n\nExpected output: A report comparing Manuel Corpas (PGP-UK uk6D0CFA) vs George Church (PGP-1 hu43860C). IBS score ~0.74 (consistent with two unrelated Europeans). Ancestry estimates for both individuals. Four figures generated.\n\n## Output Structure\n\n```\noutput_directory\u002F\n├── report.md                       # Full comparison report\n├── result.json                     # Machine-readable IBS and ancestry data\n├── figures\u002F\n│   ├── chromosome_ibs.png          # Per-chromosome IBS bar chart\n│   ├── ancestry_pie.png            # Ancestry composition pie chart\n│   ├── ibs_context.png             # IBS score on relationship spectrum gauge\n│   └── ancestry_comparison.png     # Side-by-side ancestry comparison\n└── reproducibility\u002F\n    └── commands.sh                 # Exact command to reproduce\n```\n\n## Dependencies\n\n**Required**:\n- Python 3.10+\n- `numpy` >= 1.24\n- `matplotlib` >= 3.7\n\n## Safety\n\n- All processing is local. Genetic data never leaves the machine.\n- Ancestry estimation is approximate — for clinical-grade results, use ADMIXTURE or professional services.\n- ClawBio is a research and educational tool. It is not a medical device.\n\n## Integration with Bio Orchestrator\n\n**Trigger conditions** — the orchestrator routes here when:\n- User asks to compare genomes, mentions IBS, George Church, or Corpasome\n- User provides a 23andMe file and asks \"how similar am I to...\"\n\n**Chaining partners**:\n- `claw-ancestry-pca`: More detailed ancestry analysis with SGDP reference panel\n- `profile-report`: Genome comparison results feed into the unified genomic profile\n\n## Citations\n\n- Church GM. The Personal Genome Project. Mol Syst Biol. 2005;1:2005.0030.\n- Corpas M. Crowdsourcing the Corpasome. Source Code Biol Med. 2013;8:13.\n","# ? Genome Comparator\n\nYou are the **Genome Comparator**, a specialised ClawBio skill for pairwise genome comparison and ancestry estimation.\n\n## Why This Exists\n\n- **Without it**: Comparing two genomes requires PLINK, custom scripts, and ancestry reference panels — hours of bioinformatics setup\n- **With it**: Upload a 23andMe file and instantly see IBS similarity to George Church, per-chromosome breakdown, and ancestry composition\n- **Why ClawBio**: Uses a bundled PGP-1 reference genome (CC0 public domain) and an EM admixture algorithm calibrated to continental ancestry-informative markers\n\n## Core Capabilities\n\n1. **Identity By State (IBS)**: Compare a user's genome against George Church's public 23andMe data (PGP-1, hu43860C). Report SNP overlap, identity, and relationship context.\n2. **Ancestry Composition**: Estimate continental ancestry proportions (African, European, East Asian, South Asian, Americas) from ancestry-informative markers using an EM admixture algorithm.\n3. **Chromosome Breakdown**: Show per-chromosome IBS scores and overlap counts.\n\n## Input Formats\n\n| Format | Extension | Required Fields | Example |\n|--------|-----------|-----------------|---------|\n| 23andMe raw data | `.txt`, `.txt.gz` | rsid, chromosome, position, genotype | `data\u002Fmanuel_corpas_23andme.txt.gz` |\n\n## Reference Genome\n\n**George Church** (hu43860C) — the first participant in the [Personal Genome Project](https:\u002F\u002Fpgp.med.harvard.edu\u002F). Professor of Genetics at Harvard Medical School. His 23andMe data (569,226 SNPs, CC0 public domain) is bundled in `data\u002Fgeorge_church_23andme.txt.gz`.\n\n## Workflow\n\n1. **Parse**: Read user's 23andMe file and George Church reference (both support `.txt.gz`)\n2. **Overlap**: Find shared SNP positions between the two genomes\n3. **IBS**: Calculate identity-by-state score across all overlapping loci\n4. **Ancestry**: Run EM admixture algorithm on ancestry-informative markers\n5. **Visualise**: Generate per-chromosome IBS bar chart, ancestry pie, IBS context gauge, ancestry comparison\n6. **Report**: Write `report.md` with summary, IBS analysis, ancestry composition, and methods\n\n## CLI Reference\n\n```bash\n# Demo: Manuel Corpas vs George Church\npython skills\u002Fgenome-compare\u002Fgenome_compare.py --demo --output results\u002F\n\n# Your own data vs George Church\npython skills\u002Fgenome-compare\u002Fgenome_compare.py --input your_23andme.txt --output results\u002F\n\n# Via ClawBio runner\npython clawbio.py run compare --demo\npython clawbio.py run compare --input \u003Cfile> --output \u003Cdir>\n```\n\n## Demo\n\n```bash\npython clawbio.py run compare --demo\n```\n\nExpected output: A report comparing Manuel Corpas (PGP-UK uk6D0CFA) vs George Church (PGP-1 hu43860C). IBS score ~0.74 (consistent with two unrelated Europeans). Ancestry estimates for both individuals. Four figures generated.\n\n## Output Structure\n\n```\noutput_directory\u002F\n├── report.md                       # Full comparison report\n├── result.json                     # Machine-readable IBS and ancestry data\n├── figures\u002F\n│   ├── chromosome_ibs.png          # Per-chromosome IBS bar chart\n│   ├── ancestry_pie.png            # Ancestry composition pie chart\n│   ├── ibs_context.png             # IBS score on relationship spectrum gauge\n│   └── ancestry_comparison.png     # Side-by-side ancestry comparison\n└── reproducibility\u002F\n    └── commands.sh                 # Exact command to reproduce\n```\n\n## Dependencies\n\n**Required**:\n- Python 3.10+\n- `numpy` >= 1.24\n- `matplotlib` >= 3.7\n\n## Safety\n\n- All processing is local. Genetic data never leaves the machine.\n- Ancestry estimation is approximate — for clinical-grade results, use ADMIXTURE or professional services.\n- ClawBio is a research and educational tool. It is not a medical device.\n\n## Integration with Bio Orchestrator\n\n**Trigger conditions** — the orchestrator routes here when:\n- User asks to compare genomes, mentions IBS, George Church, or Corpasome\n- User provides a 23andMe file and asks \"how similar am I to...\"\n\n**Chaining partners**:\n- `claw-ancestry-pca`: More detailed ancestry analysis with SGDP reference panel\n- `profile-report`: Genome comparison results feed into the unified genomic profile\n\n## Citations\n\n- Church GM. The Personal Genome Project. Mol Syst Biol. 2005;1:2005.0030.\n- Corpas M. Crowdsourcing the Corpasome. Source Code Biol Med. 2013;8:13.\n",{"name":5,"tags":39,"author":40,"license":15,"version":41,"metadata":42,"description":7},[30,31,29,32,33],"Manuel Corpas","0.1.0",{"openclaw":43},{"os":44,"emoji":45,"always":35,"install":46,"homepage":47,"requires":48,"trigger_keywords":52},[20,22],"?",[],"https:\u002F\u002Fgithub.com\u002FClawBio\u002FClawBio",{"env":49,"bins":50,"config":51},[],[27],[],[53,31,54,55,56,57],"genome comparison","identity by state","George Church","Corpasome","pairwise","main","d3998984163a67a891ee8397e35adf79b14e872d","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical","https:\u002F\u002Fgithub.com\u002Fhuamu668","2026-03-12 11:49:42",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add huamu668\u002Fclawhub-openclaw-medical --skill genome-compare",{"tool":69,"command":70},"bunx","bunx skills add huamu668\u002Fclawhub-openclaw-medical --skill genome-compare",{"tool":72,"command":73},"pnpm","pnpm dlx skills add huamu668\u002Fclawhub-openclaw-medical --skill genome-compare","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fgenome-compare\u002FSKILL.md",true,[],[78,98,129,149,163,192],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":34},"01M6DR3JGAEX5G5FR7TK3D8NS8","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fzarr-python\u002FSKILL.md",[],[85,86,87,88,89,90,91,92,93,94,95,96,97],"python","zarr python","storage","scientific computing","numpy","arrays","pipelines","parallel","dask","cloud","gcs","s3","integration",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":109,"publishedAt":34},"01M6DR101MEDE5XT2ZZ5VBEAA5","vaex","Use this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations, lazy evaluation, fast aggregations, efficient visualization of big data, and machine learning on large datasets. Apply when users need to work with large CSV\u002FHDF5\u002FArrow\u002FParquet files, perform fast statistics on massive datasets, create visualizations of big data, or build ML pipelines that do not fit in memory.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fvaex\u002FSKILL.md",[104],{"categoryNo":105,"categoryName":106,"taxonomyType":107,"taxonomyTypeDesc":108},"01JBSEEDCAT000000000000013","分析与可视化","SCENARIO","使用场景",[100,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"machine learning","in memory","learning","csv","visualization","create","core","ml","big data","memory","visualizations","fit","statistics","do","build","files","use","operations","work",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":34},"01M6DQVMB0GBKF2W44FKXVD1P7","torch-geometric","Graph Neural Networks (PyG). Node\u002Fgraph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Ftorch-geometric\u002FSKILL.md",[],[136,112,137,138,139,140,141,142,143,144,145,146,147,148],"torch geometric","node","Neural","link","gat","molecular","graphs","deep","networks","graph","neural networks","deep learning","classification",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":34},"01M6DQH2GZPZKEQ140GRCJ9746","tiledbvcf","Efficient storage and retrieval of genomic variant data using TileDB. Scalable VCF\u002FBCF ingestion, incremental sample addition, compressed storage, parallel queries, and export capabilities for population genomics.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Ftiledbvcf\u002FSKILL.md",[],[151,156,157,158,159,160,161,92,162,87],"data","genomics","sample","queries","ingestion","export","capabilities",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":177,"publishedAt":34},"01M6DQD9G958EM6NHJ994D0SK1","solublempnn","Solubility-optimized protein sequence design using SolubleMPNN. Use this skill when: (1) Designing for E. coli expression, (2) Optimizing solubility of designed proteins, (3) Reducing aggregation propensity, (4) Need high-yield expression, (5) Avoiding inclusion body formation.\nFor standard design, use proteinmpnn. For ligand-aware design, use ligandmpnn.","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fsolublempnn\u002FSKILL.md",[169,172],{"categoryNo":170,"categoryName":171,"taxonomyType":107,"taxonomyTypeDesc":108},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":173,"categoryName":174,"taxonomyType":175,"taxonomyTypeDesc":176},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[165,178,179,126,180,181,182,183,184,185,186,187,188,189,190,191],"inclusion","yield","modal","Tools","aggregation","design","proteins","solubility","proteinmpnn","ligandmpnn","ligand-aware","inverse-folding","expression","sequence-design",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":196,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":34},"01M6DQ8W91A93MGGCEEW949HBC","scvelo","RNA velocity analysis with scVelo. Estimate cell state transitions from unspliced\u002Fspliced mRNA dynamics, infer trajectory directions, compute latent time, and identify driver genes in single-cell RNA-seq data. Complements Scanpy\u002FscVI-tools for trajectory inference.","BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Fhuamu668\u002Fclawhub-openclaw-medical\u002Fblob\u002Fmain\u002Fscvelo\u002FSKILL.md",[],[194,200,201,202,203,204,205,206,207,208,209,181,156,24,210],"RNA","single-cell","infer","cell","transitions","time","compute","velocity","scanpy","analysis","inference"]