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

This page was last updated on Thursday, 26-Jan-2017 13:03:52 CST

Installation notes for MEGA2 version 4.9.1

Home Page

Prerequisites

Installation

  1. $ ver="4.9.1"
  2. $ cd /programinstallers/
  3. Register and download manually
  4. $ tar -zxvf mega2_v${ver}_src.tar.gz
  5. $ cd mega2_v${ver}_src
  6. $ sudo ./install.sh
    OS linux
    
    Not recompiling mega2. Using mega2_bin/mega2_v4.9.1_linux_ubuntu.16.04.1x
    
    Checking for python
    OK: Found /usr/bin/python
    Checking for gawk/nawk/awk
    OK: Found /usr/bin/gawk
    Checking for perl
    OK: Found /usr/local/bin/perl
    Checking for R
    OK: Found /usr/bin/R
    Checking for nplplot library installed in R
    OK: Found nplplot version 4.5
    Checking for csh
    OK: Found /bin/csh
    
    Enter full path for mega2 and helper scripts to be installed.
    You will need write access.
    [default /usr/local/bin]: 
    Installing  mega2_bin/mega2_v4.9.1_linux_ubuntu.16.04.1x for linux version 16.04.1
    Installed perl script Rsimwalk2.pl in /usr/local/bin
    Installed perl script Rmerlin_regress.pl in /usr/local/bin
    Installed perl script Rallegro.pl in /usr/local/bin
    Installed perl script make_gen_table.pl in /usr/local/bin
    Installed perl script make_hwe_table.pl in /usr/local/bin
    Installed perl script merlin2sw2.pl in /usr/local/bin
    Installed perl script mega2log2html.pl in /usr/local/bin
    Installed l2a.py in /usr/local/bin
    Installed Rmerlin.py in /usr/local/bin
    
    Please remember to also install the 'nplplot' and 'genetics' R packages into R if necessary
    Please consult the Mega2 documentation for details
  7. Cleanup
    $ cd /programinstallers ; rm mega2_v${ver}_src -rf
  8. A redundant copy of the program with the version name included can be removed
    $ ls /usr/local/bin/mega2* ; sudo rm -i /usr/local/bin/mega2_v*_linux