Describe the bug
The Genes to Transcripts tool expects the user to enter a gene symbol, or an HGNC ID, or a valid transcript identifier. Submitting more than one input type triggers an error message, but the messages vary according to the ORDER of the submitted search terms.
To Reproduce
Steps to reproduce the behaviour:
- Go to https://variantvalidator.org/service/gene2trans/
- Type both NM_000088.4 and COL1A1 into the data-entry box. Click the Submit button
- The process completes and correctly returns information about the three transcript versions that are available. However, three error messages are displayed:
- However, if the order of the two search parameters is reversed, i.e. COL1A1 then NM_000088.4, there is a single error message:
- Error: No transcript definition for (tx_ac=COL1A1NM_000088)
- The HGNC ID for COL1A1 is 2197. Submission of that ID on its own again displays the the three valid transcript versions but also triggers error messages:
Expected behaviour
The tool ought to trigger a simple warning that the expected input ought is a single string (gene symbol OR transcript identifier OR HGNC ID) if a user submits more that one string. Alternatively, the first string could be processed and subsequent strings ignored,
Improved prompts would help users.
Desktop (please complete the following information):
- OS: Windows 11
- Browser Chrome
- Version 140.0.7339.186
Describe the bug
The Genes to Transcripts tool expects the user to enter a gene symbol, or an HGNC ID, or a valid transcript identifier. Submitting more than one input type triggers an error message, but the messages vary according to the ORDER of the submitted search terms.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The tool ought to trigger a simple warning that the expected input ought is a single string (gene symbol OR transcript identifier OR HGNC ID) if a user submits more that one string. Alternatively, the first string could be processed and subsequent strings ignored,
Improved prompts would help users.
Desktop (please complete the following information):