Skip to main content

Working with wiggle tracks in Python

Project description

Wiggelen is a Python library for working with wiggle tracks (WIG files). It also provides a command line interface to some of its functionality.

The main goal of Wiggelen is to provide light-weight and unified access to wiggle tracks.

>>> import wiggelen
>>> for x in wiggelen.walk(open('test.wig')):
...     print 'chr%s:%d\t%s' % x
...
chr18:34344  629.0
chr18:34345  649.0
chr18:34446  657.0
chrM:308     520.0
chrM:309     519.0

To install the latest release via PyPI using pip:

pip install wiggelen

Documentation

The latest documentation with user guide and API reference is hosted at Read The Docs.

You can also compile the documentation directly from the source code by running make html from the doc/ subdirectory. This requires Sphinx to be installed.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page