返回顶部
c

clarity-clinical

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
458
下载量
0
收藏
概述
安装方式
版本历史

clarity-clinical

# Clarity Clinical Skill Access clinical variant annotations from ClinVar and population frequency data from gnomAD through Clarity Protocol's integrated database. ## Quick Start List all clinical variants: ```bash python scripts/query_clinical.py ``` Filter by gene symbol: ```bash python scripts/query_clinical.py --gene-symbol MAPT ``` Get details for a specific variant: ```bash python scripts/query_clinical.py --gene MAPT --variant NM_005910.6:c.926C>T ``` Get variant details in readable format: ```bash python scripts/query_clinical.py --gene MAPT --variant NM_005910.6:c.926C>T --format summary ``` ## Clinical Variant Fields Each clinical variant includes: - `gene_symbol`: HGNC gene symbol - `variant_notation`: Full HGVS notation (transcript-based) - `clinvar_significance`: Clinical significance classification (e.g., "Pathogenic", "Benign") - `clinvar_review_status`: Review status stars (e.g., "criteria provided, multiple submitters") - `clinvar_last_evaluated`: Date of last ClinVar evaluation - `gnomad_af`: Allele frequency in gnomAD (population prevalence) - `gnomad_ac`: Allele count in gnomAD - `gnomad_an`: Total allele number in gnomAD - `fetched_at`: When this data was retrieved from ClinVar/gnomAD ## ClinVar Significance Values - **Pathogenic**: Strong evidence for disease causation - **Likely pathogenic**: Moderate evidence for disease causation - **Benign**: Strong evidence of no disease causation - **Likely benign**: Moderate evidence of no disease causation - **Uncertain significance**: Insufficient evidence - **Conflicting interpretations**: Disagreement among submitters ## gnomAD Frequency Interpretation - **af < 0.0001**: Very rare (< 0.01%) - **af < 0.001**: Rare (< 0.1%) - **af < 0.01**: Uncommon (< 1%) - **af >= 0.01**: Common (>= 1%) ## Rate Limits - **Anonymous (no API key)**: 10 requests/minute - **With API key**: 100 requests/minute To use an API key, set the `CLARITY_API_KEY` environment variable: ```bash export CLARITY_API_KEY=your_key_here python scripts/query_clinical.py --gene-symbol MAPT ``` Get your API key at https://clarityprotocol.io ## Error Handling **404 Not Found**: The specified gene/variant combination does not exist in the clinical database. **429 Rate Limit**: You've exceeded the rate limit. The script will display how long to wait. **500 Server Error**: The API server encountered an error. Try again later. **Timeout**: The request took longer than 30 seconds. ## Pagination Clinical variant lists are paginated. The API returns a `next_cursor` field if more results are available. ## Use Cases - Check if a variant is pathogenic in ClinVar - Get population frequency data for a mutation - Compare clinical significance across variants in a gene - Assess variant review status quality - Filter common vs. rare variants using gnomAD

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clarity-clinical-1776300542 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clarity-clinical-1776300542 技能

通过命令行安装

skillhub install clarity-clinical-1776300542

下载 Zip 包

⬇ 下载 clarity-clinical v1.0.0

文件大小: 4.51 KB | 发布时间: 2026-4-16 18:37

v1.0.0 最新 2026-4-16 18:37
Initial release – query clinical variant data from ClinVar and gnomAD via Clarity Protocol.

- Search clinical variants by gene and detailed variant annotations.
- Fetch clinical significance, review status, and allele frequency data.
- Supports filtering by gene or specific variant.
- Displays variant classification, population frequency, and quality metrics.
- Built-in error handling for missing data, rate limits, and server issues.
- Anonymous usage allows 10 requests/min; API key increases to 100 requests/min.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部