[Bioperl-l] constructing a tree object

Michael Bradley mebradley at chem.ufl.edu
Fri Jul 29 17:39:08 EDT 2005


Can anyone tell me how to do $treeObj = Bio::TreeIO->new(-file
"somefile", -format 'newick' ) from a variable instead of a file?
 
Suppose that my tree is stored in $treestring. I would like to do
something like : $treeObj = Bio::TreeIO->new(-$treestring, -format
'newick' ) .
 
Thanks, 
 
Mike Bradley 


More information about the Bioperl-l mailing list