MEGA

MEGA is a phylogenetic analysis package for use with protein and DNA sequences.

Currently, the software package is part of the bioinformatics Singularity container.

UFS HPC Usage Example

Follow these steps to start working with MEGA:

  1. Before creating a qwiz or qvnc session, make sure that you have the bioinformatics container loaded as module:

    $ module list
    

    You should see the bioinformatics container listed as in the example below:

    mega_1

  2. If the bioinformatics module is not loaded, load the current version of the container by issuing this command in the Terminal:

    $ module load bioinformatics
    
  3. Next, start a qwiz or qvnc session.

  4. At this stage you may execute the GUI for MEGA by navigating to Activities > Show Applications > MEGA. See the below screen shots on how to navigate to and launch MEGA:

    mega_2



    mega_3



    mega_4



  5. You should now be greeted with the MEGA GUI:

    mega_5

Please be aware that currently a bug in MEGA is causing the application to crash when doing an analysis run. This error is a bug in the GUI component (A GTK error). Note that this bug only affects the newest version of MEGA (Users using the old version through Wine doesn't need to worry about this error)

Thus, the current way to use MEGA is to setup the analysis in the GUI, save a .mao which can then be used to run the analysis using the command-line interface MEGA-CC. Note that you may do this setup process on your own computer and copy the saved .mao file over to the UFS HPC cluster (see this guide on how to copy files to the UFS HPC). The analysis can then be run with MEGA-CC. However, the following example shows how to do everything inside the VNC session:

  1. In the MEGA main window, click on the Prototype button in the bottom right-hand corner:

    mega_6

  2. Select the DataType of the sequences to be used in the analysis. In this example Nucleotide (non-coding) is selected. Click on the OK button to continue:

    mega_7

  3. Next you can select the analysis you wish to perform. In this case select Phylogeny > Construct/Test Neighbor-Joining Tree:

    mega_8

  4. Now edit the options for the analysis. In this case, the defaults are selected. Click on Save Settings:

    mega_9

  5. The .mao file can now be saved:

    mega_10

  6. You may now close the GUI window. Open a Terminal window and enter the following command, supplying the .mao file with the -a command-line option:

    $ megacc  -a infer_NJ_nucleotide.mao -d Drosophila_Adh.meg -o demo
    
  7. To learn more about the MEGA-CC command-line options, issue the following command:

    $ megacc -h
    

Performance Notes

No performance notes available

No recommended resources available

Benchmarks

No benchmarks available.

UFS HPC Community Guides and Tutorials

  • No community guides available.

Official site and documentation

Licensing Information

Primary citation

Kumar, S., Stecher, G., Li, M., Knyaz, C., & Tamura, K. (2018). MEGA X: molecular evolutionary genetics analysis across computing platforms. Molecular biology and evolution, 35(6), 1547.

Please remember to cite any additional methods used.

External Guides and Resources