A client for the GA4GH reference server
Project description
GA4GH Client
This is a client library for using the Global Alliance for Genomics and Health (GA4GH) API. This library provides an easy Python programming interface to access GA4GH compliant servers such as the 1kgenomes.ga4gh.org server.
Installation
pip install ga4gh-client
To install the latest alpha release use
pip install --pre ga4gh_client
This installs both the client command line utility and the GA4GH client programming library.
To demonstrate the CLI try:
ga4gh_client datasets-search http://1kgenomes.ga4gh.org
To access the programming API you can use a Python console:
>>> from ga4gh.client import client >>> c = client.HttpClient("http://1kgenomes.ga4gh.org") >>> datasets = list(c.search_datasets()) >>> print datasets [id: "WyIxa2dlbm9tZXMiXQ" name: "1kgenomes" description: "Variants from the 1000 Genomes project and GENCODE genes annotations" ] >>>
REFERENCES
For more examples of using the GA4GH client visit this iPython notebook.
For more information about GA4GH see the GA4GH website.
Full documentation is available at read-the-docs.org.
For a quick start with the GA4GH API, please see our demo.
To configure and deploy the GA4GH server in production please see the installation page.
If you would like to contribute to the project, please see the development page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ga4gh_client-0.6.0a10.tar.gz
.
File metadata
- Download URL: ga4gh_client-0.6.0a10.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bd39991a3490f1c5203149140d6768845317e9b6e449d4e2271838c4d10b925 |
|
MD5 | 228ac45c12f2c2114a637b95b33fc436 |
|
BLAKE2b-256 | c796eba01688ffa70c96c61b6151f39284eaad534f25e9d236c01649cf2ab577 |