diff --git a/src/ecoprimer.c b/src/ecoprimer.c index 45d2227..998a248 100644 --- a/src/ecoprimer.c +++ b/src/ecoprimer.c @@ -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 */ diff --git a/src/libecoprimer/aproxpattern.c b/src/libecoprimer/aproxpattern.c index 0cf349e..620bc80 100644 --- a/src/libecoprimer/aproxpattern.c +++ b/src/libecoprimer/aproxpattern.c @@ -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;