用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills --skill claw-ancestry-pca命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Convert raw Nanopore signal data (FAST5/POD5) to nucleotide sequences using Dorado basecaller. Covers model selection, GPU acceleration, modified base detection, and quality filtering. Use when processing raw Nanopore data before alignment. Guppy is deprecated; use Dorado for all new analyses.
Production-ready PDF processing with forms, tables, OCR, validation, and batch operations. Use when working with complex PDF workflows in production environments, processing large volumes of PDFs, or requiring robust error handling and validation.
Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
基于 SOC 职业分类
| name | claw-ancestry-pca |
| version | 0.1.0 |
| description | Ancestry decomposition PCA against the Simons Genome Diversity Project |
| author | Manuel Corpas |
| license | MIT |
| tags | ["population-genetics","PCA","ancestry","SGDP","global-diversity"] |
| inputs | [{"name":"vcf","type":"file","format":["vcf","vcf.gz"],"description":"VCF file with genotype data for your study cohort"},{"name":"pop-map","type":"file","format":["tsv","txt"],"description":"Tab-separated file mapping sample IDs to population labels"}] |
| outputs | [{"name":"figure","type":"file","format":["png","pdf"],"description":"Multi-panel PCA composite figure showing ancestry decomposition"},{"name":"report","type":"file","format":"markdown","description":"Ancestry analysis report with population assignments and statistics"}] |
| metadata | {"openclaw":{"category":"bioinformatics","homepage":"https://github.com/ClawBio/ClawBio","min_python":"3.9","dependencies":["pandas","numpy","matplotlib","scikit-learn","adjustText"],"system_dependencies":["plink","bcftools"]}} |
Place your study cohort in global genetic context by computing a joint PCA against the Simons Genome Diversity Project (SGDP) — 345 samples from 164 populations spanning every inhabited continent.
If you ask ChatGPT to "run a PCA against a global reference panel," it will:
This skill encodes the correct methodological decisions:
The skill bundles the SGDP v4 dataset (Mallick et al., 2016, Nature):
python ancestry_pca.py \
--vcf your_cohort.vcf.gz \
--pop-map your_populations.tsv \
--output ancestry_report
python ancestry_pca.py --demo --output demo_report
The demo uses pre-computed PCA results from the Peruvian Genome Project (736 samples, 28 populations) and generates the full 4-panel figure instantly.
Ancestry Decomposition PCA
==========================
Cohort: 736 samples, 28 populations
Reference: SGDP (345 samples, 164 populations)
Common variants: 42,831 biallelic SNPs
Variance explained:
PC1: 51.44% PC2: 21.70% PC3: 6.70%
Panel D — Global Context:
Cohort samples cluster between European and East Asian
reference populations, with Amazonian groups showing
distinct positioning from Highland and Coastal groups.
Figures saved to: ancestry_report/
Figure3_PCA_composite.png (300 dpi)
Figure3_PCA_composite.pdf (vector)
Reproducibility:
commands.sh | environment.yml | checksums.sha256
If you use this skill in a publication, please cite: