https://github.com/linsalrob/mgnify
Code for working with the MGNIfy API
https://github.com/linsalrob/mgnify
Last synced: 11 days ago
JSON representation
Code for working with the MGNIfy API
- Host: GitHub
- URL: https://github.com/linsalrob/mgnify
- Owner: linsalrob
- License: mit
- Created: 2025-03-31T23:04:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-06T22:12:12.000Z (about 1 year ago)
- Last Synced: 2026-03-29T13:46:44.486Z (3 months ago)
- Language: Python
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MGNify
Code for working with the MGNIfy API
The MGNify API provides access to a large collection of metagenomic data, including raw sequencing reads, assembled
genomes, and associated metadata. This code provides a simple interface for querying the API and downloading data.
The base URL for the API is [https://www.ebi.ac.uk/metagenomics/api/](https://www.ebi.ac.uk/metagenomics/api/) and
the documentation can be found
at [https://www.ebi.ac.uk/metagenomics/api/docs/](https://www.ebi.ac.uk/metagenomics/api/docs/).
- [Find samples by country][examples/find_samples_by_country.py]
This code queries the MGNify API for samples downloads the associated metadata. It summarises the counts per country