informME
informME copied to clipboard
Undefined function 'computeAveLogLikelihood' for input arguments of type 'int32'.
Hello,
I followed instructions for installation but I have the following error. Could you please clarify whether computeAveLogLikelihood was supposed to have been compiled to mex? Thanks!
cd informME/src/bash_src/informME_run/main ./main.sh Processing normal... Error in MCS for phenotype toy_normal at location: chr1/bp9001-12000 with error: Error in MCS for phenotype toy_normal at location: chr1/bp3001-6000 with error: Undefined function 'computeAveLogLikelihood' for input arguments of type 'int32'.
Error in objFnToMinimize (line 65) aveLogLikelihood = computeAveLogLikelihood(An,Cn,newMatrixVec,CpGstart,CpGend);
Error in init (line 44) f1 = feval(fcn,data,x);
Error in mcs (line 248) [f0,istar,ncall1] = init(fcn,data,x0,l,L,n);
Error in estimateParams (line 99) [thetabest,fbest,thetamin,fmi,ncloc,flag] = mcs('feval',...
Error in estParamsForChr (line 216) regionStruct = estimateParams(locationPathName,prefix,...Undefined function 'computeAveLogLikelihood' for input arguments of type 'int32'.
Error in objFnToMinimize (line 65) aveLogLikelihood = computeAveLogLikelihood(An,Cn,newMatrixVec,CpGstart,CpGend);
Error in init (line 44) f1 = feval(fcn,data,x);
Error in mcs (line 248) [f0,istar,ncall1] = init(fcn,data,x0,l,L,n);
Error in estimateParams (line 99) [thetabest,fbest,thetamin,fmi,ncloc,flag] = mcs('feval',...
E
Yes it should have a compiled mex binary if the install went correctly. Can you verify your installation as described here in the wiki:
https://github.com/GarrettJenkinson/informME/wiki/Testing%20Your%20Installation
A common problem in compiling is ensuring that your version of gcc and matlab are compatible:
https://www.mathworks.com/support/requirements/previous-releases.html