Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

tooluniverse-population-genetics-1000genomes工具宇宙群体遗传学 1000 基因组

Agent Skill

tooluniverse-population-genetics-1000genomes 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,236

周安装

50

GitHub Stars

1,317

下载量

388
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tooluniverse-population-genetics-1000genomes(工具宇宙群体遗传学 1000 基因组)
来源仓库:https://github.com/mims-harvard/tooluniverse
仓库路径:skills/tooluniverse-population-genetics-1000genomes
安装命令:
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-population-genetics-1000genomes
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-population-genetics-1000genomes

简介

用于千人基因组计划相关数据检索,支持在群体遗传学研究中获取人类变异频率和结构信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中执行人群差异分析和祖先推断任务。
  • 通过 npx skills add 命令从 GitHub 安装,需确认仓库权限及是否涉及网络访问或外部 API 调用。
  • 建议在使用前核实数据来源更新频率,避免依赖过期或未经验证的信息。
  • 注意该技能主要用于信息检索,不直接提供分析结果,需结合上下文进行解读和应用。

SKILL.md

COMPUTE, DON'T DESCRIBE

When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.

Population Genetics with 1000 Genomes (IGSR)

Use IGSR tools to search 1000 Genomes populations and samples, explore data collections, and combine with GWAS tools for population-stratified analysis.

When to Use

  • "List all African (AFR) populations in the 1000 Genomes Project"
  • "Find samples from the YRI (Yoruba) population"
  • "What 1000 Genomes data collections are available?"
  • "Which GWAS SNPs for type 2 diabetes have population-specific effects?"
  • "Find all SNPs mapped to TCF7L2 in GWAS studies"

NOT for (use other skills instead)

  • Allele frequencies from gnomAD -> Use tooluniverse-population-genetics
  • ClinVar / OMIM variant interpretation -> Use tooluniverse-variant-interpretation
  • GWAS fine-mapping -> Use tooluniverse-gwas-finemapping

Phase 1: Search 1000 Genomes Populations

IGSR_search_populations: superpopulation (string/null, one of AFR/AMR/EAS/EUR/SAS), query (string/null, free-text search by name), limit (int). Returns {status, data: {total, populations: [{code, name, description, sample_count, superpopulation_code, superpopulation_name, latitude, longitude}]}, metadata: {source, filter_superpopulation, filter_query}}.

Superpopulation codes:

CodeAncestry
AFRAfrican
AMRAdmixed American
EASEast Asian
EUREuropean
SASSouth Asian
// List all AFR populations
{"superpopulation": "AFR", "limit": 10}

// Search by name (free-text)
{"query": "Yoruba", "limit": 5}

// List all populations
{"limit": 26}

Response example:

{
  "status": "success",
  "data": {
    "total": 3,
    "populations": [
      {"code": "YRI", "name": "Yoruba", "description": "Yoruba in Ibadan, Nigeria",
       "sample_count": 188, "superpopulation_code": "AFR", "superpopulation_name": "African Ancestry"}
    ]
  }
}

Phase 2: Search Samples by Population

IGSR_search_samples: population (string/null, population code e.g. "YRI"), data_collection (string/null, collection title), sample_name (string/null, specific sample e.g. "NA12878"), limit (int). Returns {status, data: {total, samples: [{name, sex, biosample_id, populations: [{code, name, superpopulation}], data_collections: [...]}]}}.

// Find all YRI samples
{"population": "YRI", "limit": 10}

// Look up the reference sample NA12878
{"sample_name": "NA12878", "limit": 1}

// Find samples in the 30x high-coverage collection
{"data_collection": "1000 Genomes 30x on GRCh38", "limit": 5}

NOTE: population takes a population code (e.g. "YRI", "GBR", "CHB"), not a superpopulation code. Use IGSR_search_populations first to get population codes if starting from a superpopulation.


Phase 3: List Data Collections

IGSR_list_data_collections: limit (int). Returns {status, data: {total, collections: [{code, title, short_title, sample_count, population_count, data_types, website}]}}.

{"limit": 20}

Key collections available (18 total):

CollectionDescriptionData Types
1000 Genomes on GRCh382709 samples, 26 populationssequence, alignment, variants
1000 Genomes 30x on GRCh38High-coverage resequencingsequence, alignment, variants
1000 Genomes phase 3 releaseOriginal phase 3sequence, alignment, variants
Human Genome Structural Variation ConsortiumHGSVC SV discoverysequence, alignment
MAGE RNA-seqRNA-seq data-
GeuvadisExpression + genotype-

Phase 4: GWAS Context for Population Stratification

Search GWAS associations for a trait

gwas_search_associations: trait (string, free text), limit (int). Returns GWAS associations with rsID, p-value, mapped genes, EFO trait IDs.

{"trait": "type 2 diabetes", "limit": 10}

Get variants for a specific trait (by EFO ID)

gwas_get_variants_for_trait: trait (string, EFO ID e.g. "EFO_0001645"), limit (int).

{"trait": "EFO_0001645", "limit": 10}

Find SNPs in a gene from GWAS catalog

gwas_get_snps_for_gene: gene_symbol (string), limit (int). Returns SNPs mapped to the gene with rsIDs, genomic positions, functional classes.

{"gene_symbol": "TCF7L2", "limit": 10}

