Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined function 'computeAveLogLikelihood' for input arguments of type 'int32'. #18

Open
ulloaa opened this issue May 20, 2021 · 1 comment

Comments

@ulloaa
Copy link

ulloaa commented May 20, 2021

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

@GarrettJenkinson
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants