You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, the search bar automatically redirects to the right gene/variant view. However, what if the query like BRCA yields an approximate match only? It would be better to go through a search view that can do the disambiguation.
Describe the solution you'd like
Entering a search term should redirect the user to a search (result) view. This view should do the following:
If there is a direct/single match to gene symbol, HGNC, ENSEMBL, Entrez/NCBI gene ID then directly go to the gene view. Resolution can be done via /annonars/genes/search?q=$QUERY&fields=hgnc_id,ensembl_gene_id,ncbi_gene_id,symbol endpoint.
If there is a direct match to CHROM:POS:REF:ALT or RELEASE:CHROM:POS:REF:ALT then directly go to the variant detail view.
Otherwise, display the multiple matches from above /annonars/genes/search query and allow the users to go to the gene search directly.
If there is no match display this and give users examples of good queries.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, the search bar automatically redirects to the right gene/variant view. However, what if the query like
BRCA
yields an approximate match only? It would be better to go through a search view that can do the disambiguation.Describe the solution you'd like
Entering a search term should redirect the user to a search (result) view. This view should do the following:
/annonars/genes/search?q=$QUERY&fields=hgnc_id,ensembl_gene_id,ncbi_gene_id,symbol
endpoint.CHROM:POS:REF:ALT
orRELEASE:CHROM:POS:REF:ALT
then directly go to the variant detail view./annonars/genes/search
query and allow the users to go to the gene search directly.Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: