<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4">
</HEAD>
<BODY>
Hi,
<BR>
<BR>
I'm programming in EMBOSS 2.7.1 (not yet in EMBOSS 2.8.0) and I don't understand why my program does not work. I'm looking for the error since yesterday but I don't find it. The part of my program where is the problem is :
<BR>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      // obtention fin extremite terminale oligo gche</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      // mise sequence1 dans tableau</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      iterSeq1 = ajStrIter(res2->sequenceGche);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      while (!ajStrIterDone(iterSeq1))</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">               {</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                  c = ajStrIterGetK(iterSeq1);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                  tabSeq1[i] = c;</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                         i++;</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                         ajStrIterNext(iterSeq1);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                }</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      // Nucleotide extremite 3' de l'oligo gauche</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      Nuc3OligGche = tabSeq1[lenSeq1-1];</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">  </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      // obtention fin extremite terminale oligo dte </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      // sequence2 dans tableau</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      iterSeq2 = ajStrIter(res2->sequenceDte);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      while (!ajStrIterDone(iterSeq2))</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                    {</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                      d = ajStrIterGetK(iterSeq2);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                      tabSeq2[j] = d;</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                      j++;</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                     ajStrIterNext(iterSeq2);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">                     }</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      // Nucleotide extremite 3' de l'oligo droite</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      Nuc3OligDte = tabSeq2[lenSeq2-1];</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">   </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      ajStrAssCI(&charT, "T",1);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      ajStrAssCI(&charA, "A",1);</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">           </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      </FONT></FONT><FONT COLOR="#ff0000"><FONT SIZE="2">if ((ajStrMatchCaseC (charA,&Nuc3OligGche))||(ajStrMatchCaseC (charT,&Nuc3OligGche)))</FONT></FONT>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2">              {</FONT></FONT>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2">                ajFmtPrintF(outf, "oligo gche finit par A ou T \n");</FONT></FONT>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2">                res2->score = res2->score - 1; </FONT></FONT>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2">              }</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">      </FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2">    </FONT></FONT><FONT COLOR="#008000"><FONT SIZE="2">  if ((ajStrMatchCaseC (charAbis,&Nuc3OligDte))||(ajStrMatchCaseC (charTbis,&Nuc3OligDte)))</FONT></FONT>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2">              {</FONT></FONT>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2">                ajFmtPrintF(outf, "oligo dte finit par A ou T \n");</FONT></FONT>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2">                res2->score = res2->score - 1; </FONT></FONT>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2">              }</FONT></FONT>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"> </FONT></FONT>
<BR>
There isn't any problem with the first buckle 1 (see in red) but my program does'nt go is the buckle 2 (see in green) as it should do it and as it do with the buckle 1.  Is someone can help me, please. I have no more idea now and don't know what to do. May be my problem will appear very clear for someone. I hope it, in fact.      :-) 
<BR>
Thanks,
<BR>
Carole Louis
<BR>
<BR>
        
<BR>
  
<BR>
          
<BR>
<BR>
<BR>
</BODY>
</HTML>