Repository navigation
Architecture
gibran hemani edited this page Feb 4, 2025
·
1 revision
Integrating user GWAS to the map
- R package subsets GWAS regions, validates, creates list of regions
- API receives that list
- Added to queue
- Worker container executes
- R package polls for queue completion
- R package sends request for results
- API returns results
Website browser
- Web request
- API endpoint sends result
Interactive analysis
- Upload GWAS
- API receives that list
- Added to queue
- Worker container executes - including GWAS subsetting etc
- API - Email sent with link to results
- 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
- Upload list of instruments to API
- API returns coloc results for each instrument
- R package will generate index of suspicion for each instrument
- Look up outcome associations in OpenGWAS or own GWAS summary data or elsewhere
- Use TwoSampleMR to harmonise exposure and outcome
- Perform MR with 1/IOS included in the weight
Clustering variants for phenotype refinement
- Upload list of instruments to API
- API returns coloc results for each instrument
- R package will generate index of suspicion for each instrument
Clustering traits to maximise conditional F statistics
- Upload list of instruments to API
- API returns coloc results for each instrument
- API returns meta data about the phenotypes included in the coloc results
- R package would cluster instruments against meta data.