Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Parsing newick trees

by dorko (Parson)
on Oct 17, 2008 at 15:43 UTC ( #717776=note: print w/ replies, xml ) Need Help??


in reply to Parsing newick trees

I've never heard of newick trees before, but CPAN seems to know about newick trees.

Cheers,

Brent

-- Yeah, I'm a Delt.


Comment on Re: Parsing newick trees
Re^2: Parsing newick trees
by Bloodnok (Vicar) on Oct 17, 2008 at 15:56 UTC
Re^2: Parsing newick trees
by citromatik (Curate) on Oct 17, 2008 at 16:25 UTC

    Well, thanks for the tip. I have done this search before. The modules you (and I) found in CPAN are part of the Bioperl suite, and surely because of that, the code you can find there is far more obfuscated (well, maybe this is not exactly the word) than mine.

    citromatik

      I think the phrase (instead of 'obfuscated') you want is 'general, debugged, maintained, comprehensive and written by someone else so I don't need to bother'.

      Probably Bio::Phylo::IO (the module you would actually use) doesn't use exactly the structure you currently use (or think you would like to use) for the internal representation of the trees. But it is likely that the structure the module uses is more generally useful and that the work you want to perform on the structure is already supported among the Bioperl modules.

      Update: It is true I've not used Bioperl modules. I looked at the docs for a few before I answered and on the face of it they seemed at reasonably documented. I was reacting to what appeared to me to be a "modules are too complicated" and NIH attitude in the OP's node. My apologies.


      Perl reduces RSI - it saves typing
        I think the phrase (instead of 'obfuscated') you want is 'general, debugged, maintained, comprehensive

        Here's an alternative phrase based on my experience of trying to use Bioperl modules:

        Nearly impossible to install; complicated, over-engineered, incomprehensible, slow and buggy.

        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        This comment makes it clear that you have never used Bioperl. Doing so is almost always a mistake.

        Update: Let this be a lesson to those of you eager to mindlessly parrot the Perlmonks orthodoxy. Don't do so unless you have experience in the relevant domain.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://717776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-27 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls