Thread: Hashing problem
View Single Post
Old 02-09-2005, 01:51 PM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
I don't know anything about DNA.

- How is the text file organized?
Is it just one long string of ATGC's?
- Are you trying to find a number of - and certain - position(s) of string sequences of length K. Any sequence that is?
- What is a maximal repeat?
- What is a substring in your case? Just a part of the text file?
Are you loading the whole text file in a string?

And yes, feel free to provide the code and the text-file. Otherwise I have to re-invent your specialized hash container. What are you using, a hash_multimap or something because of duplicate sequences?

You can also mail it to my_email_addy, then I will take care of it for this forum.
__________________
Valmont is offline   Reply With Quote