[Biojava-l] Problem with ProfileHMM source

Tisanai T.Krisanathamakul@dcs.shef.ac.uk
Wed, 24 Jul 2002 13:27:58 +0100


Hi,
 
   I have a problem with ProfileHMM source. In the code line 223 that is

        if(i > 1) {
          createTransition(dO, dN);
          createTransition(dO, mN);
          createTransition(dN, iN);
        }     

  If it is like this there will be no transition from d-1 to i-1 right?

  Why should it be like this

        if(i > 1) {
          createTransition(dO, dN);
          createTransition(dO, mN);
          createTransition(dN, iN);
        }     
       else
          createTransition(dN, iN);


Thank you

Tisanai