Open livtanong opened 1 month ago
Welp, that's a non-starter. Can't create an account at SNPedia. Which is weird because I'm not on a proxy or anything.
It seems like other users are having the same issue. https://www.reddit.com/r/SNPedia/comments/11t2ojr/still_accepting_users/
An alternative source of information is dbSNP https://clinicaltables.nlm.nih.gov/apidoc/snps/v3/doc.html
But it'll be a whole thing to understand what's going on. Just leaving this here for future reference. For now, I'll just implement the data transformation for #17 manually. (It needs to be manual because additional information regarding the phenotypes and the magnitude are being added, and I worry about being banned if I use a scraper)
To the best of my understanding,
mps-data.json
describes what variants on which to focus attention, and how to group them. This is currently statically defined.This means that keeping mps-data.json updated is a manual task. We can improve this workflow.
I see two approaches:
Full automation
mps-data.json
Script
mps-data.json
to disk.Why Script is better than Full Automation
Why Full Automation is better than Script
I'm almost certain a script is the way to go, because updates are unlikely to happen with enough frequency to warrant pulling this information with each run. But additional research is needed. I'm not even sure if SNPedia has an API that we can access for free. At the very least, scraping would be possible.