Skip to content

Genes to Transcripts misleading error messages #753

@leicray

Description

@leicray

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:

  1. Go to https://variantvalidator.org/service/gene2trans/
  2. Type both NM_000088.4 and COL1A1 into the data-entry box. Click the Submit button
  3. The process completes and correctly returns information about the three transcript versions that are available. However, three error messages are displayed:
  1. 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)
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions