Next: Creating Structure Plots, Previous: Description, Up: Top
Genesis
Genesis
The latest code can be found at http://www.bioinf.wits.ac.za/software/genesis
Genesis
does not special installation and the file can simply be
executed using Java. It does, however, require the Java SE Runtime
Environment 1.7 or higher to be installed on the user's system.
The latest version of the Java SE Runtime Environment 1.7 can be found at:
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
To check if you already have Java installed, you can open your Operating System's command line interface and enter
java -version
If Java is installed, one line of the response should read
Java(TM) SE Runtime Environment (build 1.x.0_*)
where x is the version number (and should be 7 or higher) and the *
is not important.
Alternatively, Windows users can open Control Panel and then open Add/Remove Programs
and check the list for Java SE Runtime Environment (in windows XP and earlier) or open Programs
then Programs and Features
and if Java
x is in the list, then Java is installed where x is the version number (in Windows Vista, 7 or 8).
Mac OSX requires X11 to be installed. This can be downloaded from http://xquartz.macosforge.org/landing/.
Genesis
is compatible with the 32 and 64 bit varieties of
Windows, Mac OSX and Linux.
If you are using a version of Java other than Oracle's, you may need to install the SWT libraries separately. On Ubuntu, installing openjdk, the following should work
apt-get install jre-default OR (but NOT both) apt-get install libswt-gtk-3-java openjdk-7-jre-headless
Genesis
Windows and Linux If the Java SE Runtime Environment 1.7 is installed, the user should be able to open Genesis
by double-clicking the file. If this does not work, the user will have to launch the jar manually through a command line editor (cmd in windows or terminal in linux) using the following command.
java -jar Genesis.jar
For Linux and MacOSX the recommended configuration is to unzip,
cd
into the genesis-distrib directory and then say
sudo mv Genesis.jar misc/genesis /usr/local/bin sudo chmod a+x /usr/local/bin/genesis
and then, the program can be run by executing the command genesis
OS X: Ensure that the Java SE Runtime Environment 1.7 is installed. In OSX, the user must launch the file through the command line with an extra argument as follows
java -XstartOnFirstThread -jar Genesis.jar
Wrapper script A simple wrapper script genesis
is provided to
aid the use of the program which works for Linux or MacOS
X. Installation of the JAR and wrapper can be done by running
install.sh
. By default, the script installs into
/usr/local/bin
. If you want it elsewhere, specify the directory
name, e.g ./install.sh /Users/scott/bin
. You may need sudo
privileges.
Memory usage: If you are building up very complex charts (e.g, in a large study doing admixture charts for 6 or 7 values of K on the same Genesis chart), you may require extra memory when running Genesis.
java -Xmx2048m -Xms521m -jar Genesis.jar
For structure charts, Genesis
supports the output of the
admixture
and CLUMPP
programs. In addition, we provide a
python script that will convert the output of the structure
program into the appropriate input format. See See Creating Structure Plots.
For PCA charts, Genesis
supports the output of the
eigenstrat
and plink
programs and the SNPRelate R package. In addition, we
provide Python scripts that will convert the output of the
fastpca
program into the appropriate
format. See See Creating PCA Plots.
We shall try to add to the suite of conversion scripts, but we intend
that future versions of Genesis
will automatically detect the
correct input format and deal appropriately.
When Genesis
runs, a menu appears at the top. The menu items are
File, Graph and Help. File allows creation
and saving of graphs, and exporting image files. Graph allows
changing data and appearance options. The manual is available under help.
For added usability the icons with the key menu features apper at the top of the Genesis window. If the cursor is placed over the icon, a brief description of the menu item is given. The menu items are briefly described below and the functions are described in detail in next sections.
From left to right, the menu items are: