Skip to content
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

Error newick tree: Too few right brackets #34

Closed
garmonan opened this issue May 3, 2016 · 2 comments
Closed

Error newick tree: Too few right brackets #34

garmonan opened this issue May 3, 2016 · 2 comments

Comments

@garmonan
Copy link

garmonan commented May 3, 2016

Hi Xavier,

I'm having problems to run ClonalFrameML ( v1.0-19-g9488a80) on my data...

I generated the alignment file with mauve, so I'm using the .xmfa file as an input by adding the option "-xmfa_file true". The tree file looks like this: (sample1,((sample2,sample3),sample4));. The names in the headers of the alignment file match the ones in the tree. After executing the command, I get the following error message:

ERROR: Token: sample1,((sample2,sample3
Too few right brackets

I've followed different advises found along the comments here but nothing seems to work: I'm using the core alignment, there are no white spaces after the ">", I converted the end lines, I also tried to work with a concat fasta file... What else can I do? I'm running out of ideas...

Thanks for you help!

/Andrea

@xavierdidelot
Copy link
Owner

Hi Andrea,

Your input tree needs to have branch lengths included, so should look like this:
(sample1:0.001,((sample2:0.001,sample3:0.002):0.001,sample4):0.002);

ClonalFrameML will correct these branch lengths so they do not have to be very accurate, but they have to be there anyway.

Best wishes,
Xavier

@garmonan
Copy link
Author

garmonan commented May 3, 2016

Great, it worked! I had tried it before but maybe I still needed more adjustments at some other point...

Thanks a lot!!!

Andrea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants