Help for this page

Select Code to Download


  1. or download this
    ...
    my $outfile = '/path/to/file/to/create';
    open my $fh, '>', $outfile or die "Cannot create $outfile, $!\n";
    my $treeout = Bio::TreeIO->new(-format => 'newick', -fh => $fh);
    ...
    
  2. or download this
    ...
    my $outfile = '/path/to/file/to/create';
    my $treeout = Bio::TreeIO->new(-format => 'newick', -file => ">$outfil
    +e");
    ...