CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Is there any modification i can do to reduce runtime

 



despcrus
New User

Jun 13, 2011, 12:10 PM

Post #1 of 1 (164 views)
Is there any modification i can do to reduce runtime Can't Post

Dear friends. i have two files one contains headers and sequences(lets say parent file) and another file which contains substrings of some of the sequences in the first file.
parent file looks somthing lik this
>qwer
asdfghjklll
>asd
qwertyuoo
and so on..
second file looks lik
asddfghj
and so on
now i have to match the substrings back to the parent sequences and print the headers along with the sequences... the parent file consists of some .25million sequences(average sequence length is around 20,file size 1.7MB) and there are some 33 thousand sunstring sequences.. i tried normal matching using hashes where parent sequences and headers be my key and value ,but its taking forever to complete around 2 days. Is there a way by which i can reduce my runtime?
Any help would be appreciated. If u need more details feel free to ask

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives