/
Depends on
- bcftools (bcftools)
- cython (cython3)
- dh-python (dh-sequence-python3)
- htslib (libhts-dev, tabix)
- pytest (python3-pytest)
- python3-defaults (python3-all-dev)
- setuptools (python3-setuptools)
- zlib (zlib1g-dev)
- debhelper-compat, samtools
Used by
README (full)
Pysam
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.
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 bioconda conda config --add channels conda-forge conda config --set channel_priority strict conda install pysam
Installation through bioconda is the recommended way to install pysam as it resolves non-python dependencies and uses pre-configured compilation options. Especially for OS X this will potentially save a lot of trouble.
The current version of pysam wraps 3rd-party code from htslib-1.21, samtools-1.21, and bcftools-1.21.
Pysam is available through PyPI. To install, type::
pip install pysam
Pysam documentation is available here
Questions and comments are very welcome and should be sent to the pysam user group
:alt: build status :scale: 100% :target: https://github.com/pysam-developers/pysam/actions/workflows/ci.yaml
:alt: Documentation Status :scale: 100% :target: https://pysam.readthedocs.org/en/latest/?badge=latest
| dir | bcftools/ |
| dir | debian/ |
| dir | devtools/ |
| dir | doc/ |
| dir | import/ |
| dir | linker_tests/ |
| dir | pysam/ |
| dir | samtools/ |
| dir | tests/ |
| file | AUTHORS |
| file | COPYING |
| file | INSTALL |
| file | MANIFEST.in |
| file | NEWS |
| file | README.rst |
| file | pyproject.toml |
| file | requirements-dev.txt |
| file | setup.cfg |
| file | setup.py |