fixed specificity and pairing bugs
git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPrimers/trunk@287 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
@ -252,11 +252,16 @@ static void buildPrimerPairsForOneSeq(uint32_t seqid,
|
||||
{
|
||||
// For all primers matching the sequence
|
||||
|
||||
for(j=i+1;
|
||||
(j<matchcount)
|
||||
&& ((distance=matches[j].position - matches[i].position - options->primer_length) < options->lmax);
|
||||
j++
|
||||
)
|
||||
//for(j=i+1;
|
||||
// (j<matchcount)
|
||||
// && ((distance=matches[j].position - matches[i].position - options->primer_length) < options->lmax);
|
||||
// j++
|
||||
// )
|
||||
for (j=i+1; j<matchcount; j++)
|
||||
{
|
||||
if (matches[j].position - matches[i].position <= options->primer_length) continue;
|
||||
distance = matches[j].position - matches[i].position - options->primer_length;
|
||||
if (distance >= options->lmax) break;
|
||||
|
||||
// For all not too far primers
|
||||
|
||||
@ -448,6 +453,7 @@ static void buildPrimerPairsForOneSeq(uint32_t seqid,
|
||||
//
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user