|No such thing as a small change|
Using less memory with BIG filesby jemswira (Novice)
|on Feb 02, 2012 at 07:42 UTC||Need Help??|
jemswira has asked for the
wisdom of the Perl Monks concerning the following question:
Hi guys. So I have tried to make a database combining two files of data. One is accesionnumbersfull.txt
the other is this Pfam-A.seed
So what i'm supposed to do is to match the numbers in the first file to the groups in the second. so the group name is after the #=GF AC. PFxxxxx Problem is the files are huge. the first file alone is 138mb. So i have memory issues. my code is as follow.
anyway to streamline it?
another thing i needed to do is add the names corresponding to the numbers. those are in a seperate file, but the sequence is the same. i took the numbers out of that file. format:
but i don't know how to. any ideas? thanks!!
sorry but it's kinda urgent and i've been trying for ages!