Debian Codegraph @

doc/index.rst

raw
1 pysam: htslib interface for python
2 ==================================
3
4 :Author: Andreas Heger, John Marshall, Kevin Jacobs, and contributors
5 :Date: |today|
6 :Version: |version|
7
8 Pysam is a python module for reading, manipulating and writing
9 genomic data sets.
10
11 Pysam is a wrapper of the htslib_ C-API and provides facilities to
12 read and write SAM/BAM/VCF/BCF/BED/GFF/GTF/FASTA/FASTQ files as well
13 as access to the command line functionality of the samtools_ and
14 bcftools_ packages. The module supports compression and random access
15 through indexing.
16
17 This module provides a low-level wrapper around the htslib_ C-API as
18 using cython and a high-level, pythonic API for convenient access to
19 the data within genomic file formats.
20
21 The current version wraps *htslib-1.21*, *samtools-1.21*, and *bcftools-1.21*.
22
23 To install the latest release, type::
24
25 pip install pysam
26
27 See the :ref:`Installation notes <installation>` for details.
28
29 This module is unrelated to NREL-PySAM_, which wraps the National Renewable
30 Energy Laboratory's System Advisor Model.
31
32 .. _NREL-PySAM: https://nrel-pysam.readthedocs.io/
33
34 Contents
35 --------
36
37 .. toctree::
38 :maxdepth: 2
39
40 api.rst
41 usage.rst
42 installation.rst
43 faq.rst
44 developer.rst
45 release.rst
46 benchmarking.rst
47 glossary.rst
48
49 Indices and tables
50 ------------------
51
52 Contents:
53
54 * :ref:`genindex`
55 * :ref:`modindex`
56 * :ref:`search`
57
58 References
59 ----------
60
61 .. [Li.2009] *The Sequence Alignment/Map format and SAMtools.*
62 Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup.
63 Bioinformatics. 2009 Aug 15;25(16):2078-9.
64 Epub 2009 Jun 8 `btp352 <https://doi.org/10.1093/bioinformatics/btp352>`_.
65 PMID: `19505943 <https://pubmed.ncbi.nlm.nih.gov/19505943>`_.
66
67 .. [Bonfield.2021] *HTSlib: C library for reading/writing high-throughput sequencing data.*
68 Bonfield JK, Marshall J, Danecek P, Li H, Ohan V, Whitwham A, Keane T, Davies RM.
69 GigaScience (2021) 10(2) `giab007 <https://doi.org/10.1093/gigascience/giab007>`_.
70 PMID: `33594436 <https://pubmed.ncbi.nlm.nih.gov/33594436>`_.
71
72 .. [Danecek.2021] *Twelve years of SAMtools and BCFtools.*
73 Danecek P, Bonfield JK, Liddle J, Marshall J, Ohan V, Pollard MO, Whitwham A, Keane T, McCarthy SA, Davies RM, Li H.
74 GigaScience (2021) 10(2) `giab008 <https://doi.org/10.1093/gigascience/giab008>`_.
75 PMID: `33590861 <https://pubmed.ncbi.nlm.nih.gov/33590861>`_.
76
77 .. seealso::
78
79 Information about htslib
80 http://www.htslib.org
81
82 The samtools homepage
83 http://samtools.sourceforge.net
84
85 The cython C-extensions for python
86 https://cython.org/
87
88 The python language
89 https://www.python.org