Closed scottgigante closed 6 years ago
Hey Scott!
Thanks for taking the time to work with PROSSTT! I hope it can be useful for you!
Onto the issue: PROSSTT expects the topology input to be in terms of branches: "(A,B)C;"
describes a single bifurcation, with branch A branching off to branches B and C. "(A,B)C;"
. Similarly, in "(B,(D,E,F)C)A;"
branch A splits into branches B and C, and D, E, F sprout from C.
In your example tree, nothing connects A,B and C,D to E. If you want a topology where all of them come out of E then your Newick tree would be "(A,B,C,D)E;"
. However, it seems like you are interested in something where the pairs A,B and C,D are more similar to each other. You can get this by inserting (small) branches between E and the pairs:
"((A:170,B:170)F:10, (C:170,D:170)G:10)E:170;"
Using lengths of 5, 10 and 20 for the vestigial intermediate branches has created satisfactory results on my end. (e.g. see the first 2 components of a diffusion map with 5:)
Clearly for this error to arise there is lack of clarity somewhere; I will amend the documentation to better explain how to utilize the Newick tree input. Thanks again!
Thanks @galicae for the explanation. Sorry to trouble you with my own misunderstanding of newick!
Nah it probably means I did not explain this well enough. I will close the issue when I expand the documentation.
Thanks again!
Addressed in #8 :)
Hi,
Thanks for providing a great tool! I'm trying to generate a tree following your
sample_pseudotime_series.ipynb
and came across the following error.I'm pretty sure my Newick representation is correct as otherwise the
newick
package throws an error. Any ideas as to what I'm doing wrong?Thanks again!