text: user5182: I'm trying to figure out how I would plot a tree with number of segregating sites on display on the branches
  I'm using acctran from phangorn to plot a parsimony tree (using phydat object from fasta files)
  I have been trying to use seg.sites from the ape package to somehow merge these objects together but there has to be some easy way to plot a tree with the information that it was made from
  
  user3848: The segregating sites in parsimony are formally called steps. Any number of programs will do this but I don't really use R, particularly for phylogeny, You can of course simply look at the raw treefile, all the data is there (described in the last paragraph). If look at the options for genetic distance, in parsimony this will be an integer and again the technical name is steps and is the segreating sites you want.
  Python's ETE3 package will work (but you'd need to pipe it through Biopython), as well as specific standalone packages Figtree, the steps or 'genetic distance' on the branches on the branches option is in the check box. The heavy weight program for tracking step associated phylogeny using parsimony is Mesquite and its famous grandparent is called MacClade.
  I suspect its a nomenclature thing, the options probably talk about genetic distance because few people do parsimony phylogeny now. Thats the option you want  and you will know because it will be >>1, whilst distance and model-based methods will be between 0 to 1. From a tree viewing it doesn't matter if the genetic distance is 0 to 1 or 1 and beyond because its all proportional. Its just an option thing you are missing. Thus if there is an option, e.g. to include bootstrap support on the tree, there'll be an option for genetic distance.
  Just make sure you don't confuse the number of steps per branch with a consensus statistic, because there're completely different but might give similar looking outputs. Again its easily checked against the raw treefile because the "steps" will be immediately adajacent to the taxa name for the "twigs" (terminal branches) in the tree.
  
original_text: 5182: <p>I'm trying to figure out how I would plot a tree with number of segregating sites on display on the branches</p>
  <p>I'm using acctran from phangorn to plot a parsimony tree (using phydat object from fasta files)</p>
  <p>I have been trying to use seg.sites from the ape package to somehow merge these objects together but there has to be some easy way to plot a tree with the information that it was made from</p>
   3848: <p>The <em>segregating sites</em> in parsimony are formally called <em>steps</em>. Any number of programs will do this but I don't really use R, particularly for phylogeny, You can of course simply look at the raw treefile, all the data is there (described in the last paragraph). If look at the options for <em>genetic distance</em>, in parsimony this will be an integer and again the technical name is <em>steps</em> and is the <em>segreating sites</em> you want.</p>
  <p>Python's <code>ETE3</code> package will work (but you'd need to pipe it through Biopython), as well as specific standalone packages <code>Figtree</code>, the steps or 'genetic distance' on the branches on the branches option is in the check box. The heavy weight program for tracking step associated phylogeny using parsimony is <code>Mesquite</code> and its famous grandparent is called <code>MacClade</code>.</p>
  <p>I suspect its a nomenclature thing, the options probably talk about <em>genetic distance</em> because few people do parsimony phylogeny now. Thats the option you want  and you will know because it will be &gt;&gt;1, whilst distance and model-based methods will be between 0 to 1. From a tree viewing it doesn't matter if the genetic distance is 0 to 1 or 1 and beyond because its all proportional. Its just an option thing you are missing. Thus if there is an option, e.g. to include <em>bootstrap support</em> on the tree, there'll be an option for <em>genetic distance</em>.</p>
  <p>Just make sure you don't confuse the number of steps per branch with a consensus statistic, because there're completely different but might give similar looking outputs. Again its easily checked against the raw treefile because the &quot;steps&quot; will be immediately adajacent to the taxa name for the &quot;twigs&quot; (terminal branches) in the tree.</p>
  