Skip to content

Fix wheat xref urls#194

Open
bilalebi wants to merge 1 commit into
developfrom
fix-xref-wheat-url
Open

Fix wheat xref urls#194
bilalebi wants to merge 1 commit into
developfrom
fix-xref-wheat-url

Conversation

@bilalebi

@bilalebi bilalebi commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Dare reported a while ago some broken xref URLs on beta (on the right hand side here)

This PR update the urls

Example GraphQL query that can be used to check:

query GeneExternalReferences {
  gene(by_id: { 
    stable_id: "TraesCS4D02G040400", 
    genome_id: "a73357ab-93e7-11ec-a39d-005056b38ce3" 
  }) {
    stable_id
    symbol
    external_references {
      accession_id
      name
      description
      url
      source {
        id
        name
      }
    }
  }
}

Response:

Before the fix

{
  "data": {
    "gene": {
      "stable_id": "TraesCS4D02G040400",
      "symbol": "RHT1",
      "external_references": [
        ...
        {
          "accession_id": "TraesCS4D02G040400",
          "name": "TraesCS4D02G040400",
          "description": null,
          "url": "https://knetminer.com/Triticum_aestivum/TraesCS4D02G040400",
          "source": {
            "id": "KNETMINER_WHEAT",
            "name": "KNETMINER_WHEAT"
          }
        },
        {
          "accession_id": "TraesCS4D02G040400",
          "name": "TraesCS4D02G040400",
          "description": null,
          "url": "https://wheat.pw.usda.gov/WheatExp/TraesCS4D02G040400",
          "source": {
            "id": "WHEATEXP_GENE",
            "name": "Wheat Expression"
          }
        }
      ]
    }
  },
  "extensions": {
    "execution_time_in_seconds": 0.01
  }
}

After:

{
  "data": {
    "gene": {
      "stable_id": "TraesCS4D02G040400",
      "symbol": "RHT1",
      "external_references": [
        ...
        {
          "accession_id": "TraesCS4D02G040400",
          "name": "TraesCS4D02G040400",
          "description": null,
          "url": "https://app.knetminer.com/genepage/Triticum_aestivum/?list=TraesCS4D02G040400",
          "source": {
            "id": "KNETMINER_WHEAT",
            "name": "KNETMINER_WHEAT"
          }
        },
        {
          "accession_id": "TraesCS4D02G040400",
          "name": "TraesCS4D02G040400",
          "description": null,
          "url": "https://www.wheat-expression.com/genes/show?gene_set=RefSeq1.1&search_by=gene&name=TraesCS4D02G040400",
          "source": {
            "id": "WHEATEXP_GENE",
            "name": "Wheat Expression"
          }
        }
      ]
    }
  },
  "extensions": {
    "execution_time_in_seconds": 0.03
  }
}

@bilalebi bilalebi self-assigned this Jun 10, 2026
@bilalebi bilalebi requested a review from darefalola June 10, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant