Project: pysam

Package for reading, manipulating, and writing genomic data

Project Details

Latest version
0.22.0
Home Page
https://github.com/pysam-developers/pysam
PyPI Page
https://pypi.org/project/pysam/

Project Popularity

PageRank
0.00247632394677535
Number of downloads
302706

pysam --- a Python package for reading, manipulating, and writing genomic data sets.

pysam is a lightweight wrapper of the HTSlib API and provides facilities to read and write SAM/BAM/CRAM/VCF/BCF/BED/GFF/GTF/FASTA/FASTQ files as well as access to the command-line functionality of samtools and bcftools. The module supports compression and random access through indexing.

This module provides a low-level wrapper around HTSlib's C API using Cython and a high-level API for convenient access to the data within standard genomic file formats.