Talk:Newick format

Leaf Names

Is it mandatory for the leaves to have names in Newick format? The example list includes a tree with no node names at all, but this seems to violate the grammar given below it. (Unless the terminal "name" can also be an empty string.) 2001:DF0:0:2006:1A03:73FF:FEDC:2A06 (talk) —Preceding undated comment added 04:35, 18 October 2012 (UTC)[reply]

Yes, the terminal Name can also be empty.—Quantling (talk | contribs) 21:21, 21 October 2012 (UTC)[reply]

Branch Length Units

The branch lengths supplied in Newick format, what are their units? Vegar Ottesen 14:23, 19 November 2013 (UTC)[reply]

It is not specified. I have seen years (or megayears, etc.). I have seen the number of mutations a position of junk DNA will have undergone on average. Perhaps there are other possibilities. —Quantling (talk | contribs) 17:09, 9 April 2025 (UTC)[reply]

dnd extension

I'm wondering if anyone can make a statement on the main page on why it is so common to have a DND extension for Newick trees.--158.111.4.53 (talk) 15:01, 27 June 2014 (UTC)[reply]

Extended Newick

The phylogenetic networks page mentions that there is an extended version of the Newick format for phylogenetic networks. Is it reasonable to add that on this page, or should it get its own page? RemJanssen (talk) 15:29, 18 August 2018 (UTC)[reply]

Branch Length on leaf nodes

If I'm reading the grammar correctly, it allows length on Internal nodes but not on Leaf notes. But this seems incorrect, since leaf nodes can have lengths, and do in several of the examples (e.g. "(A:0.1,B:0.2,(C:0.3,D:0.4):0.5);").

Instead of 'Leaf → Name', should it be 'Leaf → Name Length'? David Ebbo (talk) 21:39, 12 February 2023 (UTC)[reply]

The grammar in http://scikit-bio.org/docs/0.2.2/generated/skbio.io.newick.html appears more correct and does not have this issue. David Ebbo (talk) 21:45, 12 February 2023 (UTC)[reply]
Perhaps the tokens should be renamed to make this clearer? An expression such as "A:0.1" is a branch (that has a length 0.1 and leads to a node that is a leaf named "A"). —Quantling (talk | contribs) 16:28, 13 February 2023 (UTC)[reply]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.