nh13 / pysam

Pysam is a Python module for reading and manipulating SAM/BAM/VCF/BCF files. It's a lightweight wrapper of the htslib C-API, the same one that powers samtools, bcftools, and tabix.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pysam

build status Documentation Status

Pysam is a python module for reading and manipulating files in the SAM/BAM format. The SAM/BAM format is a way to store efficiently large numbers of alignments (Li 2009), such as those routinely created by next-generation sequencing methods.

Pysam is a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix.

The latest version is available through pypi. To install, simply type:

pip install pysam

If you are using the conda packaging manager (e.g. miniconda or anaconda), you can install pysam from the bioconda channel:

conda config --add channels r

conda config --add channels bioconda

conda install pysam

Pysam documentation is available through https://readthedocs.org/ from here

Questions and comments are very welcome and should be sent to the pysam user group

About

Pysam is a Python module for reading and manipulating SAM/BAM/VCF/BCF files. It's a lightweight wrapper of the htslib C-API, the same one that powers samtools, bcftools, and tabix.

License:MIT License


Languages

Language:C 84.6%Language:Python 13.7%Language:Makefile 0.5%Language:C++ 0.4%Language:Roff 0.3%Language:Objective-C 0.2%Language:M4 0.2%Language:Shell 0.2%Language:Perl 0.0%