Skip to content

More divide by zero errors #8

@kautto

Description

@kautto

I ended up with another (different) set of divide by zero errors:

/igm/apps/python/Python-2.7.12_install_static/lib/python2.7/site-packages/scipy-0.18.1-py2.7-linux-x86_64.egg/scipy/stats/_distn_infrastructure.py:408: RuntimeWarning: invalid value encountered in double_scalars
  return m3 / np.power(m2, 1.5)
src/distributions.py:40: RuntimeWarning: divide by zero encountered in double_scalars
  p = (va-av)/(va)
src/distributions.py:31: RuntimeWarning: divide by zero encountered in double_scalars
  f0 = sm/(r+sm)-p
src/distributions.py:32: RuntimeWarning: invalid value encountered in double_scalars
  f1 = np.sum(special.psi(data+r)) - n*special.psi(r) + n*np.log(r/(r+sm))
src/distributions.py:32: RuntimeWarning: divide by zero encountered in double_scalars
  f1 = np.sum(special.psi(data+r)) - n*special.psi(r) + n*np.log(r/(r+sm))
src/distributions.py:32: RuntimeWarning: invalid value encountered in log
  f1 = np.sum(special.psi(data+r)) - n*special.psi(r) + n*np.log(r/(r+sm))
/igm/apps/python/Python-2.7.12_install_static/lib/python2.7/site-packages/scipy-0.18.1-py2.7-linux-x86_64.egg/scipy/optimize/minpack.py:161: RuntimeWarning: The iteration is not making good progress, as measured by the 
  improvement from the last ten iterations.
  warnings.warn(msg, RuntimeWarning)

The interesting thing is that if I extract reads for just one chromosome, this doesn't happen. But if I run it on our full WES or WGS files, it breaks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions