https://github.com/waridrox/testtask
https://github.com/waridrox/testtask
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/waridrox/testtask
- Owner: waridrox
- Created: 2025-08-16T11:03:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-16T13:40:57.000Z (11 months ago)
- Last Synced: 2025-08-16T15:28:09.650Z (11 months ago)
- Language: HTML
- Homepage: https://waridrox.github.io/testTask
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Species Assembly Viewer
A web app built with vanilla JS, HTML and CSS that displays genome assembly info for various species using the Ensembl REST API.
## Usage
1. Open `index.html` in any web browser or visit https://waridrox.github.io/testTask.
2. Select a species from the dropdown menu.
3. View the assembly information including species name, total genome length and individual chromosome lengths
### Data Formatting
- Genome lengths are displayed in appropriate units (bp, Kb, Mb)
- Chromosomes are sorted in karyotype order (1-22, X, Y, MT)
## API Calls
- [Species Endpoint](https://rest.ensembl.org/documentation/info/species)
- [Assembly Endpoint](https://rest.ensembl.org/documentation/info/assembly_info)
```bash
curl 'https://rest.ensembl.org/info/species?' -H 'Content-type: application/json'
curl 'https://rest.ensembl.org/info/assembly/homo_sapiens?' -H 'Content-type: application/json'
```