Fetch compact TPMI PheWAS summaries for single variants by accepting rsID, GRCh37, or GRCh38 input and resolving to the required GRCh38 query. Use when a user wants concise TPMI association results for one variant
scripts/tpmi_phewas.py for all TPMI PheWAS lookups.rsid, grch37, grch38, or variant; resolve to the canonical GRCh38 chr:pos-ref-alt query before calling TPMI.max_results; start with max_results=10 and only increase it if the first slice is insufficient.... in tool previews as UI truncation, not literal request content.save_raw=true and report raw_output_path instead of pasting large arrays into chat.max_results gradually instead of asking for large association dumps in one call.rsid, grch37, grch38, or variantmax_results, save_raw, raw_output_path, timeout_sec{"grch38":"6:160540105-T-C","max_results":10}{"grch37":"6:162447146-T-C","max_results":10}{"rsid":"rs9273363","max_results":10}{"variant":"6:160540105:T:C","max_results":25,"save_raw":true}ok, source, input, query_variant, max_results_applied, association_count, association_count_total, truncated, associations, variant, variant_url, raw_output_path, and warnings.raw_output_path when save_raw=true.ok=false with error.code and error.message.echo '{"grch38":"6:160540105-T-C","max_results":10}' | python scripts/tpmi_phewas.py
scripts/tpmi_phewas.py.