Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

The helix package facilitates interactions with the genomics platform

Project Description

helix facilitates interactions with the Helix genetics platform.


On Ubuntu 16.04:

$ pip install helix ipython
$ ipython

In [1]: from helix import HelixClient

In [2]: hc = HelixClient(
   ...:     base_urls={
   ...:         'genomics': '',
   ...:         'identity': ''},
   ...:     credentials={
   ...:         'genomics': {
   ...:             'client_id': 'CL-AQ3EJLBNNDE7LJZYVGUOMM4WA5HBOHEL',
   ...:             'client_secret': 'CS-Y5MFWTTZU67LOIEBOWFT2LE7DEI3OPP7'},
   ...:          'identity': {
   ...:              'client_id': 'CL-7ICCDTTMGWK7VHTJIHCPWZZ7EEZBID7Z',
   ...:              'client_secret': 'CS-B7XBHYQLWURKBV3ZXVBGK7SXIZ7JGKTG'}})

In [3]: events_iterator = hc.get_events(after=0)

In [4]: event = next(events_iterator)

In [5]: event
{u'eventType': u'accountUpdate',
 u'sequenceNum': 2,
 u'timestamp': u'2016-08-05T21:08:35Z'}


In [7]: hc.get_customer(pacid)
{u'email': u'',
 u'firstName': u'Test',
 u'lastName': u'User',
 u'supportId': u'US-X3SY-3PD9T'}

In [8]: hc.get_sample_status(pacid)[:3]
[{u'status': u'Data Delivery Complete', u'timestamp': u'2016-11-16T18:21:13Z'},
 {u'status': u'Data Delivery Complete', u'timestamp': u'2016-11-16T18:17:52Z'},
 {u'status': u'Data Delivery Complete', u'timestamp': u'2016-11-16T01:49:23Z'}]

In [9]: hc.get_variants(pacid)[:2]

Developer quick start

hg clone
cd helix
make devready
source venv/bin/activate

Makefile Commands

$ make
  help -- display this help message
  venv: make a Python 3 virtual environment
  setup: setup/upgrade packages *in current environment*
  devready: create venv, install prerequisites, install pkg in develop mode
  develop: install package in develop mode
  install: install package
  bdist bdist_egg bdist_wheel build sdist: distribution options
  upload: upload to pypi
  upload_*: upload to named pypi service (requires config in ~/.pypirc)
  test: execute tests
  tox: execute tests via tox
  reformat: reformat code with yapf and commit
  docs -- make sphinx docs
  clean: remove temporary and backup files
  cleaner: remove files and directories that are easily rebuilt
  cleaner: remove files and directories that require more time/network fetches to rebuild
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
helix-0.1.0-py2.py3-none-any.whl (11.1 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 23, 2016
helix-0.1.0-py3.5.egg (17.0 kB) Copy SHA256 Checksum SHA256 3.5 Egg Dec 23, 2016
helix-0.1.0.tar.gz (70.7 kB) Copy SHA256 Checksum SHA256 Source Dec 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting