Debian Codegraph @

README.rst

raw
1 =====
2 Pysam
3 =====
4
5 |build-status| |docs|
6
7 Pysam is a python module for reading and manipulating files in the
8 SAM/BAM format. The SAM/BAM format is a way to store efficiently large
9 numbers of alignments (`Li 2009`_), such as those routinely created by
10 next-generation sequencing methods.
11
12 Pysam is a lightweight wrapper of the samtools_ C-API. Pysam also
13 includes an interface for tabix_.
14
15 If you are using the conda packaging manager (e.g. miniconda or anaconda),
16 you can install pysam from the `bioconda channel <https://bioconda.github.io/>`_::
17
18 conda config --add channels bioconda
19 conda config --add channels conda-forge
20 conda config --set channel_priority strict
21 conda install pysam
22
23 Installation through bioconda is the recommended way to install pysam
24 as it resolves non-python dependencies and uses pre-configured
25 compilation options. Especially for OS X this will potentially save a
26 lot of trouble.
27
28 The current version of pysam wraps 3rd-party code from htslib-1.21, samtools-1.21, and bcftools-1.21.
29
30 Pysam is available through `PyPI <https://pypi.org/project/pysam/>`_.
31 To install, type::
32
33 pip install pysam
34
35 Pysam documentation is available
36 `here <http://pysam.readthedocs.org/en/latest/>`_
37
38 Questions and comments are very welcome and should be sent to the
39 `pysam user group <http://groups.google.com/group/pysam-user-group>`_
40
41 .. _samtools: http://samtools.sourceforge.net/
42 .. _tabix: http://samtools.sourceforge.net/tabix.shtml
43 .. _Li 2009: http://www.ncbi.nlm.nih.gov/pubmed/19505943
44
45 .. |build-status| image:: https://github.com/pysam-developers/pysam/actions/workflows/ci.yaml/badge.svg
46 :alt: build status
47 :scale: 100%
48 :target: https://github.com/pysam-developers/pysam/actions/workflows/ci.yaml
49
50 .. |docs| image:: https://readthedocs.org/projects/pysam/badge/?version=latest
51 :alt: Documentation Status
52 :scale: 100%
53 :target: https://pysam.readthedocs.org/en/latest/?badge=latest