ClinGen / clincoded

This GCI/VCI 1.0 platform has now been retired, and replaced with our new 2.0 platform:
https://github.com/ClinGen/gene-and-variant-curation-tools/issues
MIT License
25 stars 9 forks source link

Summary and Provisional Assertion for GDM #90

Closed hitz closed 9 years ago

hitz commented 9 years ago

This is a view of the GDM that calculates the current summary and provisional assertions.

Apparently summaries and assertions are PER curator. Summary is autogenerated.

kgliu0101 commented 9 years ago

page to create a new provisional. newprovisional

kgliu0101 commented 9 years ago

page to edit existing provisional data. First, have a view of login user's provisional. existingprovisional

then, click button Calculate Again will get new summary below calculateagain

selinad commented 9 years ago

HI @kgliu0101 Thanks so much for this!

Here are a few comments:

PAGE TO CREATE A NEW PROVISIONAL

Number of years since first clinical publication Score: 2 Year of First Publication: 1994

Number of clinical publications with clincial evidence Score: 2 Number of Publcations: x

Number of probands associated with a pathogenic variant Score: 2 Individual probands not associated with Family: 1 Individual probands associated with Family: 3

Experimental Data Combined Score: 3.5

[indent these]

Expression (0.5 points each) Score: 1.0 Number of pieces of evidence: 2

Protein Interactions (0.5 points each) Score: 0.5 Number of pieces of evidence: 1

Protein Interactions (0.5 points each) Score: 0.5 Number of pieces of evidence: 1

Model Systems (2 points each) Score: 2 Number of pieces of evidence: 1

[end indent]


Total Score: 9.5

selinad commented 9 years ago

PAGE TO EDIT PROVISIONAL DATA

selinad commented 9 years ago

I think Recalculate (rather than Calculate again) button should be on GDM page - you can't recalculate from the Summary page. The curator could Edit their classification, but that is different from recalculating from the evidence.

selinad commented 9 years ago

@kgliu0101 I'm not sure I understand the red note - it just changes their classification, not any data underneath (also, I don't think @forresttanaka has any red notes - red is reserved for errors).

kgliu0101 commented 9 years ago

Add Summary data, link and button in record title panel.

gdm with Summary and Provisional Classification. link

gdm with pathogenic data and assessed as Supports, but without Summary. link1

gdm without assessed pathogenic data. link2

kgliu0101 commented 9 years ago

Display Summary data as one line in record title panel. link

selinad commented 9 years ago

Hi @kgliu0101 - looking good - here is my similar version with some changes in wording mockup-header

kgliu0101 commented 9 years ago

matching above? link

selinad commented 9 years ago

Thanks @kgliu0101 Looks good!

There is one more thing you could try, if you like, since there is more room than I thought.

You could put the following in a 2nd column:

Total Score: 17 (Definitive) Provisional Classification: Strong [Edit Classification]

That way, you would have 3 columns:

1. Current Summary Generated: 2015....

2. Total Score: 17 (Definitive) Provisional Classification: Strong [Edit Classification]

3. [Button]

This might highlight the scoring part.

kgliu0101 commented 9 years ago

3 columns, button moves left little, Summary & Provisional Classification, Edit Classification.

link
kgliu0101 commented 9 years ago

Note for new calculation. summary

selinad commented 9 years ago

Hi @kgliu0101 - thanks so much - it's coming along!

I like the addition of the note since the header still has the Summary/Classification from before the user hit Generate New Summary.

Slight change to wording - @forresttanaka, do we need a blue box for a note here?: The calculated values below are based on the set of curated evidence saved prior to selecting "Generate New Summary." To save these values as the "Current Summary & Provisional Classification" calculated values and make a new Provisional Classification, click the Save button below.

Could you implement the following text changes?

image

kgliu0101 commented 9 years ago

@selinad Have a look summary

selinad commented 9 years ago

Great! Thanks, @kgliu0101

2 things (both on me):

Also, are you requiring a reason if they change the Provisional Score, or did we decide we could not implement that?

Thanks!

kgliu0101 commented 9 years ago

changed Note and Proband(s) summary

