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

This page was last updated on Wednesday, 10-Dec-2014 10:15:57 CST

Installation notes for TreeGraph version 1.0

Home Page

Prerequisites

None

Installation

  1. $ ver="10"
  2. $ cd /programinstallers/
  3. I had to download manually from the web page, saved treegraph.tar.gz and docu.pdf
  4. $ tar -zxvf treegraph.tar.gz
  5. $ cd tgf${ver}final/source
  6. To allow a system install for all users, I modified line 62 of tgf-main.cc and hard-coded a global fonts.txt path
    $ nano tgf-main.cc
            //    	theFontPath=string(heimat)+"/.treegraph/fonts.txt";
                    theFontPath="/usr/local/bin/tgf.fonts.txt";
  7. $ make
  8. Manual install for all users
    $ cp -puv tgf /usr/local/bin/
  9. $ cp -puv fonts.txt /usr/local/bin/tgf.fonts.txt
  10. $ cd ..
  11. Move documentation to local web page
    $ mv docu.pdf ../web/programs/treegraph/
  12. Copy sample files to local web page
    $ cp -puvr SampleFiles ../web/programs/treegraph/
  13. Cleanup
    $ cd .. ; rm tgf${ver}final -rf