#!/usr/bin/env perl
use strict;use warnings;use Bio::Phylo::IO qw(parse unparse);
my $tree = Bio::Phylo::IO->parse( '-handle' => \*DATA, '-format' => 'newick', '-keep' => ['64','20','52','47'])->first;
print $tree->to_newick, "\n";
__DATA__(64,(32,((20,18),((33,47),52))));--
You received this message because you are subscribed to the Google Groups "bio-phylo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bio-phylo+...@googlegroups.com.
To post to this group, send email to bio-...@googlegroups.com.
Visit this group at https://groups.google.com/group/bio-phylo.
For more options, visit https://groups.google.com/d/optout.