The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

droptip.pl - prunes a list of tips from input tree.

SYNOPSIS

perl droptip.pl

<tree file> <taxa file>

DESCRIPTION

The droptip.pl program prunes the taxa listed in <taxa file> from the tree specified (as a newick tree) in <tree file>. I (RVOSA) needed just such an operation to be performed somewhere in a work flow I was setting up. Using the Bio::Phylo libraries this was trivial, and so now this script is mostly meant to illustrate some of the functionality of the libraries.

OPTIONS AND ARGUMENTS

<tree file>

A text file containing at least one newick formatted tree description (first tree is used).

<taxa file>

A list of taxa to prune from the tree, one taxon name per line.

-h|-help|-?

Print help message and quit.

FILES

The program requires a valid newick-formatted tree file and a file containing taxon names, one name per line.

SEE ALSO

Rutger Vos: http://search.cpan.org/~rvosa