Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to get genomes by release version #159

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

bilalebi
Copy link
Contributor

@bilalebi bilalebi commented Nov 27, 2024

JIRA Ticket

https://www.ebi.ac.uk/panda/jira/browse/EA-1295

Changes

Add the possibility to get genomes by release version

NB: Don't merge until this PR is: Ensembl/ensembl-metadata-api#122

Example

Query

query Get241Genomes {
  genomes(by_keyword: {release_version: 110.1}) {
    genome_id
    assembly_accession
    release_number
  }
}

Response

{
  "data": {
    "genomes": [
      {
        "genome_id": "a73351f7-93e7-11ec-a39d-005056b38ce3",
        "assembly_accession": "GCA_000005845.2",
        "release_number": 110.1
      },
      {
        "genome_id": "2afef36f-3660-4b8c-819b-d1e5a77c9918",
        "assembly_accession": "GCA_001624475.1",
        "release_number": 110.1
      },
      {
        "genome_id": "980ccf6b-9841-46fa-b313-b068eb9b668a",
        "assembly_accession": "GCA_931346935.2",
        "release_number": 110.1
      },
      ...
    ]
  }
}

@bilalebi bilalebi merged commit b7972c0 into develop Dec 2, 2024
1 check passed
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.

2 participants