-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create annotation summaries (text/notes) for phenotypes, genetic interactions and complementation/rescue #2015
Comments
I now have a prototype of this feature. I've updated flybase-test Canto with the changes. There is now a "View/edit notes" link in the right hand menu of the single allele genotype tables. If an allele has notes then there will be a "notes" link beside the allele in the table. I've called it "notes" because it's a short label to display. Easy to change that though. I've only just finish implement this and haven't tested it thoroughly. Please let me know if you find any problems. Vitor, we'll need to have a chat about updating your local copy of Canto as a few extra steps will be needed. The note types are configured with a new setting in the canto_deploy.yaml file. If no note types are configured then the notes edit links won't be shown. Example config: allele_note_types:
phenotype:
display_name: Phenotype
genetic_interaction:
display_name: Genetic interaction
xenogenetic_interaction:
display_name: Xenogenetic interaction
rescue_complementation:
display_name: Rescue/Complementation |
Tested on a curation session and it works fine. But does this mean that this commit replaces the previous implementation of 'notes'? i.e. #1872 Because they are differernt and should probably have different names. The previous implementation (#1872 ) was for internal curation comments/notes and was working perfectly: existing notes from previous curation were called 'notes' and were read-only, whereas 'new notes' were the ones created during a given phen curation session and were edtable within said session. These phenotype/interaction/etc are summary description of the data and for display to the website/database users, so should should probably be called 'discriptions' (a better name to be decided). Other than that - and like I said above - they seem to be working fine. |
Just back from holidays and getting up to speed at work. |
I agree. The internal notes are still there and they should have a different name. Although I wondered about adding the internal curation notes (read-only) to same dialog as the other notes, like this: We can then label them any way that makes sense in the dialog. If we did that it would make sense to change the title to "View and edit notes". |
I would prefer having them in different dialog boxes, with different buttons in the genotype table. |
This is to guarantee the display order in the dialog. Refs #2015
The configuration has changed slightly. It's now: allele_note_types:
- name: phenotype
display_name: Phenotype
- name: genetic_interaction
display_name: Genetic interaction
- name: xenogenetic_interaction
display_name: Xenogenetic interaction
- name: rescue_complementation
display_name: Rescue/Complementation |
I think this is done now. Let's open new issues for any bugs. |
(As discussed on Tuesday's in-person meeting)
Create 4 text fields for summarizing (1) phenotypes, (2) genetic interaction, (3) xenogentic interaction (4) and intragene complementation+rescue data.
The overall format can be similar to the current 'new notes':
a) free text field
b) only available for single alleles
c) editable during the session.
These can all be bundled into e.g. a single pop-up window, provided they are in different cells and are well labeled. We will have a "Edit/show notes ..." link for each allele. See a mock-up below.
(These are the only fields missing so that Fly-Canto becomes fully-functional for phenotype curation)
The text was updated successfully, but these errors were encountered: