[Bioperl-l] constructing a tree object

Jason Stajich jason.stajich at duke.edu
Sat Jul 30 02:20:44 EDT 2005


See the FAQ on IO::String and SeqIO same thing applies.

-jason
On Jul 29, 2005, at 2:39 PM, Michael Bradley wrote:

> 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
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
--
Jason Stajich
http://www.duke.edu/~jes12
jason.stajich -at- duke.edu



More information about the Bioperl-l mailing list