<!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>
I read my mail and I saw I made a mistake copying my program but I change it and it 'is the good version below.
<BR>
<BR>
Le jeu 04/12/2003 à 16:28, Carole Louis a écrit :
<BLOCKQUOTE>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Hi, </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>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 : </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> // obtention fin extremite terminale oligo gche</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> // mise sequence1 dans tableau</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> iterSeq1 = ajStrIter(res2->sequenceGche);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> while (!ajStrIterDone(iterSeq1))</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> {</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> c = ajStrIterGetK(iterSeq1);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> tabSeq1[i] = c;</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> i++;</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> ajStrIterNext(iterSeq1);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> }</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> // Nucleotide extremite 3' de l'oligo gauche</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> Nuc3OligGche = tabSeq1[lenSeq1-1];</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> // obtention fin extremite terminale oligo dte </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> // sequence2 dans tableau</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> iterSeq2 = ajStrIter(res2->sequenceDte);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> while (!ajStrIterDone(iterSeq2))</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> {</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> d = ajStrIterGetK(iterSeq2);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> tabSeq2[j] = d;</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> j++;</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> ajStrIterNext(iterSeq2);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> }</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> // Nucleotide extremite 3' de l'oligo droite</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> Nuc3OligDte = tabSeq2[lenSeq2-1];</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> ajStrAssCI(&charT, "T",1);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> ajStrAssCI(&charA, "A",1);</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I><FONT COLOR="#ff0000"><FONT SIZE="2"><I>if ((ajStrMatchCaseC (charA,&Nuc3OligGche))||(ajStrMatchCaseC (charT,&Nuc3OligGche)))</FONT></FONT></I>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2"><I> {</FONT></FONT></I>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2"><I> ajFmtPrintF(outf, "oligo gche finit par A ou T \n");</FONT></FONT></I>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2"><I> res2->score = res2->score - 1; </FONT></FONT></I>
<BR>
<FONT COLOR="#ff0000"><FONT SIZE="2"><I> }</FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I> </FONT></FONT></I><FONT COLOR="#008000"><FONT SIZE="2"><I> if ((ajStrMatchCaseC (charA,&Nuc3OligDte))||(ajStrMatchCaseC (charT,&Nuc3OligDte)))</FONT></FONT></I>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2"><I> {</FONT></FONT></I>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2"><I> ajFmtPrintF(outf, "oligo dte finit par A ou T \n");</FONT></FONT></I>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2"><I> res2->score = res2->score - 1; </FONT></FONT></I>
<BR>
<FONT COLOR="#008000"><FONT SIZE="2"><I> }</FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>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. :-) </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Thanks, </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I>Carole Louis </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I> </FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<FONT COLOR="#737373"><FONT SIZE="3"><I></FONT></FONT></I>
<BR>
<BR>
</BLOCKQUOTE>
</BODY>
</HTML>