boot2frac - convert Newick support values from integer count to fraction
boot2frac --in $input_fn --out $output_fn --bs $bootstraps
This program takes a Newick tree file and converts positive integer bootstrap values stored in internal node labels to fractional values based on the supplied total bootstrap run.
Path to input file in Newick format
Path to output file in Newick format. An error will be thrown if the output exists.
The number of bootstraps actually run (i.e. the denominator)
The format in which to write support values (either 'decimal', e.g. '0.658', or 'percent', e.g. '65.8') (default: decimal)
The number of decimal places to use in writing support values. Note that this is calculated before conversion to percent, so it is more like a quasi-significant digits format (default: 4)
Display this usage page
Print version information
Please submit bug reports to the issue tracker in the distribution repository.
Jeremy Volkening (jeremy.volkening@base2bio.com)
Copyright 2014-23 Jeremy Volkening
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.