Fetch compact BioBank Japan PheWAS summaries for single variants by accepting rsID, GRCh38, or GRCh37 input and resolving to the required GRCh37 query. Use when a user wants concise BBJ association results for one variant
scripts/biobankjapan_phewas.py
rsid
grch37
grch38
variant
chr:pos-ref-alt
max_results
max_results=10
...
save_raw=true
raw_output_path
save_raw
timeout_sec
{"grch37":"10:114758349-C-T","max_results":10}
{"grch38":"10:112998590-C-T","max_results":10}
{"rsid":"rs7903146","max_results":10}
{"variant":"10:114758349:C:T","max_results":25,"save_raw":true}
ok
source
input
query_variant
max_results_applied
association_count
association_count_total
truncated
associations
variant_url
warnings
ok=false
error.code
error.message
echo '{"grch37":"10:114758349-C-T","max_results":10}' | python scripts/biobankjapan_phewas.py