Skip to content
cccskills
FreePublished on GitHub

eqtl-catalogue-skill

Retrieve public eQTL Catalogue association data, linking genes and genetic variants, along with study metadata. Filter requests to specific identifiers and receive concise Markdown summaries or raw JSON when machine-readable output is requested.

OriginalShow the original description

Submit compact eQTL Catalogue API requests for association retrieval and documented metadata endpoints. Use when a user wants concise public eQTL Catalogue summaries

See how to install

Good for

  • Look up association data for a specific gene
  • Filter association results by a genetic variant
  • Check study metadata in the public catalogue
  • Request raw JSON for further processing

Files included (4)

  • SKILL.md2.7 KB
  • agents/openai.yaml98 B
  • scripts/rest_request.py13.2 KB
  • scripts/test_rest_request.py3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Operating rules

  • Use scripts/rest_request.py for all eQTL Catalogue calls.
  • Use base_url=https://www.ebi.ac.uk/eqtl/api.
  • Prefer targeted association endpoints over broad list endpoints.
  • The public API currently appears strict about query validation, and live smoke tests returned intermittent 400/500/timeout failures even with documented parameter sets; treat this source as usable but upstream-fragile.
  • For association endpoints, the script now backfills compatibility defaults for quant_method, p_lower, p_upper, and blank filter strings because the live API is currently rejecting omitted optional filters.
  • Prefer variant_id in requests; the script mirrors it to the legacy snp query key to accommodate the current server-side validator.
  • Re-run requests in long conversations instead of relying on older tool output.

Execution behavior

  • Return concise markdown summaries from the script JSON by default.
  • Return raw JSON only if the user explicitly asks for machine-readable output.
  • Prefer documented versioned paths such as v3/studies, v3/associations, v3/studies/<study_id>/associations, or legacy v1/.../associations routes with explicit filters, and surface upstream 400/500 errors verbatim when they occur.

Input

  • Read one JSON object from stdin.
  • Required fields: base_url, path
  • Optional fields: method, params, headers, json_body, form_body, record_path, response_format, max_items, max_depth, timeout_sec, save_raw, raw_output_path
  • Common eQTL Catalogue patterns:
    • {"base_url":"https://www.ebi.ac.uk/eqtl/api","path":"v3/studies","max_items":10}
    • {"base_url":"https://www.ebi.ac.uk/eqtl/api","path":"v3/associations","params":{"gene_id":"ENSG00000141510","rsid":"rs7903146","size":10},"max_items":10}
    • {"base_url":"https://www.ebi.ac.uk/eqtl/api","path":"v1/genes/ENSG00000141510/associations","params":{"variant_id":"rs7903146","size":10},"max_items":10}

Output

  • Success returns ok, source, path, method, status_code, warnings, and either compact records or a compact summary.
  • Use raw_output_path when save_raw=true.
  • Failure returns ok=false with error.code and error.message.

Execution

echo '{"base_url":"https://www.ebi.ac.uk/eqtl/api","path":"v3/studies","max_items":10}' | python scripts/rest_request.py

References

  • No additional runtime references are required; keep the import package limited to this file and scripts/rest_request.py.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Review charts, diagrams, and dashboards for accessibility, including color contrast, keyboard access, and text alternatives. Get specific guidance for preserving key findings in screen readers, static exports, and reduced-motion views.

  • Reviewing dashboard colors and keyboard access
  • Writing chart alt text and long descriptions
  • Preparing accessible figures for PDF reports
openai/plugins7.5KUpdated Oct 8, 2026

Give a photo collection a consistent look using Adobe tools to adjust color, tone, presets, and optional crops. Review a before-and-after sample before processing the full set, then receive links to the edited images.

  • Giving travel photos a consistent look
  • Unifying photos taken in mixed lighting
  • Applying a warm or cinematic style across a photo set
openai/plugins7.5KUpdated Oct 8, 2026

Visualize a logo, sketch, or design on products such as mugs, shirts, and business cards. Review a pilot image, generate a visually consistent set, and collect the results on a shareable Firefly Board.

  • Preview a logo on mugs and shirts
  • Turn a hand-drawn sketch into product mockups
  • Create consistent brand presentation images
openai/plugins7.5KUpdated Oct 8, 2026

Prepare images and videos for social platforms using Adobe tools. Create image crops that keep the subject in view, expand backgrounds when available, preview a full-set sample, and resize videos while preserving their aspect ratio.

  • Creating image variants for multiple social platforms
  • Cropping photos for Instagram Stories
  • Preparing LinkedIn images and YouTube thumbnails
openai/plugins7.5KUpdated Oct 8, 2026

Create flyers, social posts, business cards, and other visuals from Adobe Express templates. Choose a template, customize its text and background color, and receive a design link, with additional editing and export options depending on the available tools.

  • Creating an event flyer
  • Designing an Instagram post
  • Customizing business card text and colors
openai/plugins7.5KUpdated Oct 8, 2026

Turn an uploaded video into three highlight edits with Adobe Quick Cut. Choose a target length and style, then compare versions that feature different moments and download the ones you prefer.

  • Creating a short highlight video for social media
  • Condensing interview footage into a highlight reel
  • Comparing three edits with different moment selections
openai/plugins7.5KUpdated Oct 8, 2026

See all skills by openai

Report a problem with this skill