Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:5
-
Epic Link:
-
Sprint:Summer 2, Summer 3, Summer 4, Summer 5, Summer 6
Description
Implement logic to load the available genomes from Ensembl API:
To get the list of species (genomes) available in Ensembl:
GET info/divisions
Get the list of all Ensembl divisions for which information is available: https://rest.ensembl.org/documentation/info/info_divisions
Example: https://rest.ensembl.org/info/divisions?content-type=application/json
GET info/species
Lists all available species, their aliases, available adaptor groups, and data release.
To get the species for that ensembl division, have to specify the division optional parameter.
API to get the list of all species: https://rest.ensembl.org/documentation/info/species
Example: https://rest.ensembl.org/info/species?content-type=application/json
Use name, display_name, and assembly from the API response as the species name, tooltip description, and version respectively.
To get all the available species we have to call the above info/species API for all the ensemble divisions that are returned from the first API.
Add the logic in the retrieveDataContainer() method to check whether the species that is being loaded by the Ensembl provider is already present in the species list, if it's present don't add it if not add the species to the list and also, write logic to get the species name for the provided versionName.
Attachments
Issue Links
- relates to
-
IGBF-3782 Investigate optimizing the loadSupportedGenomeVersions method
- Closed