Answers.Body: <p>Depending on the search parameter settings RAxML produces several output files among which you normally find:</p>
  
  <blockquote>
    <p><strong>RAxML_bipartitions.result</strong>: If you used the ­-f b option, this file
    will contain the input tree with confidence values from 0 to 100 drawn
    on its nodes! It is also printed when -f a ­x have been specified, at
    the end of the analysis the program will draw the BS support values on
    the best tree found during the ML search.</p>
    
    <p><strong>RAxML_bipartitionsBranchLabels.result</strong>: Contains the same information
    as the file above, but support values are correctly displayed as
    Newick branch labels and not node labels! Support values always refer
    to branches/splits of trees and never to nodes of the tree. Note that,
    some tree viewers have problems displaying branch labels, they are
    however part of the standard Newick format.</p>
  </blockquote>
  
  <p>from <a href="https://cme.h-its.org/exelixis/resource/download/NewManual.pdf" rel="nofollow noreferrer">https://cme.h-its.org/exelixis/resource/download/NewManual.pdf</a></p>
  
  <p>If you don't find the files in your output directory you did not specify the above parameters. If a rerun is not feasible you could you use the multinewick file RAxML_bootstrap.result with raxml or as input for the program splitstree to generate a consenus tree with different rules (majority rule, strict, etc.). However, these options don't guarantee to generate the topology of the maximum likelihood tree.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-21T01:32:00.770Z
Answers.Text: Thank you very much for your help @bajah, I really appreciate it!
Answers.UserDisplayName: Leah
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-19T10:05:13.327Z
Answers.LastActivityDate: 2019-11-19T10:05:13.327Z
Answers.UserDisplayName: bajah
Answers.Body: <p>Apologies for the delay. The calculation is a majority consensus phylogeny of a maximum likelihood bootstrap, which is superimposed into a maximum likelihood phylogram. That's the tech. speak over ... the command is,</p>
  
  <pre><code>raxmlHPC -f b -m PROTGAMMAILG -n output_bootstrap.tre -t RAxML_bestTree* -z RAxML_bootstrap.result
  </code></pre>
  
  <ul>
  <li>RAxML_bestTree* = your maximum likelihood tree without bootstraps (file is probably 1 line long)</li>
  <li>RAxML_bootstrap.result = your complete list of bootstraps (file is 500 lines long [or the number of bootstraps you set])</li>
  <li>output_bootstap.tre = final result tree,  i.e. majority consensus. This file is one line long but will have with all bootstraps attached to each branch.</li>
  </ul>
  
  <p>The calculation will take less than one minute. The code is C and very slick. Note the "RAxML_bestTree*" is probably better to write the file name in full, not truncated via the glob (*). BTW you must specify the model.</p>
  
  <p><strong>Visualising the tree</strong> You use a Mac ... so the cool tree program is <a href="http://tree.bio.ed.ac.uk/software/figtree/" rel="nofollow noreferrer">figtree</a> . Make sure when you load it you click the branch option and set it to see your bootstraps, otherwise it will not visualise them by default. You might need to re-root the tree, from memory your command specified an outgroup. It might not be the right one though and figtree will easily re-root it for you. Bootstrap values above 75% are considered robust. If you get stuck, can chat but I'm not around until this time next week (bereavement leave and loads of meetings).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-22T01:53:18.373Z
Answers.Text: Thank you very much for the detailed answer @Michael G. I will give it a try and see how it goes. If I get stuck I will let you know to see if we can set up a chat next week.  Again, I appreciate your taking the time to help me out, especially at this time. I am sorry for your loss.
Answers.UserDisplayName: Leah
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-22T16:36:40.020Z
Answers.Text: Hi @leah just let me know, if you have a inquiry about the above please post here, I can answer quickly. If it's an involved explanation chat room is better (end of next week)
Answers.UserDisplayName: M__
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-04T02:10:43.827Z
Answers.Text: I'm sorry for the delay @Michael G. I was finally able to run the command (it is very fast indeed) and I got three output files: RAxML_bipartitions.output_bootstrap.tre, RAxML_bipartitionsBranchLabels.output_bootstrap.tre and RAxML_info.output_bootstrap.tre. I opened the RAxML_bipartitions.output_bootstrap.tre file in FigTree and I got a tree with bootstrap values. However, I couldn't open the RAxML_bipartitionsBranchLabels.output_bootstrap.tre file:  Error reading file: Number format error: For input string: "0.31..21[98]".  What is the difference between these files? Thank you for your help!
Answers.UserDisplayName: Leah
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-05T00:35:21.040Z
Answers.Text: Hi Leah in summary you just need RAxML_bipartitions.output_bootstrap.tre. If you want a detailed answer could you ask this as a separate question please? Alternatively we can chat, but it is the sort of thing that is better as a question, because I'll need to think about how to present the information and it might be useful to others. Its a bit more complicated and theoretical than command line trouble shooting. The question title is something like "interpreting quantitive outputs from maximum likelihood phylogenetic trees" and the information for the question is what you have just asked above
Answers.UserDisplayName: M__
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-06T15:07:36.933Z
Answers.Text: Thanks @Michael G! The question is posted here: https://bioinformatics.stackexchange.com/questions/10948/interpreting-quantitive-outputs-from-maximum-likelihood-phylogenetic-trees
Answers.UserDisplayName: Leah
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-21T02:24:45.583Z
Answers.LastActivityDate: 2019-11-21T03:20:01.510Z
Answers.LastEditDate: 2019-11-21T03:20:01.510Z
Answers.UserDisplayName: M__
Body: <p>I apologize for this very basic question. With @Michael G.'s help, I have been learning how to use RAxML to build a phylogenetic tree (<a href="https://bioinformatics.stackexchange.com/questions/10534/how-to-define-an-outgroup-to-build-a-robust-amino-acid-tree">How to define an outgroup to build a robust amino acid tree</a>) and after running my analysis I obtained several results files. I have both a <em>RAxML_bestTree.result</em> file and a <em>RAxML_bootstrap.result</em> file. How do I "combine" these files so that my tree shows the bootstrap values? </p>
  
  <p>Any help will be greatly appreciated.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-19T20:28:10.220Z
