Juerg E. Frey
Nov 11th, 1999, 02:22 PM
I am not a VBgeek yet need a small VB6 program. It should read a short word from one file and search text in a second file for how many times the word occurrs. The word and the number of occurrences should then be written in a third file. The basis is DNA and so only 4 letters occur.
File 1 contains 10'000 "words", i.e., 10 - 30 letter "words", each in a single row.
And here comes the problem:
File 2 contains 4.5 MILLION letters (a genome) with no gaps (spaces) between them.
File 3 would then contain the result of the search.
If anyone could come up with an elegant solution to this I would be MEGAthankful.
Cheers - Juerg
File 1 contains 10'000 "words", i.e., 10 - 30 letter "words", each in a single row.
And here comes the problem:
File 2 contains 4.5 MILLION letters (a genome) with no gaps (spaces) between them.
File 3 would then contain the result of the search.
If anyone could come up with an elegant solution to this I would be MEGAthankful.
Cheers - Juerg