Skip to content

duplicate transcripts with gene2transcripts endpoint #804

@vidboda

Description

@vidboda

Describe the bug
For some genes, e.g. HYMAI, some transcripts (e.g. NR_002768.2) are duplicated in the json response

To Reproduce
curl -X 'GET' -H 'accept: application/json' 'http://YOURVVSERVER/VariantValidator/tools/gene2transcripts/HYMAI?content-type=application/json'

Expected behavior
Only one occurence of NR_002768.2

Screenshots

{                                                                                                                                                                                                    
  "current_name": "hydatidiform mole associated and imprinted",
  "current_symbol": "HYMAI",
  "hgnc": "HGNC:5326",
  "lovd_corrections": null,
  "lovd_messages": null,
  "previous_symbol": "",
  "requested_symbol": "HYMAI",
  "transcripts": [
    {
      "annotations": {
        "chromosome": "6",
        "db_xref": {
          "CCDS": null,
          "ensemblgene": null,
          "hgnc": "HGNC:5326",
          "ncbigene": "57061",
          "select": false
        },
        "ensembl_select": false,
        "mane_plus_clinical": false,
        "mane_select": false,
        "map": "6q24.2",
        "note": "hydatidiform mole associated and imprinted",
        "refseq_select": false,
        "variant": "0"
      },
      "coding_end": null,
      "coding_start": null,
      "description": "Homo sapiens hydatidiform mole associated and imprinted (HYMAI), long non-coding RNA",
      "genomic_spans": {
        "NC_000006.11": {
...
      },
      "length": 3815,
      "reference": "NR_002768.2",
      "translation": null
    },
    {
      "annotations": {
        "chromosome": "6",
        "db_xref": {
          "CCDS": null,
          "ensemblgene": null,
          "hgnc": "HGNC:5326",
          "ncbigene": "57061",
          "select": false
        },
        "ensembl_select": false,
        "mane_plus_clinical": false,
        "mane_select": false,
        "map": "6q24.2",
        "note": "hydatidiform mole associated and imprinted",
        "refseq_select": false,
        "variant": "0"
      },
      "coding_end": null,
      "coding_start": null,
      "description": "Homo sapiens hydatidiform mole associated and imprinted (HYMAI), long non-coding RNA",
      "genomic_spans": {
        "NC_000006.11": {
...
      },
      "length": 3815,
      "reference": "NR_002768.2",
      "translation": null
    },
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions