X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=INSTALL;h=f1cf7aa4079ca1302608dd81c59a7882597975ee;hb=7f8bb285b631bd30a116ff5b5495563c7f5438f2;hp=faa3eaf10d66354329abd106c4f27d4230f8756c;hpb=e5f885b4daf412d6f8200d52937fda2339e4f8d5;p=samtools.git diff --git a/INSTALL b/INSTALL index faa3eaf..f1cf7aa 100644 --- a/INSTALL +++ b/INSTALL @@ -1,8 +1,29 @@ -Compiling samtools requires the zlib library ; -compiling the alignment viewer further requires the GNU ncurses library -. - -Please type `./configure; make' to compile samtools. If it fails, try -`make -f Makefile.generic'. If the compilation still fails due to errors -in RAZF or the lack of ncurses, try `make -f Makefile.lite' to disable -the alignment viewer and the RAZF-enhanced FASTA indexer. +System Requirements +=================== + +SAMtools depends on the zlib library . 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 +, 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. + + +Compilation +=========== + +Type `make' to compile samtools. If you have zlib >= 1.2.2.1, you can +compile razip with `make razip'. + + +Installation +============ + +Simply copy `samtools' and other executables/scripts in `misc' to a +location you want (e.g. a directory in your $PATH). No further +configurations are required.