https://github.com/pysam-developers/pysam
Revision d199a155d5dc3888e23b7845a48f0d7bd51580bd authored by andreas@fgu210.anat.ox.ac.uk on 22 January 2010, 10:00:38 UTC, committed by andreas@fgu210.anat.ox.ac.uk on 22 January 2010, 10:00:38 UTC
1 parent 4be7954
Raw File
Tip revision: d199a155d5dc3888e23b7845a48f0d7bd51580bd authored by andreas@fgu210.anat.ox.ac.uk on 22 January 2010, 10:00:38 UTC
bugfix - compilation issues due to macros and orphan function definitions
Tip revision: d199a15
INSTALL
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.

Pysam requires pyrex (0.9.8 or greater) and python (2.6 or greater).
It has not been tested on many other platforms.

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.
back to top