[Biojava-dev] Biojava SearchProfile.java Problem

Arvind arv_ind_ at hotmail.com
Mon Oct 11 19:29:25 EDT 2004


Hi,

I am a newbie to Biojava. I obtained Biojava 1.4pre1 and compiled the source and the demos. I seem to be having some problems with the demo - especially SearchProfile.java. It seems to throw this exception:
..
..
..
Forward: -918.1011438378875
Backward: -918.1011438378877
Training whole profile
Cycle 1 completed
Score: -2754.2394913554967
Cycle 2 completed
Score: NaN
Cycle 3 completed
Score: NaN
Cycle 4 completed
Score: NaN
Cycle 5 completed
Score: NaN
Alignining sequences to the model
org.biojava.bio.seq.impl.SimpleSequence at 1b3967 name: 3
java.lang.NullPointerException
        at org.biojava.bio.dp.onehead.SingleDP.viterbi(Sing
        at org.biojava.bio.dp.onehead.SingleDP.viterbi(Sing
        at SearchProfile2.main(SearchProfile2.java:62)

Can you please help me out? I need it very badly to work.

Thanks,
Arvind


More information about the biojava-dev mailing list