-
Notifications
You must be signed in to change notification settings - Fork 11
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
Order gene list on similarity to entered term (not alphabetically) #1074
Comments
@AlistairNWard, you bring up an interesting point about the order of the gene names returned. In the new release, the search looks for a match based on the beginning of the gene name. Hopefully, this isn't too restrictive. If we returned all genes that match the term anywhere in the gene name, then the order of the genes returned is more relevant. And I agree with you. The user would want to see the 'closest' matches first. And the new behavior does satisfy this. For example, if the user searches on gene TAT, that exact match appears first in the list: And on a related note, gene list order is dictated by the gene name, not the gene alias. So, for example, if the user enters MGC445, there are not any genes with this name, but there are gene aliases that start with this term. Notice that the genes are ordered alphabetically by the gene name (the name designated by RefSeq or Gencode). There are many nuances to the gene search, so please feel free @AlistairNWard to play around with the new functionality on https://stage.gene.iobio.io. Overall, I'm happy with the new behavior, but my guess is that it may still need some refinement. Hopefully, this gets us closer to a solid gene search. |
Search for the gene F5 and there are so many genes returned that contain F5, that the dropdown is cutoff well before genes beginning with "F" are displayed. This means it's impossible to search for F5 and select it.
Instead of ordering genes in the search dropdown alphabetically, they should be ordered according to their similarity to the entered term. As an exact match, F5 (or genes with a synonym of exactly F5) would be then be the first in list when F5 is entered.
The text was updated successfully, but these errors were encountered: