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

RuntimeWarning: invalid value encountered in sqrt #57

Open
ghost opened this issue Apr 8, 2017 · 1 comment
Open

RuntimeWarning: invalid value encountered in sqrt #57

ghost opened this issue Apr 8, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 8, 2017

Hi @AliciaSchep ,

Nucleoatac is currently running (25hrs) and the output below shows a warning (step 1) and an error (step 3). Are these going to be a problem? Does the run need to be stopped to fix the cause of the error and warning? Will the results still be reliable? What is causing these and how do you think I can fix them (if that is what is needed)?

Thank you,
Kenneth

Command run:

nucleoatac run --bed final.broadPeak --bam mgwatd2.bam --fasta ref_mm10.fasta --out mgwatd2 --cores 16

nucleoatac version 0.3.4

start run at: 2017-04-07 15:31
---------Step1: Computing Occupancy and Nucleosomal Insert Distribution---------
/usr/lib64/python2.7/site-packages/matplotlib/collections.py:526: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
if self._edgecolors == 'face':
Making figure
---------Step2: Processing Vplot------------------------------------------------
---------Step3: Obtaining nucleosome signal and calling positions---------------
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)
/usr/lib/python2.7/site-packages/nucleoatac/NucleosomeCalling.py:86: RuntimeWarning: invalid value encountered in sqrt
return np.sqrt(var)

@AliciaSchep
Copy link
Contributor

This might be the same issue as #55, which I still haven't figure out how to fix :/ You could try running the example

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

1 participant