Sequence circularity, bug correction

git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/trunk@167 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
2008-04-28 16:46:18 +00:00
parent d863b7e48e
commit 708b7c387e
5 changed files with 18 additions and 13 deletions

View File

@ -239,7 +239,7 @@ void printRepeat(ecoseq_t *seq,
error1,
oligo2,
error2,
amplength,
amplength - o1->patlen - o2->patlen,
amplifia,
seq->DE
);
@ -387,9 +387,11 @@ int main(int argc, char **argv)
strcpy(oligo2,argv[optind]);
if (circular)
{
circular = strlen(oligo1);
if (strlen(oligo2)>(size_t)circular)
circular = strlen(oligo2);
}
}
else
errflag++;
@ -499,7 +501,7 @@ int main(int argc, char **argv)
for (i=0; i < o1Hits;i++)
{
posi = apatseq->hitpos[0]->val[i];
if (posi < apatseq->seqlen)
{
erri = apatseq->hiterr[0]->val[i];