Clinical-Genomics / scout

VCF visualization interface
https://clinical-genomics.github.io/scout
BSD 3-Clause "New" or "Revised" License
152 stars 46 forks source link

Create a view for institutes #988

Closed moonso closed 4 years ago

moonso commented 6 years ago

This would simplify updates to institutes, e.g.

moonso commented 6 years ago

Could you start on this one when you have time @northwestwitch ?

northwestwitch commented 6 years ago

Ok!

dnil commented 5 years ago

Goes well with #864

northwestwitch commented 4 years ago

I'm working on this right now but I need some indication: what about the phenotype groups? What should I add to this page that would customize pheno groups for the institute? Do you mean cancer phenotypes VS rare disease phenotypes?

northwestwitch commented 4 years ago

Oh, maybe I understood!

northwestwitch commented 4 years ago

Ak ok, these ones!

PHENOTYPE_GROUPS = { 'HP:0001298': { 'name': 'Encephalopathy', 'abbr': 'ENC' }, 'HP:0012759': { 'name': 'Neurodevelopmental abnormality', 'abbr': 'NDEV' }, 'HP:0001250': { 'name': 'Seizures', 'abbr': 'EP' }, 'HP:0100022': { 'name': 'Abnormality of movement', 'abbr': 'MOVE' }, 'HP:0000707': { 'name': 'Neurology, other', 'abbr': 'NEUR' }, 'HP:0003011': { 'name': 'Abnormality of the musculature', 'abbr': 'MUSC' }, 'HP:0001638': { 'name': 'Cardiomyopathy', 'abbr': 'CARD' }, 'HP:0001507': { 'name': 'Growth abnormality', 'abbr': 'GROW' }, 'HP:0001392': { 'name': 'Abnormality of the liver', 'abbr': 'LIV' }, 'HP:0011458': { 'name': 'Abdominal symptom', 'abbr': 'GI' }, 'HP:0012373': { 'name': 'Abnormal eye physiology', 'abbr': 'EYE' }, 'HP:0000077': { 'name': 'Abnormality of the kidney', 'abbr': 'KIDN' }, 'HP:0000951': { 'name': 'Abnormality of the skin', 'abbr': 'SKIN' }, 'HP:0001939': { 'name': 'Abnormality of metabolism/homeostasis', 'abbr': 'METAB' }, 'HP:0000118': { 'name': 'As yet undefined/to be added', 'abbr': 'UND' }, 'HP:0002011': { 'name': 'Abnormal CNS morphology', 'abbr': 'MRI' } }

dnil commented 4 years ago

:+1: And presumably the "cohorts" as well. Makes a lot of sense to ge a dynamic version of them out of the constants and into the db. But this then becomes a large-ish PR! 😊

northwestwitch commented 4 years ago

Who put the easy label again?? :)

dnil commented 4 years ago

Well, you have to interpret him as in mathematics. If it is, in principle, possible to arrive at the solution with just hard work, it must still be trivial. Only if it is essentially proven impossible or at least non-convergent will it become hard. Actually, just reintroducing a page and change of rank score thresholds again would perhaps still be easy, even to the non-mathematician.

dnil commented 4 years ago

I might be guilty of putting it on the "Fixing small issues"-list at one point.. 🙄

northwestwitch commented 4 years ago

I might be guilty of putting it on the "Fixing small issues"-list at one point.. 🙄

It's OK, but expect a WTF (WTForm) :D

dnil commented 4 years ago

Perhaps we need a new set of labels indicating the amount of work, not just its theoretical intricacy. 😜

northwestwitch commented 4 years ago

Intermediate will do! 👍