Commit 494791d1 by Eric Coissac

Reintroduce -3 options to allow strict match at 3' end

git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPrimers/trunk@230 60f365c0-8329-0410-b2a4-ec073aeeaa1d
parent 79cadf08
......@@ -566,12 +566,12 @@ int main(int argc, char **argv)
sscanf(optarg,"%d",&(options.error_max));
break;
//
// /* ------------------------ */
// case '3': /* three prime strict match */
// /* ------------------------ */
// sscanf(optarg,"%d",&(options.strict_three_prime));
// break;
/* ------------------------ */
case '3': /* three prime strict match */
/* ------------------------ */
sscanf(optarg,"%d",&(options.strict_three_prime));
break;
/* -------------------- */
case 'q': /* strict matching quorum */
......
......@@ -97,8 +97,8 @@ pprimercount_t lookforAproxPrimer(pecodnadb_t database, uint32_t seqdbsize,uint3
params.circular = options->circular;
params.maxerr = options->error_max;
// params.omask = (1 << options->strict_three_prime) -1;
params.omask = 0;
params.omask = (1 << options->strict_three_prime) -1;
// params.omask = 0;
params.patlen = options->primer_length;
positions.val=NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment