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

Numeric entry is not a double precision number (NaN) #84

Open
littleju777 opened this issue Oct 10, 2022 · 1 comment
Open

Numeric entry is not a double precision number (NaN) #84

littleju777 opened this issue Oct 10, 2022 · 1 comment

Comments

@littleju777
Copy link

littleju777 commented Oct 10, 2022

Hi,

Thank you so much for your excellent work! I have one issue with compass when running my bulk RNA-seq data. My input was normalized CPM and got many negative numbers. I have removed NA NaN NULL using R and python and double-checked manually. And I have run the data seperately to find where the NA is, it localed many genes, but I checked at spreadsheet, it was fine but too many same negative numbers( I set relatetively low standard over low expression gene).

Still it crashed like this:

/data/msun/miniconda3/lib/python3.9/site-packages/pandas/core/arraylike.py:397:` RuntimeWarning: invalid value encountered in log2
  result = getattr(ufunc, method)(*inputs, **kwargs)
Traceback (most recent call last):
  File "/data/msun/miniconda3/bin/compass", line 8, in <module>
    sys.exit(entry())
  File "/data/msun/miniconda3/lib/python3.9/site-packages/compass/main.py", line 616, in entry
    runCompassParallel(args)
  File "/data/msun/miniconda3/lib/python3.9/site-packages/compass/main.py", line 651, in runCompassParallel
    for _ in pool.imap_unordered(partial_map_fun, range(n_samples)):
  File "/data/msun/miniconda3/lib/python3.9/multiprocessing/pool.py", line 870, in next
    raise value
Exception: CPLEX Error  1225: Numeric entry is not a double precision number (NaN).

Could you instruct me how to fix this?

@KunFang93
Copy link

Hi,

I met same issue. I wondered if you find a way to solve it. Thanks~

Best,
Kun

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

2 participants