-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto-check for binary tree #37
Comments
We could add this to:
Any thoughts from others on the path forward here? |
I agree with the separate analysis idea outside of tree reading. It does let us start to re-use analyses more than having each easy mode app with its own analysis infrastructure. There will be cases where we want to be able to preserve polytomies (more than 2 children) for some phylogenetic analyses, so this is why I don’t want to force all trees to binary. I also prefer doing polygamy analysis at the “Upper Arbor” (UI & romanesco) level, instead of adding too much easy-mode specific logic into aRbor.
|
I agree with Curt - make it a little mini-step. And I think there are some advantages to allowing easy-mode to run whole workflows! Maybe it already can. Curt good luck with your polygamy analyses! On Mar 2, 2015, at 6:31 AM, Jeffrey Baumes <[email protected]mailto:[email protected]> wrote: I agree with the separate analysis idea outside of tree reading. It does let us start to re-use analyses more than having each easy mode app with its own analysis infrastructure. There will be cases where we want to be able to preserve polytomies (more than 2 children) for some phylogenetic analyses, so this is why I don’t want to force all trees to binary. I also prefer doing polygamy analysis at the “Upper Arbor” (UI & romanesco) level, instead of adding too much easy-mode specific logic into aRbor.
— |
We don't need for force this for all analyses, but I do think for the On Mon, Mar 2, 2015 at 10:27 AM, Luke Harmon [email protected]
Robert W. Thacker, PhD |
The current easy mode architecture could be easily retargeted to run a two step workflow, which forces the binary tree then runs ancestral states / phylosignal. I vote this is the best thing to do in the short-term. All we do is make a workflow through advanced mode and change the easy mode code to call the workflow instead of directly calling the second step alone. On Mar 2, 2015, at 11:31 AM, bobthacker [email protected] wrote:
|
Indeed @curtislisle, easy mode should be able to handle running a workflow. In OO terms, a workflow "is a" analysis and is referenced the same way, so no additional logic is needed in the easy mode apps. |
the most common manipulation I need to do to get aRbor to read a tree is to make the tree binary.
Can we add a check when we read trees into any easy mode app:
is.binary.tree(phy) - if it returns FALSE, then do
phy<-multi2di(phy)
check again
is.binary.tree(phy) - if it returns TRUE, continue; if FALSE, need to print an error that Arbor could not generate a binary tree.
The text was updated successfully, but these errors were encountered: