

From the main MEGA window, select Data | Open a File/Session from the launch bar. Now we will select a file to activate using the first method.

You will have to supply a data file before proceeding with the calculation. Select an analysis or computation from MEGAs main menu, then you will prompted to open a data file. You can activate a data file using any of the following methods:įrom the launch bar of the main MEGA window, click Data | Open a File/SessionĬlick File | Open a File/Session from the main menu of the MEGA window. Opening (a ctivating ) a Data File for Analysis If the editor asks you if you would like to save the changes that you have made to the file, click No. Select the File | Exit Editor main menu option from the text editor window. Įxit the text editor before proceeding with data analysis. Experiment with the menu options in the editor. The # directive is used to specify the sequence data.įrom the text editor, you can make changes to the file such as specifying a format. The !Gene directive is used to identify the gene and its properties, up to the next semicolon. The !Description directive indicates the description of the file, up to the next semicolon. The !Title directive indicates the title of the file, up to the semicolon. The #mega directive specifies the format of the file, which is the MEGA format. The other format MEGA accepts for analysis is FASTA.

This file is in the MEGA format which is one of the two formats which MEGA reads for analysis. Notice the OTU (Operational Taxonomic Unit) names and the interleaved sequence data. Select the "Drosophila_Adh.meg" file to open it.Įxamine the "Drosophila_Adh.meg" file. In the window that opens, select File | Open and use the file browser to navigate to the MEGA/Examples directory. To open the text editor, click File | Edit a Text File from the main MEGA menu. If you want to start using MEGA ASAP, you can skip this example.
#Meg file extractor manual
This feature isnt used too often in MEGA, but is useful when you have a file which is corrupted or needs manual editing. In this example, we will open a native MEGA text file and explore its format. Viewing a Data File Using the MEGA Text Editorįrom the main MEGA menu, you can open any text file for viewing and/or editing. If you have a file which needs editing in order to conform to one of the file format standards you can open it up in the Text Editor for manual editing. In order to get the sequences ready for analysis you may have to align them using the Alignment Editor which provides automated and manual alignment facilities. If you are running an analysis on a data file with sequences then you must make sure that the sequences have been aligned prior to analysis (the sequences must be all the same length). In order to perform any kind of calculation/analysis in MEGA you will need to provide a data file. You can directly access the Examples folder by clicking the ∞xamples button on the bottom bar of the main window.
#Meg file extractor for mac
The location for Mac users is $HOME/MEGA/Examples, where $HOME is the users home directory ).
#Meg file extractor windows
All of the data files used in this tutorial can be found in the MEGA/Examples / folder (The default location for Windows users is C:\Program Files\MEGA\Examples. In this tutorial, we will focus on opening and manipulating data files and saving results.
