3 Jan 2008 15:29
BioPerl and NHX tree
Laurence Amilhat <Laurence.Amilhat <at> toulouse.inra.fr>
2008-01-03 14:29:09 GMT
2008-01-03 14:29:09 GMT
Dear all, I am trying to convert a newick tree into an NHX tree, so I can add the taxid tag for each leaf. I am using the modules: Bio::TreeIO & Bio::Tree::NodeNHX The idea is 1) to read the newick tree 2) get the leaf, and get the corresponding taxid for it 3) add the nhx species tag 4) write the nhx tree I was able to do the first 2 steps, and I could create an object node_nhx and add the tag T, but I don't know how to write an nhx Tree with the node_nhx previously created... Does anyone have an idea? any help are welcome. Thanks, laurence. Here are my code and the samples files for better understanding: newick2nhx.pl -f test_tree.nwk -o tata -c seq_taxid.txt _newick2nhx.pl:_ use strict; use Bio::TreeIO; use Bio::Tree::NodeNHX;(Continue reading)
Thanks,
Scott
On Mon, 2008-01-07 at 09:43 -0800, Jason Stajich wrote:
> CVS r/w is locked because we are transitioning to SVN - you can still
> checkout via anonymous CVS on code.open-bio.org.
>
> The SVN is going to be in /home/svn-repositories/bioperl not George's
> directory, but we are still monkeying around with the directory
> structure. You can try a checkout but be warned it may change a few
> more times if we add another directory layer in there.
>
> You will get requests for your password at least three times - I
> strongly suggest you use SSH keys to avoid getting prompted each time
> - I don't know why you get asked 3 times as it is a SVN thing I
> assume it is having to make 3 separate requests to do a checkout.
>
> That's what is up for now. We'll report when the final SVN migration
> is done.
>
> -jason
> On Jan 7, 2008, at 9:24 AM, Scott Cain wrote:
>
> > Hello,
> >
RSS Feed