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

Python Modules for Next-Generation Sequencing Data Analysis.

Project Description

ngslib current release: ngslib 1.1.19

Wiki page moved to GitHub.

Requirement

  • numpy scientific computation
  • pysam (>0.8.2) SAM/BAM file manipulation
  • argparse (required if Python2.6 is used)

Tested on

  • Python 2.6.* (64-bit)
  • Python 2.7.* (64-bit)
  • CentOS 6.4
  • Fedora 17
  • RedHat 5.5
  • Ubuntu 12.04 (python-dev and libpng-dev are required)

Installation

From PyPI:

>>> pip install ngslib

or

>>> easy_install ngslib

From source:

>>> easy_install --editable  --build-directory . ngslib
>>> cd ngslib
>>> python setup.py install

Major modules

  • IO: Read various biological data
  • DB: Build DB for genomic data for fast query.
  • Pipeline: Pipelines built using wrappers of commonly used tools.
  • Bed: Genomic coordinates data format.
  • BedList: A list of Bed instances.
  • TwoBitFile: python module for retrieve fasta sequence from 2bit file.
  • BigWigFile: python module for retrieve Wiggle region from BigWig file.
  • mFile: uniform interface for input types including regular file, sys.stdin/stdout and StringFile.

Usage

>>> import ngslib
>>> for tbed in ngslib.IO.BioReader('test.bed','bed'):
        print tbed
>>> bwf = ngslib.DB('test.bw','bigwig')
>>> for wig in bwf.fetch('chr1',1000,2000):
        print wig
>>> depth = bwf.pileup('chr1',3000,4000)
>>> bwf.close()

License

This program is released under GPLv3 license, see LICENSE for more detail.

Release History

Release History

This version
History Node

1.1.20

History Node

1.1.19

History Node

1.1.18

History Node

1.1.17

History Node

1.1.15

History Node

1.1.14

History Node

1.1.13

History Node

1.1.12

History Node

1.1.11

History Node

1.1.10

History Node

1.1.9

History Node

1.1.8

History Node

1.1.7

History Node

1.1.6

History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

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
ngslib-1.1.20.tar.gz (1.1 MB) Copy SHA256 Checksum SHA256 Source May 31, 2017

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