opencb / jsorolla

JSorolla is a JavaScript Library for biological and genomic data visualization
http://docs.opencb.org/display/jsorolla
Apache License 2.0
42 stars 29 forks source link

Improve variant evidence edit form in variant browser #329

Closed pamag closed 2 years ago

pamag commented 2 years ago

Feature improvement description

In the Variant Browser the edit of the variant subrow for clinical_evidence needs to be changed

Current view:

image

Canges:

The edit form needs to allow the update of the fields:

pamag commented 2 years ago

note: in current model the discussion is called justification and needs to be changed to discussion.

jmjuanes commented 2 years ago

New clinical evidence review model, used to store the manually reviews of the clinical evidences:

review = {
    selected: Boolean,
    tier: String,
    acmg: List<String>,
    clinicalSignificance: ClinicalSignificance,
    discussion: String,
}
jmjuanes commented 2 years ago

Migrate to new review model and added Clinical Significance dropdown to the evidence review modal in commit 086a1a2:

image

jmjuanes commented 2 years ago

Evidence can be reviewed only if the variant and the evidence are selected:

Peek 2022-01-11 21-38

jmjuanes commented 2 years ago

Added Updated variants to the save section in the variant interpreter browser:

image

Note: the 'update variant' is shown also when in an already selected variant only changes the clinical evidence selection.

pamag commented 2 years ago

Added dropdown menu for ACMG image

pamag commented 2 years ago

Reviewed

commit: 6ddc3a6fb49a40af503fa98a38ec19258b3ed7d1

FIXED