-
Notifications
You must be signed in to change notification settings - Fork 127
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
GSL ERROR: function value is not finite in brent.c at line 202 errno 9 #210
Comments
Hmmm. If you send me your data files I can try and see what the problem is. |
Hi pjotrp, Is there an email address I could send a link to the file to? |
pjotr public 673 at thebird dot nl |
Looks like the number of phenotypes is very low. |
Were you able to determine the cause of this error? I am running into it as well. I've narrowed it down to a single feature that seems to cause the error, and making tiny changes to the values of that feature makes it work. EDIT: FWIW, this issue seemed to occur with features that have very small differences between their min and max values, and, so far, I've been able to get around it by scaling all my features to have a min of 0 and a max of 2. |
Scaling is a good idea |
I am having the same error, and scaling is not helping. In my case, I have other evidences to suggest that the error is likely to be caused by a precision problem: there are several SNPs that are highly associated with the phenotype, p value maybe lower than 1e-60, maybe it reaches the limit of precision of the computer? My dataset also do not have many phenotypes, not sure it also affects. Could you take a look at my files if I send you the data file? |
Yes, I can take a look. You can E-mail me the files if you want. See the footer of https://thebird.nl/ |
GSL ERROR: function value is not finite in brent.c at line 202 errno 9 #210
This update fixed my issue. Now at these SNPs, I got nan, and the main program was not crashing. |
Reopening to publish fix. |
The fix is part of the 0.98.5 release I just put out! |
GSL ERROR: function value is not finite in brent.c at line 202 errno 9 genetics-statistics#210
I got a gsl error, too. I tried to use a parallel program to run gemma because I have a lot of phenotype. And now I'm in this follow error. |
And another error |
Hi Pjotr, |
Interesting. Do you have a data example you can share so I can look at providing a fix? Thanks. Also paste the error here. |
Hi Pjotr, ###the succeeded one ###the failed one It seems GSL ERROR still exists. Here are the input files: https://drive.google.com/drive/folders/14VzCub0hj5D-eyobGlildlcIITJbIOa6?usp=sharing I would really appreciate if you can give me some help. |
Wait, gemma does not take VCF files. I should give a warning on that. |
Sorry for the confusion. The Chitili_Creek.split_4.txt.vcf here is the prefix of plink file, but not VCF files. |
Gotcha. I don't have the time to look into this right now, but if you leave the files I'll definitely take a look. Ping me in a week or so. |
It may be a bit tough to fix. I can reproduce the error with the following stack trace. It is happening in the call to
|
I made a fix. Try the static binary at https://biogems.info/download/gemma-0.98.6-pre1.gz Note that 12 individuals is really not enough power to run GWA. Hits can only be suggestive. |
Dear Pjotr, thanks a lot for the debugging. It works perfectly now. Cheers. |
Hi, I updated gemma's version and the error stopped. I'm currently using gemma-0.98.6-pre1, and you can get the download link for this updated version from github.
2023-12-12 04:01:11"Jeff Groh" ***@***.***>写道:
I'm experiencing the same error message. In my case I expect that some SNPs are perfectly associated with the phenotype, and I'm using a maf filter of 0.2. I'm not sure how to troubleshoot this issue. Any suggestions?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I'm having a similar issue to the previous posters. The download link for gemma-0.98.6-pre1.gz no longer works-- is there somewhere else this can be obtained from? |
I am also experiencing this issue using 0.98.5, and can't access the download link for the newer version. Is there a known fix for this issue? |
Hello, I am also getting the same error: The download link for GEMMA verrsion 0.98.6 (https://biogems.info/download/gemma-0.98.6-pre1.gz) is not working. Can you please share the link again. Thanks. |
Hi,
I'm running into the following the error
GSL ERROR: function value is not finite in brent.c at line 202 errno 9
when runninggemma -bfile datafile -k datafile.cXX.txt -lmm 2 -maf 0.05 -o phenotype
. The versions of gemma is 0.98.1 and it's running on a cent os 6 machine. When I run the same command with the-check
flag I get the messageFATAL ERROR: GEMMA caused a floating point error which suggests machine boundaries were reached. You can disable floating point tests with the -no-check switch (use at your own risk!)
. I tried to run the command with both the-no-check
andno-fpe-check
flags but the gemma analysis is still unable to finish and I see the same error. I tried subsetting the overall data to only include 100% genotyped individuals in case the error is being caused by something similar to issue #184 but the error still arises. Please let me know if any specific info would be useful in tracking down the cause of this error. Thank you for your time and advice.The text was updated successfully, but these errors were encountered: