TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to draw a number of large phylogenetic tree diagrams in a document and it appears that tikz-qtree may be the best package for this task. A manual approach does not seem the best solution to converting the trees from the Newick tree format generated by phylogenetic software to TikZ code. It would be arduous and error prone to do the conversion manually and I'm hoping that someone has developed an automated conversion. Does anyone here know of such a solution?

share|improve this question

closed as too broad by Joseph Wright Aug 4 '13 at 16:34

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

Can you provide an example of the input you want to use? You don't want to tell people to search for this Newick format thingy. :) – recluze Nov 29 '12 at 13:44
Also please provide a picture of the tree as it is rendered in the Newick software. It might aid in unerstanding the format. – Uwe Ziegenhagen Nov 29 '12 at 14:40
Seems to be this format: en.wikipedia.org/wiki/Newick_format – Alex Nov 29 '12 at 14:51
Alex correctly identified an appropriate reference for the Newick tree format at en.wikipedia.org/wiki/Newick_format. Also, Newick is not software, but rather a text-based format for representing binary trees. It is fairly standard in the biological sciences. Many non-standardized extensions exist, but I'm only concerned with basic and standard implementation here. – Gregory Nov 29 '12 at 15:48
As it stands, this seems to require an entire package writing, which makes it too broad. Could you show us what code you've already got written? – Joseph Wright Aug 4 '13 at 16:35