http://www.perlmonks.org?node_id=1050445


in reply to Re^2: Searching array against hash
in thread Searching array against hash

Without prejudicing the OPs response in any way, can I ask you, what you think using Bio::DB::Fasta would have over the OPs 50 line module?

Not having a CS background, I cannot analyze an algorithm for efficiency. However, Bio::DB::Fasta is an exisiting and, among biologists, widely used solution to a common task, presented by the OP. So, like you, I exercise the privilege to offer my solution.

Given that to get it, he would have to try and install it and its 897 codependants -- not to mention AnyDBM_File and at least one of DB_File GDBM_File NDBM_File SDBM_File; all of which are a known problem on my platform -- and somehow resolve the 95 "cannot resolve"s (whatever they are?):

So far, I've installed BioPerl on Ubuntu, RedHat, and Mac OS X without problems. If the OP happens to be in a biomedical field, it may be worthwhile to install and use BioPerl as it does solve many genomic tasks.

all to install an indexing module that he doesn't need, and won't benefit from, in order to complete his task in "a couple seconds".

"Without prejudicing the OPs response in any way"

Replies are listed 'Best First'.
Re^4: Searching array against hash
by BrowserUk (Patriarch) on Aug 22, 2013 at 03:23 UTC
    "Without prejudicing the OPs response in any way"

    Meaning: he will speak for himself if he so chooses. My inquiry was for my benefit.

    Having helped a growing list of bio-guys to avoid the byzantine Bio::Empire, I'm always looking to maintain my knowledge of the reasons for its highly complicated, intricate and involved nature.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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.