Workflow: Population Stratification in GWAS

Step 1 -- Find populations of interest:

// Get all EUR populations
{"superpopulation": "EUR", "limit": 10}
// -> Returns codes like GBR, FIN, CEU, TSI, IBS

Step 2 -- Get samples from target population:

// Get YRI samples (AFR)
{"population": "YRI", "limit": 100}

Step 3 -- Get GWAS SNPs for the gene or trait:

// GWAS hits for TCF7L2 (T2D gene)
{"gene_symbol": "TCF7L2", "limit": 20}

Step 4 -- Cross-reference with population data for stratification analysis.


Common Population Codes

CodePopulationSuperpopulation
YRIYoruba in Ibadan, NigeriaAFR
LWKLuhya in Webuye, KenyaAFR
GWDGambian MandinkaAFR
CEUUtah residents (CEPH)EUR
GBRBritish in England/ScotlandEUR
FINFinnish in FinlandEUR
TSIToscani in ItaliaEUR
CHBHan Chinese in BeijingEAS
JPTJapanese in TokyoEAS
CHSSouthern Han ChineseEAS
MXLMexican Ancestry in LAAMR
PURPuerto Rican in Puerto RicoAMR
GIHGujarati Indian in HoustonSAS
PJLPunjabi from LahoreSAS

Reasoning Framework for Result Interpretation

Evidence Grading

GradeCriteriaExample
StrongAF difference > 0.2 across superpopulations, GWAS p < 5e-8, replicated in multiple cohortsrs7903146 (TCF7L2) with AF = 0.30 EUR vs 0.05 EAS, GWAS p = 1e-40
ModerateAF difference 0.05-0.2, GWAS p < 5e-8 in one ancestry, nominal in othersVariant with AF = 0.15 AFR vs 0.08 EUR, GWAS p < 5e-8 in EUR only
WeakAF difference < 0.05, GWAS p < 5e-8 but single study, no cross-ancestry replicationCommon variant with similar AF across populations, significant in one cohort
Population-specificVariant common (AF > 0.01) in one superpopulation, rare (AF < 0.01) in othersSickle cell variant (rs334) AF ~0.10 in AFR, < 0.001 elsewhere

Interpretation Guidance

  • Allele frequency interpretation by ancestry: Allele frequencies vary across superpopulations (AFR, AMR, EAS, EUR, SAS) due to genetic drift, selection, and demographic history. AFR populations have the highest genetic diversity and longest haplotypes broken by recombination. Disease-risk alleles may be common in one ancestry and rare in another, leading to differential genetic risk across populations.
  • Fst significance thresholds: Fst measures population differentiation (0 = no differentiation, 1 = complete fixation of different alleles). Global Fst for human populations averages ~0.12. Locus-specific Fst > 0.3 suggests strong differentiation (possible selection). Fst > 0.5 is extreme and rare in humans outside known selection targets (e.g., SLC24A5 for skin pigmentation). Compare locus Fst against genome-wide distribution to identify outliers.
  • LD interpretation: Linkage disequilibrium (LD) patterns differ by ancestry. AFR populations have shorter LD blocks due to older demographic history, requiring denser genotyping for fine-mapping. EUR and EAS populations have longer LD blocks. When a GWAS hit is in LD with multiple variants, the causal variant is more likely to be resolved in AFR-ancestry data. Report r-squared values: r2 > 0.8 = strong LD, 0.2-0.8 = moderate, < 0.2 = weak.
  • Population stratification: Uncontrolled population structure in GWAS inflates false positives. The 1000 Genomes superpopulation labels provide a framework for stratified analysis. Mixed-ancestry samples (e.g., AMR) require local ancestry deconvolution for accurate interpretation.
  • Sample size context: 1000 Genomes has ~2500 samples across 26 populations. Population-specific allele frequencies have limited precision for smaller populations (N < 100). For rare variants (AF < 0.01), larger resources like gnomAD provide more reliable estimates.

Synthesis Questions

  1. Does the allele frequency of the variant of interest differ meaningfully (> 5%) across superpopulations, and could this explain differential disease prevalence or GWAS effect sizes?
  2. Is the GWAS association replicated across ancestries, or is it population-specific, potentially due to LD structure differences or population-specific selection?
  3. For fine-mapping, does the LD pattern in AFR populations narrow the association signal compared to EUR, helping identify the likely causal variant?
  4. Are the population labels and sample sizes in the 1000 Genomes dataset adequate for the analysis, or is the target population underrepresented?
  5. Could population stratification (uncontrolled ancestry differences between cases and controls) explain the observed association, rather than a true genetic effect?

Tool Parameter Quick Reference

ToolKey ParametersNotes
IGSR_search_populationssuperpopulation, query, limitsuperpopulation: AFR/AMR/EAS/EUR/SAS
IGSR_search_samplespopulation, data_collection, sample_name, limitpopulation = population code (e.g. YRI)
IGSR_list_data_collectionslimit18 collections total
gwas_search_associationstrait, limitfree-text trait search
gwas_get_variants_for_traittrait, limittrait = EFO ID
gwas_get_snps_for_genegene_symbol, limitreturns mapped SNPs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.17%
按下载量换算148

Claude

29.16%
按下载量换算113

Cursor

19.71%
按下载量换算76

Gemini CLI

10.15%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills