fixed a small problem of operator precedence in "if (w1 ^ w1a != 0) continue;" by adding parentheses.
git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPrimers/trunk@233 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
@ -320,15 +320,15 @@ static void buildPrimerPairsForOneSeq(uint32_t seqid,
|
||||
w1a = extractSite(seqdb[seqid]->SQ,bp1,options->primer_length,strand);
|
||||
//get word of second approximate repeat
|
||||
w2a = extractSite(seqdb[seqid]->SQ,bp2,options->primer_length,!strand);
|
||||
|
||||
|
||||
w1 = w1 & omask; //keep only strict_three_prime bases on the right (3') end
|
||||
w2 = w2 & omask; //keep only strict_three_prime bases on the right (3') end
|
||||
w1a = w1a & omask; //keep only strict_three_prime bases on the right (3') end
|
||||
w2a = w2a & omask; //keep only strict_three_prime bases on the right (3') end
|
||||
|
||||
|
||||
//now check that both words and primers of amplifia have same bases on 3' end
|
||||
if (w1 ^ w1a != 0) continue;
|
||||
else if (w2 ^ w2a != 0) continue;
|
||||
if ((w1 ^ w1a) != 0) continue;
|
||||
if ((w2 ^ w2a) != 0) continue;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user