
Description
Fetch GTEx single-tissue eQTL associations from one variant input by accepting rsID, GRCh37, or GRCh38 input and resolving to the required GRCh38 query for the GTEx v2 API. Use when a user wants eQTL associations returned as JSON.
SKILL.md
Operating rules
- Use Python
requestsfor all network calls. - Accept exactly one of
rsid,grch37,grch38, orvariant, and resolve to a GRCh38chrom-pos-ref-altquery. - Convert to GTEx
variantIdformat:chr{chrom}_{pos}_{ref}_{alt}_b38. - Always return one JSON object (no markdown) as final output.
Input
Accept JSON on stdin as either:
- A string:
"10-112998590-C-T"(treated as GRCh38) - An object:
{
"grch38": "10-112998590-C-T",
"max_results": 200
}
Other accepted object forms include:
{
"grch37": "10-114758349-C-T"
}
{
"rsid": "rs7903146",
"max_results": 50
}
Allowed variant separators include -, :, _, /, or whitespace, for example:
10-112998590-C-T10:112998590-C-T10:112998590:C:Tchr10 112998590 C T
max_results is optional and truncates returned eQTL rows when provided.
Output
Success shape:
{
"ok": true,
"source": "gtex-v2",
"input": {"type": "grch38", "value": "10-112998590-C-T"},
"query_variant": {
"chr": "10",
"pos": 112998590,
"ref": "C",
"alt": "T",
"canonical": "10:112998590-C-T",
"variant_id": "chr10_112998590_C_T_b38"
},
"eqtl_count": 2,
"eqtl_count_total": 2,
"truncated": false,
"eqtls": [],
"paging_info": {},
"warnings": []
}
Failure shape:
{
"ok": false,
"error": {"code": "...", "message": "..."},
"warnings": []
}
Execution
Use:
scripts/gtex_eqtl.py
The script reads JSON from stdin and prints JSON to stdout.
Example:
echo '{"grch38":"10-112998590-C-T","max_results":5}' | python scripts/gtex_eqtl.py
More skills from the plugins repository
View all 600 skillsaccessibility-and-inclusive-visualization
make data visualizations accessible
Jun 30AccessibilityChartsData VisualizationDesignagent-browser
automate browser interactions for agents
Apr 6AgentsBrowser AutomationTestingagent-browser-verify
verify dev server output with automated browser
Apr 6Browser AutomationLocal DevelopmentTestingagents-sdk
build AI agents on Cloudflare Workers
Apr 6AgentsCloudflare WorkersSDKServerless +1ai-elements
build chat UIs with AI Elements
Apr 6FrontendReactshadcn/uiUI Components +1ai-gateway
configure Vercel AI Gateway
Apr 6AI InfrastructureCost OptimizationLLMPerformance +1
More from OpenAI
View publisherprior-auth-packet-builder
build healthcare prior authorization packets
openai-agents-python
Apr 16DocumentsHealthcareInsuranceRegulatory Complianceaspnet-core
build ASP.NET Core web applications
skills
Apr 12.NETASP.NET CoreBlazorC# +1chatgpt-apps
build ChatGPT Apps SDK applications
skills
Apr 12Apps SDKChatGPTMCPOpenAIcli-creator
build CLIs from API docs
skills
Apr 12API DevelopmentCLICodexcloudflare-deploy
deploy projects to Cloudflare
skills
Apr 12CloudflareCloudflare PagesCloudflare WorkersDeploymentdefine-goal
define and set measurable project goals
skills
May 23ProductivityProject ManagementStrategyTask Management