annotate PsiCLASS-1.0.2/samtools-0.1.19/INSTALL @ 0:903fc43d6227 draft default tip

Uploaded
author lsong10
date Fri, 26 Mar 2021 16:52:45 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
1 System Requirements
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
2 ===================
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
3
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
4 SAMtools depends on the zlib library <http://www.zlib.net>. Version 1.2.3+ is
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
5 preferred and with 1.2.3+ you can compile razip and use it to compress a FASTA
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
6 file. SAMtools' faidx is able to index a razip-compressed FASTA file to save
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
7 diskspace. Older zlib also works with SAMtools, but razip cannot be compiled.
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
8
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
9 The text-based viewer (tview) requires the GNU ncurses library
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
10 <http://www.gnu.org/software/ncurses/>, which comes with Mac OS X and most of
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
11 the modern Linux/Unix distributions. If you do not have this library installed,
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
12 you can still compile the rest of SAMtools by manually changing:
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
13 `-D_CURSES_LIB=1' to `-D_CURSES_LIB=0' at the line starting with `DFLAGS=', and
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
14 comment out the line starting with `LIBCURSES='.
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
15
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
16
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
17 Compilation
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
18 ===========
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
19
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
20 Type `make' to compile samtools. If you have zlib >= 1.2.2.1, you can compile
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
21 razip with `make razip'.
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
22
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
23
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
24 Installation
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
25 ============
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
26
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
27 Copy `samtools', `bcftools/bcftools' and other executables/scripts in `misc' to
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
28 a location you want (e.g. a directory in your $PATH). You may also copy
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
29 `samtools.1' and `bcftools/bcftools.1' to a directory in your $MANPATH such
903fc43d6227 Uploaded
lsong10
parents:
diff changeset
30 that the `man' command may find the manual.