knowledgesystems / signal

Somatic Integration of Germline Alterations in cancer
https://www.signaldb.org/
MIT License
2 stars 5 forks source link

BRCA1 missing gnomad #132

Closed leexgh closed 3 years ago

leexgh commented 3 years ago

https://www.signaldb.org/variant/17:g.41276045_41276046del https://www.signaldb.org/gene/BRCA1 look for E23Vfs*17

Reason: If we query a new variant by GET, then it calls my variant info GET endpoint, and cache annotation to database. Response format: image

If we query a new variant by POST, then it calls my variant info POST endpoint, and cache annotation to database. Response format: image

GET response doesn't have query field but we need it as the key to mapping hgvsg with my_variant_info annotation. So if one variant is queried by GET for the first time, it won't have query in the cache, so it won't be able to be found by POST requests later on.

Fix: Always use POST to get my variant info so new annotation could have query field. Clean up database to remove my variant info annotation cache that has no query field(those variants will be re-cached when they are queried later).

Todo: