In [1]:
from ga4gh.client import client
c = client.HttpClient("http://1kgenomes.ga4gh.org")
We will continue to refer to this client object for accessing the remote server.
In [2]:
dataset = c.search_datasets().next()
print dataset
data_set_id = dataset.id
In [3]:
dataset_via_get = c.get_dataset(dataset_id=data_set_id)
print dataset_via_get
We can then use this identifier to point to the same dataset throughout our examples.
https://ga4gh-schemas.readthedocs.io/en/latest/schemas/metadata_service.proto.html