I am trying to score metabarcoding primers and using CalculateEfficiencyPCR
to do that.
I followed the instructions given by ?CalculateEfficiencyPCR
. First I'd like to mention that the link seems to be dead and (probably?) the should point to here: http://www.unafold.org/Dinamelt/software/oligoarrayaux.php.
I work on a MacBook Pro (13 inch, M1, 2020) running macOS version 11.3.1. I downloaded the tar.bz2 file and followed the instructions to build the program
cd oligoarrayaux-3.8/
./configure #seems to run without error
make #fails
make
fails with the following error
make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -DENERGY=int -DINTEGER -DPRECISION=1000 -DPKGDATADIR=\"/usr/local/share/oligoarrayaux/\" -g -O2 -MT hybrid_min-energy.o -MD -MP -MF .deps/hybrid_min-energy.Tpo -c -o hybrid_min-energy.o `test -f 'energy.c' || echo './'`energy.c
energy.c:118:8: error: implicit declaration of function 'readOrDie' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
readOrDie(1, "stack", gFile, "%lf", &stackEnergies[i][j][ii][jj]);
^
energy.c:227:8: error: implicit declaration of function 'readOrDie' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
readOrDie(1, "stack", file, "%lf", &d);
^
energy.c:285:6: error: implicit declaration of function 'readOrDie' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
readOrDie(1, "dangle", gFile, "%lf", &dangleEnergies3[i][j][k]);
[truncated]
I realize this is a problem from oligoarrayaux but as all DECIPHER primer design functions depend on it I was wondering if you could help resolve that problem?
Thanks!
Fabian
UPDATE The problem is discussed on the unafold forum here
Commenting to follow as I am currently having the same issue.