Carrot root and DNA VCRU Bioinformatics USDA ARS Vegetable Crops Research Unit

This page was last updated on Friday, 03-Apr-2015 12:03:35 CDT

Installation notes for cdbfasta/cdbyank version 2010-07-22

Home Page

Prerequisites

See installation notes

Installation

  1. $ cd /programinstallers/
  2. $ wget -N http://downloads.sourceforge.net/project/cdbfasta/cdbfasta.tar.gz
  3. $ tar -zxvf cdbfasta.tar.gz
  4. $ cd cdbfasta
  5. Before running 'make' in the source directory, please take a look at 
    the Makefile and note the following:
    
    * GCLDIR must point to the directory containing the gclib source
      files (should be included in this source package already as a subdirectory)
    * in order to support record compression, change the BASEFLAGS variable
      to have -DENABLE_COMPRESSION=1 instead of -DENABLE_COMPRESSION=0 
      (default is: no compression support)
    * if compression was enabled, ZDIR should point to the directory where the 
      zlib library (libz.a and all the zlib header files like zlib.h) can be found. 
      This is only needed if your system does not have the zlib library installed 
      already (most systems do). In case you get zlib related errors when you try 
      to compile cdbfasta you might have to download zlib and install/build it 
      in a directory that should then be specified as ZDIR in the Makefile
    $ nano Makefile

    ZDIR := /usr/include #../zlib

    -DENABLE_COMPRESSION=1
  6. $ make
    Lots of warnings!
  7. $ mv cdbfasta cdbyank /usr/local/bin/
  8. Cleanup
    $ cd ..
  9. $ rm cdbfasta -rf