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
This commit is contained in:
2009-07-28 21:07:27 +00:00
parent 79cadf0809
commit 494791d133
2 changed files with 8 additions and 8 deletions

View File

@ -566,12 +566,12 @@ int main(int argc, char **argv)
sscanf(optarg,"%d",&(options.error_max)); sscanf(optarg,"%d",&(options.error_max));
break; break;
//
// /* ------------------------ */ /* ------------------------ */
// case '3': /* three prime strict match */ case '3': /* three prime strict match */
// /* ------------------------ */ /* ------------------------ */
// sscanf(optarg,"%d",&(options.strict_three_prime)); sscanf(optarg,"%d",&(options.strict_three_prime));
// break; break;
/* -------------------- */ /* -------------------- */
case 'q': /* strict matching quorum */ case 'q': /* strict matching quorum */

View File

@ -97,8 +97,8 @@ pprimercount_t lookforAproxPrimer(pecodnadb_t database, uint32_t seqdbsize,uint3
params.circular = options->circular; params.circular = options->circular;
params.maxerr = options->error_max; params.maxerr = options->error_max;
// params.omask = (1 << options->strict_three_prime) -1; params.omask = (1 << options->strict_three_prime) -1;
params.omask = 0; // params.omask = 0;
params.patlen = options->primer_length; params.patlen = options->primer_length;
positions.val=NULL; positions.val=NULL;