How to retrieve available datasets from easyGWAS? |
|
Publicly available datasets
List of all publicly available datasets
Users that are not logged in can obtain a list of all publicly available datasets using the following command:
https://easygwas.ethz.ch/rest/dataset/public/list/
or using
curl (or any other tool):
curl https://easygwas.ethz.ch/rest/dataset/public/list/
Publicly available datasets for a certain species
Users also can retrieve public datasets for a certain species:
https://easygwas.ethz.ch/rest/species/< species_id >/dataset/public/list/
or using
curl (or any other tool):
curl https://easygwas.ethz.ch/rest/species/< species_id >/dataset/public/list/
A specific public dataset
Users also retrieve information for a certain dataset using the dataset id:
https://easygwas.ethz.ch/rest/dataset/public/< dataset_id >/
or using
curl (or any other tool):
curl https://easygwas.ethz.ch/rest/dataset/public/< dataset_id >/
Private datasets
List of all private datasets
Users that are
logged in can obtain a list of private datasets linked to the individual user:
https://easygwas.ethz.ch/rest/dataset/private/list/
or using
curl (or any other tool):
curl https://easygwas.ethz.ch/rest/dataset/private/list/ -u easygwas_username
Private available datasets for a certain species
https://easygwas.ethz.ch/rest/species/< species_id >/dataset/private/list/
or using
curl (or any other tool):
curl https://easygwas.ethz.ch/rest/species/< species_id >/dataset/private/list/ -u easygwas_username
A specific private dataset
https://easygwas.ethz.ch/rest/dataset/private//
or using
curl (or any other tool):
curl https://easygwas.ethz.ch/rest/dataset/private/< dataset_id >/ -u easygwas_username