HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> Tree import & Node specification ?
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1300469545

Message started by Jamie on Mar 18th, 2011 at 10:32am

Title: Tree import & Node specification ?
Post by Jamie on Mar 18th, 2011 at 10:32am
Sergei,

I am trying to run SubtreeSelectionComparison.bf and specify an internal node as the 'subtree'.  I've run into a behavior in HYPHY that I can't understand or work-around.  Consider the following tree:

( ib,  ((((ch,dm),(sr,hw)),ht),er) , ((bu,((me,(hl,is)),do)),ao) );

I want to specify the subtree ((((ch,dm),(sr,hw)),ht),er) as the focal clade. in SSC.bf

When I open the treefile directly in HYPHY using 'open tree' it seems to read it correctly as an unrooted tree (left of figure).  But when opened via the SSC.bf it forces a very unhelpful rooting/ordering of taxa (right of figure) making it impossible to specify my desired subtree.  

Why is it forcing this weird rooting and what can I do to make it read the file in a more useful way?  Am I doing something wrong with the input somehow?

Thanks, Jamie

problem_trees.png
problem_trees.png (24 KB | )

Title: Re: Tree import & Node specification ?
Post by Art Poon on Mar 18th, 2011 at 11:41am

I suspect the DO_TREE_REBALANCE flag is the culprit.
It is being set to 0 prior to calling the qndhelper1.ibf script, but in that script it is set back to 1.

Cheers,
- Art.


Title: Re: Tree import & Node specification ?
Post by Jamie on Mar 19th, 2011 at 7:47am
Yes, that does seem to make all the difference.  Thank you very much!

Jamie

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.