Comments.Text: Brilliant, l'll post answer tomorrow, rather I'll post the code you need. Its really easy, all the code is within RAxML. Sorry for the delay
Comments.UserDisplayName: M__
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-21T01:30:42.800Z
Comments.Text: Thanks a lot @Michael G!
Comments.UserDisplayName: Leah
Tags: <phylogenetics><phylogeny><software-usage>
Title: How to show bootstrap values on a phylogenetic tree constructed with RAxML
ThreadText: # How to show bootstrap values on a phylogenetic tree constructed with RAxML
  
  (Asked by: username_0 on 2019-11-14)
  
  I apologize for this very basic question. With @Michael G.'s help, I have been learning how to use RAxML to build a phylogenetic tree ([How to define an outgroup to build a robust amino acid tree](https://bioinformatics.stackexchange.com/questions/10534/how-to-define-an-outgroup-to-build-a-robust-amino-acid-tree)) and after running my analysis I obtained several results files. I have both a *RAxML\_bestTree.result* file and a *RAxML\_bootstrap.result* file. How do I "combine" these files so that my tree shows the bootstrap values?
  
  Any help will be greatly appreciated.
  
  **Tags:** phylogenetics, phylogeny, software-usage
  
  > **Comments:**
  > **username_1**: Brilliant, l'll post answer tomorrow, rather I'll post the code you need. Its really easy, all the code is within RAxML. Sorry for the delay  
  > **username_0**: Thanks a lot @Michael G!  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-11-21. Score: 3 | Accepted answer
  
  Apologies for the delay. The calculation is a majority consensus phylogeny of a maximum likelihood bootstrap, which is superimposed into a maximum likelihood phylogram. That's the tech. speak over ... the command is,
  
  ```
  raxmlHPC -f b -m PROTGAMMAILG -n output_bootstrap.tre -t RAxML_bestTree* -z RAxML_bootstrap.result
  
  ```
  
  * RAxML\_bestTree\* = your maximum likelihood tree without bootstraps (file is probably 1 line long)
  * RAxML\_bootstrap.result = your complete list of bootstraps (file is 500 lines long [or the number of bootstraps you set])
  * output\_bootstap.tre = final result tree, i.e. majority consensus. This file is one line long but will have with all bootstraps attached to each branch.
  
  The calculation will take less than one minute. The code is C and very slick. Note the "RAxML\_bestTree\*" is probably better to write the file name in full, not truncated via the glob (\*). BTW you must specify the model.
  
  **Visualising the tree** You use a Mac ... so the cool tree program is [figtree](http://tree.bio.ed.ac.uk/software/figtree/) . Make sure when you load it you click the branch option and set it to see your bootstraps, otherwise it will not visualise them by default. You might need to re-root the tree, from memory your command specified an outgroup. It might not be the right one though and figtree will easily re-root it for you. Bootstrap values above 75% are considered robust. If you get stuck, can chat but I'm not around until this time next week (bereavement leave and loads of meetings).
  
  > **Comments:**
  > **username_0**: Thank you very much for the detailed answer @Michael G. I will give it a try and see how it goes. If I get stuck I will let you know to see if we can set up a chat next week.  Again, I appreciate your taking the time to help me out, especially at this time. I am sorry for your loss.  
  > **username_1**: Hi @username_0 just let me know, if you have a inquiry about the above please post here, I can answer quickly. If it's an involved explanation chat room is better (end of next week)  
  > **username_0**: I'm sorry for the delay @Michael G. I was finally able to run the command (it is very fast indeed) and I got three output files: RAxML_bipartitions.output_bootstrap.tre, RAxML_bipartitionsBranchLabels.output_bootstrap.tre and RAxML_info.output_bootstrap.tre. I opened the RAxML_bipartitions.output_bootstrap.tre file in FigTree and I got a tree with bootstrap values. However, I couldn't open the RAxML_bipartitionsBranchLabels.output_bootstrap.tre file:  Error reading file: Number format error: For input string: "0.31..21[98]".  What is the difference between these files? Thank you for your help!  
  > **username_1**: Hi username_0 in summary you just need RAxML_bipartitions.output_bootstrap.tre. If you want a detailed answer could you ask this as a separate question please? Alternatively we can chat, but it is the sort of thing that is better as a question, because I'll need to think about how to present the information and it might be useful to others. Its a bit more complicated and theoretical than command line trouble shooting. The question title is something like "interpreting quantitive outputs from maximum likelihood phylogenetic trees" and the information for the question is what you have just asked above  
  > **username_0**: Thanks @Michael G! The question is posted here: https://bioinformatics.stackexchange.com/questions/10948/interpreting-quantitive-outputs-from-maximum-likelihood-phylogenetic-trees  
  
  ---
  
  ### Answer by username_2 on 2019-11-19. Score: 2
  
  Depending on the search parameter settings RAxML produces several output files among which you normally find:
  
  > **RAxML\_bipartitions.result**: If you used the ­-f b option, this file
  > will contain the input tree with confidence values from 0 to 100 drawn
  > on its nodes! It is also printed when -f a ­x have been specified, at
  > the end of the analysis the program will draw the BS support values on
  > the best tree found during the ML search.
  >
  > **RAxML\_bipartitionsBranchLabels.result**: Contains the same information
  > as the file above, but support values are correctly displayed as
  > Newick branch labels and not node labels! Support values always refer
  > to branches/splits of trees and never to nodes of the tree. Note that,
  > some tree viewers have problems displaying branch labels, they are
  > however part of the standard Newick format.
  
  from <https://cme.h-its.org/exelixis/resource/download/NewManual.pdf>
  
  If you don't find the files in your output directory you did not specify the above parameters. If a rerun is not feasible you could you use the multinewick file RAxML\_bootstrap.result with raxml or as input for the program splitstree to generate a consenus tree with different rules (majority rule, strict, etc.). However, these options don't guarantee to generate the topology of the maximum likelihood tree.
  
  > **Comments:**
  > **username_0**: Thank you very much for your help @username_2, I really appreciate it!  
  
  ---
  
  