Skip to content

Architecture

gibran hemani edited this page Feb 4, 2025 · 1 revision

Integrating user GWAS to the map

  1. R package subsets GWAS regions, validates, creates list of regions
  2. API receives that list
  3. Added to queue
  4. Worker container executes
  5. R package polls for queue completion
  6. R package sends request for results
  7. API returns results

Website browser

  1. Web request
  2. API endpoint sends result

Interactive analysis

  1. Upload GWAS
  2. API receives that list
  3. Added to queue
  4. Worker container executes - including GWAS subsetting etc
  5. API - Email sent with link to results
  6. Results page displays stuff
  • json blobs will be the payload - somewhat redundant but likely not that big
  • guid / token / hash based identification for the results

Index of suspicion

  1. Upload list of instruments to API
  2. API returns coloc results for each instrument
  3. R package will generate index of suspicion for each instrument
  4. Look up outcome associations in OpenGWAS or own GWAS summary data or elsewhere
  5. Use TwoSampleMR to harmonise exposure and outcome
  6. Perform MR with 1/IOS included in the weight

Clustering variants for phenotype refinement

  1. Upload list of instruments to API
  2. API returns coloc results for each instrument
  3. R package will generate index of suspicion for each instrument

Clustering traits to maximise conditional F statistics

  1. Upload list of instruments to API
  2. API returns coloc results for each instrument
  3. API returns meta data about the phenotypes included in the coloc results
  4. R package would cluster instruments against meta data.

Clone this wiki locally