Tags:
create new tag
,
view all tags
---++ NewickFormat "Newick" or "New Hampshire" format is a string representation of a phylogenetic tree using nested parentheses. It's exported by all major phylogenetic software including PHYLIP, PAML, DART and many more. The format is described, with some napkin-science [[http://www.newicks.com/][history]], on the [[http://evolution.genetics.washington.edu/phylip/newicktree.html][<nop>PHYLIP section of Joe Felsenstein's washington.edu]] site. Here is the grammar for Newick format (from [[http://evolution.genetics.washington.edu/phylip/newick_doc.html][Gary Olsen]]): <pre> Conventions: Items in { } may appear zero or more times. Items in [ ] are optional, they may appear once or not at all. All other punctuation marks (colon, semicolon, parentheses, comma and single quote) are required parts of the format. tree ==> descendant_list [ root_label ] [ : branch_length ] ; descendant_list ==> ( subtree { , subtree } ) subtree ==> descendant_list [internal_node_label] [: branch_length] ==> leaf_label [: branch_length] root_label ==> label internal_node_label ==> label leaf_label ==> label label ==> unquoted_label ==> quoted_label unquoted_label ==> string_of_printing_characters quoted_label ==> ' string_of_printing_characters ' branch_length ==> signed_number ==> unsigned_number Notes: Unquoted labels may not contain blanks, parentheses, square brackets, single_quotes, colons, semicolons, or commas. Underscore characters in unquoted labels are converted to blanks. Single quote characters in a quoted label are represented by two single quotes. Blanks or tabs may appear anywhere except within unquoted labels or branch_lengths. Newlines may appear anywhere except within labels or branch_lengths. Comments are enclosed in square brackets and may appear anywhere newlines are permitted. Other notes: PAUP (David Swofford) allows nesting of comments. TreeAlign (Jotun Hein) writes a root node branch length (with a value of 0.0). PHYLIP (Joseph Felsenstein) requires that an unrooted tree begin with a trifurcation; it will not "uproot" a rooted tree. Example: (((One:0.2,Two:0.3):0.3,(Three:0.5,Four:0.3):0.2):0.3,Five:0.7):0.0; +-+ One +--+ | +--+ Two +--+ | | +----+ Three | +-+ | +--+ Four + +------+ Five </pre> -- Biowiki page created by AlexCoventry - 28 Feb 2005
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r16
<
r15
<
r14
<
r13
<
r12
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r16 - 2007-12-03 -
IanHolmes
Home
Site map
Blog web
Fall07 web
Fall08 web
Fall09 web
Fall10 web
Fall11 web
Fly web
JBrowse web
Main web
orig web
Research web
Sandbox web
TWiki web
orig web
Teaching web
ZaboArt web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register
Copyright © 2008-2013 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
TWiki Appliance
- Powered by
TurnKey Linux