Fetch compact FinnGen 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 FinnGen association results for one variant
scripts/finngen_phewas.py for all FinnGen PheWAS lookups.rsid, grch37, grch38, or variant; resolve to the canonical GRCh38 chr:pos-ref-alt query before calling FinnGen.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.regionsmax_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":"10:112998590-C-T","max_results":10}{"grch37":"10:114758349-C-T","max_results":10}{"rsid":"rs7903146","max_results":10}{"variant":"10:112998590:C:T","max_results":25,"save_raw":true}ok, source, input, query_variant, max_results_applied, association_count, association_count_total, truncated, associations, variant, regions, variant_url, raw_output_path, and warnings.raw_output_path when save_raw=true.ok=false with error.code and error.message.echo '{"grch38":"10:112998590-C-T","max_results":10}' | python scripts/finngen_phewas.py
scripts/finngen_phewas.py.