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

Re: Dumb problem with dumper.

by aitap (Deacon)
on Nov 26, 2012 at 19:40 UTC ( #1005753=note: print w/ replies, xml ) Need Help??


in reply to Dumb problem with dumper.

I am try to search for the number of occurrence of 10 hexamer word in a big file of fasta sequence.
Did you try using BioPerl (http://bioperl.org)?

for($i = 1;$i < 5000;$i++) { for($j = 0;$j <= $#words;$j++) { $result[$i][$j] = 0; # array of 5000 columns of positi +on and words as columns } }
If you want to initialise your array for better handling of large data, look there: Re^3: how apply large memory with perl?. By the way, this initialisation is lost because you initialize an array and work later with a hash reference. strict would never allow it.

Sorry if my advice was wrong.


Comment on Re: Dumb problem with dumper.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2015-07-29 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls