NAME
Bio::Tools::Run::Phylo::Phylip::DrawTree - use Phylip DrawTree program to draw trees
SYNOPSIS
use Bio::Tools::Run::Phylo::Phylip::DrawTree;my $treedraw = Bio::Tools::Run::Phylo::Phylip::DrawTree->new();my $treeimagefile = $drawfact->run($tree);
DESCRIPTION
This is a module for automating drawing of trees through Joe Felsenstein's Phylip suite.
To set parameters with option you need to pass in an array reference or a string, depending on the parameter. For example:
$treedraw->HORIZMARGINS(['2.00','2.5']);$treedraw->ANCESTRALNODES('C');$treedraw->TREESTYLE('PHEN');$treedraw->USEBRANCHLENS('N');
This can be a brittle module as the menus change in PHYLIP. It should support phylip 3.6 but no guarantees.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:
http://redmine.open-bio.org/projects/bioperl/
AUTHOR - Jason Stajich
Email jason-at-bioperl.org
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
program_name
Title : program_nameUsage : $obj->program_name()Function: holds the program nameReturns: stringArgs : None
program_dir
Title : program_dirUsage : $drawfact->program_dir()Function: returns the program directory, obtained from ENV variable.Returns : stringArgs :
new
Title : newUsage : my $obj = Bio::Tools::Run::Phylo::Phylip::DrawTree->new();Function: Builds a new Bio::Tools::Run::Phylo::Phylip::DrawTree objectReturns : an instance of Bio::Tools::Run::Phylo::Phylip::DrawTreeArgs : The available DrawGram parameters
run
Title : runUsage : my $file = $app->run($treefile);Function: Draw a treeReturns : File containing the rendered treeArgs : either a Bio::Tree::TreeIORfilename of a tree in newick format
draw_tree
Title : draw_treeUsage : my $file = $app->draw_tree($treefile);Function: This method is deprecated. Please use run method.Returns : File containing the rendered treeArgs : either a Bio::Tree::TreeIORfilename of a tree in newick format
_run
Title : _runUsage : Internal function, not to be called directlyFunction: makes actual system call to drawgram programExample :Returns : Bio::Tree objectArgs : Name of a file the tree to draw in newick formatand a parameter string to be passed to drawgram
_setinput()
Title : _setinputUsage : Internal function, not to be called directlyFunction: Create input file for drawing programExample :Returns : filename containing tree in newick formatArgs : Bio::Tree::TreeI object
_setparams()
Title : _setparamsUsage : Internal function, not to be called directlyFunction: Create parameter inputs for drawgram programExample :Returns : parameter string to be passed to drawgramArgs : name of calling object
Bio::Tools::Run::Wrapper methods
no_param_checks
Title : no_param_checksUsage : $obj->no_param_checks($newval)Function: Boolean flag as to whether or not we shouldtrust the sanity checks for parameter valuesReturns : value of no_param_checksArgs : newvalue (optional)
save_tempfiles
Title : save_tempfilesUsage : $obj->save_tempfiles($newval)Function:Returns : value of save_tempfilesArgs : newvalue (optional)
outfile_name
Title : outfile_nameUsage : my $outfile = $dragram->outfile_name();Function: Get/Set the name of the output file for this run(if you wanted to do something special)Returns : stringArgs : [optional] string to set value to
tempdir
Title : tempdirUsage : my $tmpdir = $self->tempdir();Function: Retrieve a temporary directory name (which is created)Returns : string which is the name of the temporary directoryArgs : none
cleanup
Title : cleanupUsage : $codeml->cleanup();Function: Will cleanup the tempdir directory after a DrawTree runReturns : noneArgs : none
io
Title : ioUsage : $obj->io($newval)Function: Gets a Bio::Root::IO objectReturns : Bio::Root::IO objectArgs : none
See Bio::Root::IO