-
Notifications
You must be signed in to change notification settings - Fork 10
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
Hugo Gene symbol validation #63
Comments
There is no need to show any aliases for now. |
Updates based on the meeting: All genes are downloaded into the CTIMS database UI/UX to be provided by UX team since there are 40000+ genes in the drop down list. |
Gene names start with 3 characters and can contain upto 8 characters. https://www.genenames.org has a textbox with drop down for searching gene symbols. |
Backend API plan: This endpoint will take a pattern string as a parameter and return the top 10 genes that start with the pattern. This will return list of Hugo gene symbols ( top 10 in number ordered alphabetically). As the user enters additional characters, the API will use them to filter result set. For eg/ if user enters B, then all genes starting with B only will be selected. Then top 10 of the selected genes will be returned as API result. If user enters BR, then all genes starting with BR only will be selected. Then top 10 of the selected genes will be returned as API result. This enables the user to filter the gene list. If user enters, XYZ, then as there is no gene that starts with XYZ, then API will return zero genes as result. Database: |
FYI @Singhj2 |
Following issues have been identified: Issue 2: Issue 3: Issue 4: Currently, Issue 6: Issue 7: |
Fixed bugs in issue #63 hugo gene symbol auto complete
Copy and pasting values in the Hugo gene symbol field does not work. Copy a gene symbol such as "EGFR" to the clipboard. Paste the symbol in the Hugo gene symbol auto complete field. The pasted text disappears and the dropdown appears. Now on selecting the pasted value in the dropdown does not fill the value in the field. Field is empty. This happens consistently when there are two Genomic criteria, one after another. Please see video of the bug attached. |
Screen.Recording.2024-04-11.at.11.17.43.AM.mov |
When user is in match modal > Genomic criteria, the hugo symbol field should have the following in the UI:
Field should be a dropdown list (currently, this field is free text)
When user clicks the hugo symbol input box and starts typing, a dropdown list will display hugo symbol options relevant to the input
Drop list should be fixed with a vertical scroll (refer to figma file linked below)
Drop list of options will display the approved hugo symbol,
If user inputs an approved hugo symbol (or an alias symbol), user will click on the approved hugo symbol from the drop list and value is displayed in the field.
Ensure hugo symbol value is exported in JSON and YAML in the correct format
Alias symbols (to be considered later):
If user inputs an approved hugo - alias symbol, then enter Hugo symbol.
any alias symbols associated to the approved symbol will be displayed in smaller text below the approved symbol
ERROR MESSAGE: If no approved or alias symbols are found based on the input, display message:
No hugo symbol found. Please use another term or go to genenames.org to ensure you are using an approved hugo symbol
hyperlink genenames.org with: https://genenames.org/
The list of genes can be added into the code as a configuration.
The text was updated successfully, but these errors were encountered: