Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Up for Critique

by jpm (Novice)
on Mar 23, 2002 at 17:16 UTC ( #153806=note: print w/ replies, xml ) Need Help??


in reply to Up for Critique

I'm not a perl expert, so please forgive me (you and the Monks) if this is a silly suggestion, but in your position I'd consider doing it all in memory. You said 26,000 genes, so how many nucleotides per gene - could it be around 1,000, or is that way too low? If 1000, this gives only 26M nucleotides.

If we use a character per nucleotide, this is only 26M bytes. If these figures are low, we could use 2 bits per nucleotide (as there are 4 different ones), giving an increase of a factor of 4 over just using bytes (you'd have to write pack and unpack functions).

So I'd download the data from the database(s), do my processing in memory, store any results back, and display the results on some kind of report.

Please contact me if you want to get into details (non-perl related!).


Comment on Re: Up for Critique

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2014-10-21 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls