-
Notifications
You must be signed in to change notification settings - Fork 53
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
error while conducting permutations for cis-eQTL #157
Comments
Hi, can you please provide a small example dataset that reproduces this issue? |
Sure , here's a representative file : #Chr Start End TargetID AAA AAB AAC AAD We used the linux based code and plink2 formatted genotypes, Thank you so much, Regards, |
sorry, can you please provide all the inputs needed to reproduce the error? |
Hi francois-a, I have attached the sample datasets in the zipfile, I used the command python3 -m tensorqtl Samples Phenotype_chr1.bed Chr1_ Thank you so much, |
I encountered a similar problem today, did you solve it?If you solved it, could you also share your experience? |
Thanks for sharing the example dataset. I'm not able to reproduce the error. Can you try updating to the latest version from this repository ( |
Hi all, Also, I tried different ways to see if the warning can be avoided. During this, I noticed the permutation p values for the gene are different when I use different filter :for instance the p-beta for gene A when I use filter 10 reads in 30 % samples is 0.2586 and when I use the filter of 6 reads in 20 % samples (exclude some genes) , the p beta is 0.03. I do not understand how changing the number of genes alters the p beta as the number of variants for the specific genes remains constant. Am I missing something? |
How different are the p-values? Small differences are expected due to sampling. Otherwise can you please send another dataset that reproduces these differences? |
Hello tensorqtl team,
We are using tensorqtl to conduct eQTL analysis in our datasets and while computing permutations for the cis-eQTL to get empirical values we encountered this error.
tensorqtl/core.py:315: RuntimeWarning: invalid value encountered in sqrt
return 2*stats.t.cdf(-np.abs(np.sqrt(tstat2)), dof)
We checked if there are missing in our data, however there are no missing. I was wondering if you could provide some insights into it and how we could avoid the error,
Thank you,
Regards,
Vibha
The text was updated successfully, but these errors were encountered: