Top Qs
Timeline
Chat
Perspective
Nexus file
File format used in bioinformatics From Wikipedia, the free encyclopedia
Remove ads
The extensible NEXUS file format is widely used in phylogenetics, evolutionary biology, and bioinformatics. It stores information about taxa, morphological character states, DNA and protein sequence alignments, distances, and phylogenetic trees.[1] The NEXUS format also allows the storage of data that can facilitate analyses, such as sets of characters or taxa. Many popular phylogenetic programs, including PAUP*,[2] MrBayes,[3] Mesquite,[4] MacClade,[5] and SplitsTree,[6] use this format. Nexus file names typically have the extension .nxs
or .nex
.
Remove ads
Remove ads
Syntax
Summarize
Perspective
A NEXUS file is made out of a fixed header #NEXUS
followed by multiple blocks. Each block starts with BEGIN block_name;
and ends with END;
. The keywords are case-insensitive. Comments are enclosed inside square brackets [...]
.[7] Each of the pre-defined types of blocks may appear only once.
The following example NEXUS uses the TAXA, CHARACTERS, and TREES blocks:
#NEXUS Begin TAXA; Dimensions ntax=4; TaxLabels Alpha Beta Gamma Delta; End; Begin CHARACTERS; Dimensions nchar=15; Format datatype=dna missing=? gap=- matchchar=.; Matrix [ When a position is a "matchchar", it means that it is the same as the first entry at the same position. ] Alpha atgctagctagctcg Beta ......??...-.a. Gamma ...t.......-.g. [ same as atgttagctag-tgg ] Delta ...t.......-.a. ; End; Begin TREES; Tree tree1 = ((Alpha,Beta),Gamma,Delta); END;
Remove ads
See also
References
External links
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads