list_member_pgs_scores
List already-computed polygenic score (PGS) results.
This is the result-reading step of the PGS loop: scores are produced by schedule_run("pgsc_calc", …) (see search_pgs_scores for discovery) and stored per authorized member. Returns the most recent score per model. Use this to check whether a model was already computed before re-running it — match each item's pgs_model_id against the catalog ids from search_pgs_scores.
Each item has: pgs_model_id (the scored model as a harmonized id, e.g. PGS000123_hmPOS_GRCh38 — its leading PGS number is the PGS Catalog id), percentile and adjusted_z_score (the score), the population-relative population_percentile / population_z_score / population_id, the wallet sample_id it was computed on, result_id, and created.
To explain where a score came from end to end ("which run computed it, from what input, on a sample imputed how?"), follow result_id into get_run(result_id): its provenance returns what the run consumed *and* how the input sample was produced. Scores are kept lean here — provenance is not inlined per score (many scores share one run).
Scoped to the caller — only scores for data the caller is authorized to access are returned. Returns an empty list if none have been computed yet.
Parameters
This tool takes no parameters.
Response
A list. Each item has these fields.
| Field | Description |
|---|---|
adjusted_z_scorenumber required | |
createdstring | null required | |
percentilenumber required | |
pgs_model_idstring required | The scored model, as a harmonized id such as PGS000123_hmPOS_GRCh38. The leading PGS number is the PGS Catalog id that |
population_idstring required | Reference population the score is relative to. |
population_percentilenumber required | |
population_z_scorenumber required | |
result_idstring required | The run that computed the score. Pass it to |
sample_idstring required | Wallet sample_id the score was computed on. |
score_idstring required |