You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2023. It is now read-only.
Postgap fails when using specific variations in a summary file
Here is an example of a summary file including one of the failing rsID:
variant_id beta p-value
rs2862954 -0.0291 2.00E-10
And this is the error message shown in the log file:
~/postgap/lib/postgap/Finemap.py:803: RuntimeWarning: divide by zero encountered in log
return subset_size*numpy.log(p) + (m - subset_size)numpy.log(1-p)
~/postgap/lib/postgap/Finemap.py:803: RuntimeWarning: invalid value encountered in double_scalars
return subset_sizenumpy.log(p) + (m - subset_size)numpy.log(1-p)
~/postgap/lib/postgap/Finemap.py:803: RuntimeWarning: invalid value encountered in multiply
return subset_sizenumpy.log(p) + (m - subset_size)*numpy.log(1-p)