[Shootout-list] Re: OCaml k-nucleotide
Daniel South
WildCard_25@HotMail.Com
Mon, 28 Mar 2005 20:29:48 +1000
The output shown on the website is for the failing test, that is
N=20000.
I had a similar problem, turned out I wasn't reading\counting the first
character.
Correct output for N=20000 is :-
T 30.41
A 30.31
C 19.65
G 19.63
TT 9.25
AT 9.24
TA 9.23
AA 9.15
TC 6.01
GA 5.98
GT 5.97
AG 5.96
CA 5.95
AC 5.95
CT 5.95
TG 5.92
CG 3.88
CC 3.88
GG 3.88
GC 3.81
1190 GGT
358 GGTA
36 GGTATT
0 GGTATTTTAATT
0 GGTATTTTAATTTATAGT
and here's the first section with the sum and count to make it a bit
easier to track
T 100000 30408
A 100000 30305
C 100000 19652
G 100000 19635
TT 99999 9247
AT 99999 9244
TA 99999 9230
AA 99999 9152
TC 99999 6013
GA 99999 5975
GT 99999 5972
AG 99999 5963
CA 99999 5948
AC 99999 5946
CT 99999 5945
TG 99999 5917
CG 99999 3880
CC 99999 3879
GG 99999 3875
GC 99999 3813
--
Daniel South
Christophe TROESTLER wrote:
| Hi,
|
| Would it be possible to have more information on why the OCaml
| k-nucleotide is failing? I can see that the output is not correct;
| but it is on my machine, so I am a but puzzled...
|
| Cheers,
| ChriS