blib/script/newick2phyloxml.pl untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2  
3 use warnings;
4 use strict;
5  
6 use Data::Dumper;
7 use Carp;
8  
9 use 5.010;
10  
11 use Bio::TreeIO;
12  
13 my $ti = Bio::TreeIO->new(-format => 'newick', -file => 'test.newick');
14  
15 my $tree = $ti->next_tree;
16  
17 my $to = Bio::TreeIO->new(-format => 'phyloxml', -file => '>test.phyloxml');
18  
19 $to->write_tree($tree);