kgliu0101 commented 9 years ago

change "Proband(s) from Families" to "Number of proband ..." summary

selinad commented 9 years ago

Thanks @kgliu0101 - let's use the 2nd one.

Change the text under Proband Score to be: Number of probands with variants assessed as "supports" pathogenicity

kgliu0101 commented 9 years ago

Changed. But it's pretty long and hard to stay as one line summary

selinad commented 9 years ago

Great! The "16" is still floating inbetwen - can it be on the same line as "Number of probands....supports"?

Thanks! Selina

kgliu0101 commented 9 years ago

"16" at top line summary

selinad commented 9 years ago

Excellent! Thanks for your hard work on this, @kgliu0101

selinad commented 9 years ago

Thanks @kgliu0101 - I can't see it...?

kgliu0101 commented 9 years ago

this one summary

kgliu0101 commented 9 years ago

change to Definitive summary

kgliu0101 commented 9 years ago

should be this one summary

selinad commented 9 years ago

Thank you @kgliu0101 - that looks perfect!

selinad commented 9 years ago

Hi Kang,

I don't have time for thorough testing by any means - @tsneddon can test more thoroughly on Monday. A couple of quick things:

Sorry I can't test any more before I go! Thanks for your hard work putting up the instance on a Friday night.

tsneddon commented 9 years ago

Yes, there seems to be issues with generating a summary. One I can add is that I can assess on a variant without selecting any of the drop-downs. However, when I make a summary all the scores are zero. I only get the correct score if I select one of the drop-downs from 'Evaluation of Pathogenicity'. If this is required it should be stated in the Edit Variant Information view and a user should not be able to make an assessment without selecting one of the drop-downs or putting some text in the comments box. This is the GDM in progress: https://90-kl-summary-and-provisional-c326264-kangliu.demo.clinicalgenome.org/curation-central/?gdm=3e144866-16d9-11e5-b451-60f81dc5b05a Let me know when this and Selina's issues are fixed and I will review the new instance.

kgliu0101 commented 9 years ago

@tsneddon and @selinad, currently, pathogenicity of one variant in a gdm is shared in all curators. And each curator assesses to the variant pathogenicity. That is different to the mechanism that each curator makes his/her own pathogenicity and assesses to it only (can not assess other's). Please let me know which one you prefer and I will edit relevant code.

tsneddon commented 9 years ago

@kgliu0101 I'm a little confused by your last message. Please clarify what the current situation is and what alternative you are proposing.

tsneddon commented 9 years ago

Another comment: I added Exp 1 to the following instance and saved as 'Supports': https://90-kl-summary-and-provisional-c326264-kangliu.demo.clinicalgenome.org/curation-central/?gdm=3e144866-16d9-11e5-b451-60f81dc5b05a&pmid=2345676 I also added variationID:177872 but I can NOT save any information including an assessment on this variant.

forresttanaka commented 9 years ago

I also added variationID:177872 but I can NOT save any information including an assessment on this variant.

Traced this to an object not being embedded, so there will have to be a change to __init__.py. I’ll work on that first thing this morning in a new branch.

forresttanaka commented 9 years ago

I just noticed the 90_kl_summary_and_provisional branch is 82 commits behind dev. I’ve made embedding changes (including for this exact problem) in recent dev merges, so I think we can assume for now that I fixed this problem already.

tsneddon commented 9 years ago

Thanks @forresttanaka, so I can continue to assess on this instance?: https://90-kl-summary-and-provisional-c326264-kangliu.demo.clinicalgenome.org/

kilodalton commented 9 years ago

@kgliu0101 Your branch should be updated and a new instance brought up.

@tsneddon I would recommend that you not continue to test on this instance until the the code base behind it (on a new instance) is brought up to date.

forresttanaka commented 9 years ago

@tsneddon I can only address assessing variants, and I worked on that towards the end of last week, probably within the 82-commit window. So how much assessing variants proves on this instance, I’m not clear.

selinad commented 9 years ago

Please move these comments if they should be somewhere else (I've lost track from afar):

Here is the GDM URL for the following: https://90-kl-summary-and-provisional-fa45a47-kangliu.demo.clinicalgenome.org/curation-central/?gdm=34adcf73-a559-41d8-985a-b0eb947fc2a3

Here's what I tried in order, generated summary, and it worked!:

What did not work:

Features:

selinad commented 9 years ago

Experimental Count is showing but not Experimental Score

screen shot 2015-10-06 at 9 55 50 am
kgliu0101 commented 9 years ago

I can see "Final Experimental Score" 3. If you mean no score for each experimental evidence (Expression, Biochemical Function, Model System), that is what we decided last week. Since Final Experimental Score is range-based but not directly equal to sum of each evidence score, we decided not showing them.

selinad commented 9 years ago

Hmm...I vaguely remember this, but not necessarily for experimental. Fine for beta and we can discuss again.

Let me check Models again - I may have been confused, it may be working ok.

selinad commented 9 years ago

@kgliu0101 I have to stop testing now, but I think the scoring is all working well!!!

tsneddon commented 9 years ago

@selinad - I think we are OK not including the # of pieces of contradictory evidence for this initial release but it should be a priority for the next 3-week release. I will start testing now...

tsneddon commented 9 years ago

Initial comments:

  1. On Edit Individual Information there is a field "Shared Phenotype(s) (free text):". This should just be "Phenotype(s) (free text):". It is correct on the View Individual page.
  2. Not for this release but it would be useful to have a Summary View, especially if it was done by a different curator e.g. this record was created by me. Only Selina has added a PMID. The record evidence is empty in my view but the status is "Summary/Provisional Classifications" - is this a feature or a bug? @selinad have you previously assessed on this record?: https://90-kl-summary-and-provisional-fa45a47-kangliu.demo.clinicalgenome.org/curation-central/?gdm=fae4c241-7417-4a29-9453-f1ecac8c96cc&pmid=21217753
  3. I can't save an assessment on this Experimental piece of evidence: https://90-kl-summary-and-provisional-fa45a47-kangliu.demo.clinicalgenome.org/experimental-curation/?editsc&gdm=9ffd7c1e-16d9-11e5-b283-60f81dc5b05a&evidence=bb3432ca-1788-11e5-aefb-60f81dc5b05a&experimental=6be668d4-2a6e-11e5-804a-60f81dc5b05a
  4. @selinad - Experimental Rescue count works for me - with and without an associated/assessed variant. However, a previous Experimental piece of Protein Interaction data was previously assessed by me as supports but it is not included in the summary score: https://90-kl-summary-and-provisional-fa45a47-kangliu.demo.clinicalgenome.org/experimental/72341d2e-2a6e-11e5-bdd7-60f81dc5b05a/?gdm=9ffd7c1e-16d9-11e5-b283-60f81dc5b05a
  5. I have set this family segregation as Reviewed: https://90-kl-summary-and-provisional-fa45a47-kangliu.demo.clinicalgenome.org/families/e659bd3a-18f8-11e5-9d3a-60f81dc5b05a/?gdm=9ffd7c1e-16d9-11e5-b283-60f81dc5b05a This is the only family associated I have with an assessed variant. However, I am still getting a proband count. Why is this?

...still testing...

mrmin123 commented 9 years ago

@tsneddon Regarding item 3... do you get an error message in the console (command+option+i in Chrome) when you try to set an assessment?

kgliu0101 commented 9 years ago

@tsneddon Item 1. I changed tile of field "Shared Phenotype(s) (free text):" to "Phenotype(s) (free text):". Item 2. GDM status is currently set as "Summary/Provisional Classifications" if there is a summary generated, no who did it. Is it necessary to set the status per user?

kgliu0101 commented 9 years ago

other items are related to test data in gdm 9ffd7c1e-16d9-11e5-b283-60f81dc5b05a. Some of them may missing required item because of schema change. I suggest starting from a new gdm for testing.

tsneddon commented 9 years ago

@mrmin123 - no error, just nothing happens when I click on save.

tsneddon commented 9 years ago

@kgliu0101 - re: #2, I don't see a summary and there is no evidence added so I don't think Selina could have made a summary. Why then is Status: Summary/Provisional Classifications and not Status: In progress?