What problem does it solve?
Looking up phenome-wide association study (PheWAS) results for a genetic variant requires resolving inconsistent input formats (rsID, GRCh37, or GRCh38 coordinates) into the exact GRCh38 query the TPMI PheWeb API expects, then trimming large association payloads into readable summaries.
Core Features & Use Cases
- Flexible Variant Input: Accepts exactly one of rsid, grch37, grch38, or a generic variant string, and resolves it to the canonical GRCh38 chr:pos-ref-alt query using Ensembl REST endpoints.
- Compact PheWAS Summaries: Queries the TPMI PheWeb API and returns a bounded list of associations with total counts and truncation flags, starting from max_results=10.
- Raw Payload Export: Optionally saves the full association JSON to a file via save_raw and raw_output_path instead of flooding the chat with large arrays.
- Use Case: A researcher asks for TPMI associations for rs9273363; the skill resolves the rsID to GRCh38 coordinates, queries TPMI, and returns a concise markdown summary of the top phenotype associations.
Quick Start
Ask the assistant to fetch TPMI PheWAS associations for a variant such as rs9273363 or the GRCh38 coordinate 6:160540105-T-C.