File: INSTALL

package info (click to toggle)
python-pysam 0.10.0+ds-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,196 kB
  • ctags: 10,087
  • sloc: ansic: 79,627; python: 8,569; sh: 282; makefile: 215; perl: 41
file content (57 lines) | stat: -rw-r--r-- 1,419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
System Requirements
===================

SAMtools depends on the zlib library <http://www.zlib.net>. The latest
version 1.2.3 is preferred and with the latest version you can compile
razip and use it to compress a FASTA file. SAMtools' faidx is able to
index a razip-compressed FASTA file to save diskspace. Older zlib also
works with SAMtools, but razip cannot be compiled.

The text-based viewer (tview) requires the GNU ncurses library
<http://www.gnu.org/software/ncurses/>, which comes with Mac OS X and
most of the modern Linux/Unix distributions. If you do not have this
library installed, you can still compile the rest of SAMtools by
manually modifying one line in Makefile.

curl

Pysam requires Python (2.7 or greater) and Cython (0.22 or greater).
It has not been tested on many other platforms.

Windows support does not work yet.

Compilation
===========

Unpack the distribution and enter the pysam directory. Type 

python setup.py build

to compile.

Installation
============

Type 

   python setup.py install

to install it within the site-packages directory of your python
distribution. Type

   python setup.py install --help 

for more options.

Build the documentation
=======================

Install a version of Sphinx that matches your Python version (2 or 3) and run

    python setup.py build_sphinx

or

    python3 setup.py build_sphinx

The documentation will be put into build/sphinx.