Rutger Vos > Bio-Phylo-0.17_RC6 > droptip.pl

Download:
Bio-Phylo-0.17_RC6.tar.gz

Annotate this POD

CPAN RT

New  1
Open  1
View Bugs
Report a bug
Source  

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