Skip to content

laelbarlow/combine_branch_supports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This script adds bootstrap support values from a bootstrap pseudoreplicate tree file (newick format) to a MrBayes tree (MrBayes nexus format) with posterior probabilities, and outputs the tree with combined support values in newick format.

Instructions

  • Clone the repository.
git clone https://github.com/laelbarlow/combine_branch_supports.git
  • Install the dependencies listed in the YAML file using conda (these include ETE3 and RAxML).
cd combine_branch_supports
mamba env create --file conda envs/boots_on_mb.yaml
  • Ensure that your input trees have the same set of taxon names, and that the taxon names are simple alphanumeric strings (otherwise there may be errors in parsing).

  • Use the script as follows:

python3 boots_on_mb.py <MrBayes consensus tree file NEXUS> <Bootstrap tree file NEWICK> <Output tree file NEWICK>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages