tooluniverse-gwas-snp-interpretation by mims-harvard/tooluniverse
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-gwas-snp-interpretation通过整合来自多个来源的证据,解读来自全基因组关联研究(GWAS)的遗传变异(SNP),以提供全面的临床和生物学背景。
使用场景:
该技能通过以下方式提供 SNP 的全面解读:
用户输入:rs7903146
↓
[1] SNP 查询
→ 获取位置、后果、次要等位基因频率
→ gwas_get_snp_by_id
↓
[2] 关联搜索
→ 查找所有性状/疾病关联
→ gwas_get_associations_for_snp
↓
[3] 精细定位(可选)
→ 获取可靠集成信息
→ OpenTargets_get_variant_credible_sets
↓
[4] 基因预测
→ 提取因果基因的 L2G 分数
→ (嵌入在可靠集中)
↓
[5] 临床总结
→ 汇总证据
→ 识别关键性状和基因
↓
输出:全面的解读报告
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
rs_id (字符串):dbSNP rs 标识符
include_credible_sets (布尔值,默认值=True):查询精细定位数据
p_threshold (浮点数,默认值=5e-8):全基因组显著性阈值max_associations (整数,默认值=100):要检索的最大关联数返回包含以下内容的 SNPInterpretationReport:
{
'rs_id': 'rs7903146',
'chromosome': '10',
'position': 112998590,
'ref_allele': 'C',
'alt_allele': 'T',
'consequence': 'intron_variant',
'mapped_genes': ['TCF7L2'],
'maf': 0.293
}
[
{
'trait': '2 型糖尿病',
'p_value': 1.2e-128,
'beta': '0.28 unit increase',
'study_id': 'GCST010555',
'pubmed_id': '33536258',
'effect_allele': 'T'
},
...
]
[
{
'study_id': 'GCST90476118',
'trait': '肾功能衰竭',
'finemapping_method': 'SuSiE-inf',
'p_value': 3.5e-42,
'predicted_genes': [
{'gene': 'TCF7L2', 'score': 0.863}
],
'region': '10:112950000-113050000'
},
...
]
与 100 个性状/疾病存在全基因组显著关联:
- 2 型糖尿病
- 糖尿病视网膜病变
- HbA1c 水平
...
在 20 个精细定位位点中被识别。
预测的因果基因:TCF7L2
请参阅 QUICK_START.md 获取平台特定的示例。
gwas_get_snp_by_id:获取 SNP 注释gwas_get_associations_for_snp:获取所有性状关联OpenTargets_get_variant_info:获取包含群体频率的变异详情OpenTargets_get_variant_credible_sets:获取包含 L2G 的精细定位可靠集include_credible_sets=True每周安装量
121
代码仓库
GitHub 星标数
1.2K
首次出现
2026 年 2 月 20 日
安全审计
已安装于
codex119
gemini-cli117
github-copilot117
opencode117
kimi-cli115
amp115
Interpret genetic variants (SNPs) from GWAS studies by aggregating evidence from multiple sources to provide comprehensive clinical and biological context.
Use Cases:
The skill provides a comprehensive interpretation of SNPs by:
User Input: rs7903146
↓
[1] SNP Lookup
→ Get location, consequence, MAF
→ gwas_get_snp_by_id
↓
[2] Association Search
→ Find all trait/disease associations
→ gwas_get_associations_for_snp
↓
[3] Fine-Mapping (Optional)
→ Get credible set membership
→ OpenTargets_get_variant_credible_sets
↓
[4] Gene Predictions
→ Extract L2G scores for causal genes
→ (embedded in credible sets)
↓
[5] Clinical Summary
→ Aggregate evidence
→ Identify key traits and genes
↓
Output: Comprehensive Interpretation Report
rs_id (str): dbSNP rs identifier
include_credible_sets (bool, default=True): Query fine-mapping data
p_threshold (float, default=5e-8): Genome-wide significance thresholdmax_associations (int, default=100): Maximum associations to retrieveReturns SNPInterpretationReport containing:
{
'rs_id': 'rs7903146',
'chromosome': '10',
'position': 112998590,
'ref_allele': 'C',
'alt_allele': 'T',
'consequence': 'intron_variant',
'mapped_genes': ['TCF7L2'],
'maf': 0.293
}
[
{
'trait': 'Type 2 diabetes',
'p_value': 1.2e-128,
'beta': '0.28 unit increase',
'study_id': 'GCST010555',
'pubmed_id': '33536258',
'effect_allele': 'T'
},
...
]
[
{
'study_id': 'GCST90476118',
'trait': 'Renal failure',
'finemapping_method': 'SuSiE-inf',
'p_value': 3.5e-42,
'predicted_genes': [
{'gene': 'TCF7L2', 'score': 0.863}
],
'region': '10:112950000-113050000'
},
...
]
Genome-wide significant associations with 100 traits/diseases:
- Type 2 diabetes
- Diabetic retinopathy
- HbA1c levels
...
Identified in 20 fine-mapped loci.
Predicted causal genes: TCF7L2
See QUICK_START.md for platform-specific examples.
gwas_get_snp_by_id: Get SNP annotationgwas_get_associations_for_snp: Get all trait associationsOpenTargets_get_variant_info: Get variant details with population frequenciesOpenTargets_get_variant_credible_sets: Get fine-mapping credible sets with L2Ginclude_credible_sets=True for clinical decisionsWeekly Installs
121
Repository
GitHub Stars
1.2K
First Seen
Feb 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex119
gemini-cli117
github-copilot117
opencode117
kimi-cli115
amp115
Excel财务建模规范与xlsx文件处理指南:专业格式、零错误公式与数据分析
46,700 周安装
App Store Connect 参考指南:崩溃分析、TestFlight反馈与性能指标导出
164 周安装
Nansen 聪明钱分析工具:追踪加密基金和顶级交易者持仓与交易数据
165 周安装
NSFC国家自然科学基金申请书研究内容写作工具 - LaTeX自动化编排助手
165 周安装
SOLID 原则详解:SRP、OCP、LSP 等设计模式,提升代码可维护性与灵活性
167 周安装
WordPress全站编辑(FSE)与区块编辑器指南:theme.json配置与站点编辑器实战
171 周安装
A轮以上初创公司获客指南:PLG与销售驱动混合模式下的需求生成与SEO策略
166 周安装