Oshlack / ALLSorts

ALLSorts is a B-Cell Acute Lymphoblastic Leukemia (B-ALL) subtype classifier. From gene expression counts to over 18 subtypes.
MIT License
15 stars 8 forks source link

First test failed #6

Closed vipmak closed 3 years ago

vipmak commented 3 years ago

Hi, thanks for you great work, we are also doing an ALL classifier but we are using very simple algorithms so I'm hoping to use your tool to make sure our models are not too far off from more sophisticated approaches. However, I have not been able to complete the test (I'm not familiar with Python + Anaconda). It looks like something fails in the Python code but I can't tell what.

Any help is greatly appreciated!

Here's as far as I got:

(base) [Linus ~]$ cd .vipmak/ALLSorts/ (base) [Linus ALLSorts]$ conda activate allsorts (allsorts) [Linus ALLSorts]$ mkdir test_results (allsorts) [Linus ALLSorts]$ ls ALLSorts counts Dockerfile env LICENSE MANIFEST.in README.md setup.py test_results tests tools (allsorts) [Linus ALLSorts]$ python ALLSorts -samples tests/counts/test_counts.csv -destination test_results Traceback (most recent call last): File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/errors.py", line 776, in new_error_context yield File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 235, in lower_block self.lower_inst(inst) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 380, in lower_inst val = self.lower_assign(ty, inst) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 556, in lower_assign return self.lower_expr(ty, value) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 1084, in lower_expr res = self.lower_call(resty, expr) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 815, in lower_call res = self._lower_call_normal(fnty, expr, signature) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 1055, in _lower_call_normal res = impl(self.builder, argvals, self.loc) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/base.py", line 1194, in call res = self._imp(self._context, builder, self._sig, args, loc=loc) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/base.py", line 1224, in wrapper return fn(*args, **kwargs) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/cpython/rangeobj.py", line 40, in range1_impl state.stop = stop File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/cgutils.py", line 164, in setattr self[self._datamodel.get_field_position(field)] = value File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/cgutils.py", line 188, in setitem raise TypeError("Invalid store of {value.type} to " TypeError: Invalid store of i64 to i32 in <numba.core.datamodel.models.RangeModel object at 0x7f700734ca90> (trying to write member #1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/vipmak/.conda/envs/allsorts/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/vipmak/.conda/envs/allsorts/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "ALLSorts/main.py", line 13, in import allsorts File "ALLSorts/allsorts.py", line 32, in from ALLSorts.operations.comparisons import rebuildcomparisons File "/home/vipmak/.local/lib/python3.8/site-packages/ALLSorts/operations/comparisons.py", line 20, in from umap import UMAP File "/home/vipmak/.local/lib/python3.8/site-packages/umap/init.py", line 1, in from .umap import UMAP File "/home/vipmak/.local/lib/python3.8/site-packages/umap/umap_.py", line 54, in from umap.layouts import ( File "/home/vipmak/.local/lib/python3.8/site-packages/umap/layouts.py", line 39, in def rdist(x, y): File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/decorators.py", line 226, in wrapper disp.compile(sig) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 979, in compile cres = self._compiler.compile(args, return_type) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 141, in compile status, retval = self._compile_cached(args, return_type) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 155, in _compile_cached retval = self._compile_core(args, return_type) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 168, in _compile_core cres = compiler.compile_extra(self.targetdescr.typing_context, File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 686, in compile_extra return pipeline.compile_extra(func) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 428, in compile_extra return self._compile_bytecode() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 492, in _compile_bytecode return self._compile_core() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 471, in _compile_core raise e File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 462, in _compile_core pm.run(self.state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 343, in run raise patched_exception File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 334, in run self._runPass(idx, pass_inst, state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock return func(*args, **kwargs) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 289, in _runPass mutated |= check(pss.run_pass, internal_state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 262, in check mangled = func(compiler_state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/typed_passes.py", line 396, in run_pass lower.lower() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 138, in lower self.lower_normal_function(self.fndesc) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 192, in lower_normal_function entry_block_tail = self.lower_function_body() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 221, in lower_function_body self.lower_block(block) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 235, in lower_block self.lower_inst(inst) File "/home/vipmak/.conda/envs/allsorts/lib/python3.8/contextlib.py", line 131, in exit self.gen.throw(type, value, traceback) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/errors.py", line 786, in new_error_context raise newerr.with_traceback(tb) numba.core.errors.LoweringError: Failed in nopython mode pipeline (step: native lowering) Invalid store of i64 to i32 in <numba.core.datamodel.models.RangeModel object at 0x7f700734ca90> (trying to write member #1)

File "../../.local/lib/python3.8/site-packages/umap/layouts.py", line 53: def rdist(x, y):

dim = x.shape[0]
for i in range(dim):
^

During: lowering "$20call_function.7 = call $16load_global.5(dim, func=$16load_global.5, args=[Var(dim, layouts.py:52)], kws=(), vararg=None, target=None)" at /home/vipmak/.local/lib/python3.8/site-packages/umap/layouts.py (53)

(allsorts) [Linus ALLSorts]$ uname -a Linux Linus 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

breons commented 3 years ago

Hi!

Thanks for trying ALLSorts, apologies for the hurdle at the very first step! Let's get it working.

I'd be really keen to see how you go! I would try using the automated pipelines to get the best out of ALLSorts:

It looks like it has something to do with the UMAP import. Could you please do a:

conda list

After you've entered the conda environment? i.e. conda activate allsorts

Cheers, Breon.

vipmak commented 3 years ago

Thanks Breon for the quick reply! The listing is attached.

We are using more or less the same datasets here as you used so I should be able to replicate the results. I'm far downstream from the sequencer so I am using tab-delimited text files of raw reads as the input format, but I can ask for the other types if they contain additional useful information.

Cheers,

Ville


From: Breon Schmidt @.***> Sent: Thursday, August 26, 2021 6:32 PM To: Oshlack/ALLSorts Cc: Ville-Petteri Makinen; Author Subject: Re: [Oshlack/ALLSorts] First test failed (#6)

Hi!

Thanks for trying ALLSorts, apologies for the hurdle at the very first step! Let's get it working.

I'd be really keen to see how you go! I would try using the automated pipelines to get the best out of ALLSorts:

It looks like it has something to do with the UMAP import. Could you please do a:

conda list

After you've entered the conda environment? i.e. conda activate allsorts

Cheers, Breon.

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Oshlack/ALLSorts/issues/6#issuecomment-906226505, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGWGIEAOJ4S7CYLC5HCA6ZLT6X7ITANCNFSM5C2WZEAQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

packages in environment at /home/vipmak/.conda/envs/allsorts:

#

Name Version Build Channel

blas 1.0 mkl anaconda ca-certificates 2020.10.14 0 anaconda certifi 2020.6.20 py38_0 anaconda cycler 0.10.0 py38_0 anaconda dbus 1.13.18 hb2f20db_0 anaconda expat 2.2.10 he6710b0_2 anaconda fontconfig 2.13.0 h9420a91_0 anaconda freetype 2.10.4 h5ab3b9f_0 anaconda glib 2.56.2 hd408876_0 anaconda gst-plugins-base 1.14.0 hbbd80ab_1 anaconda gstreamer 1.14.0 hb453b48_1 anaconda icu 58.2 he6710b0_3 anaconda intel-openmp 2020.2 254 anaconda joblib 0.15.1 py_0 anaconda jpeg 9b habf39ab_1 anaconda kiwisolver 1.2.0 py38hfd86e86_0 anaconda ld_impl_linux-64 2.33.1 h53a641e_7 anaconda libedit 3.1.20191231 h14c3975_1 anaconda libffi 3.3 he6710b0_2 anaconda libgcc-ng 9.1.0 hdf63c60_0 anaconda libgfortran-ng 7.3.0 hdf63c60_0 anaconda libllvm10 10.0.1 hbcb73fb_5 anaconda libpng 1.6.37 hbc83047_0 anaconda libstdcxx-ng 9.1.0 hdf63c60_0 anaconda libuuid 1.0.3 h1bed415_2 anaconda libxcb 1.14 h7b6447c_0 anaconda libxml2 2.9.10 hb55368b_3 anaconda llvmlite 0.34.0 py38h269e1b5_4 anaconda matplotlib 3.2.1 0 anaconda matplotlib-base 3.2.1 py38hef1b27d_0 anaconda mkl 2019.4 243 anaconda mkl-service 2.3.0 py38he904b0f_0 anaconda mkl_fft 1.2.0 py38h23d657b_0 anaconda mkl_random 1.1.0 py38h962f231_0 anaconda ncurses 6.2 he6710b0_1 anaconda numba 0.51.2 py38h0573a6f_1 anaconda numpy 1.18.1 py38h4f9e942_0 anaconda numpy-base 1.18.1 py38hde5b4d6_1 anaconda openssl 1.1.1h h7b6447c_0 anaconda pandas 1.0.3 py38h0573a6f_0 anaconda pcre 8.44 he6710b0_0 anaconda pip 20.0.2 py38_3 anaconda plotly 4.14.3 pyhd3eb1b0_0
pyparsing 2.4.7 py_0 anaconda pyqt 5.9.2 py38h05f1152_4 anaconda python 3.8.3 hcff3b4d_2 anaconda python-dateutil 2.8.1 py_0 anaconda python_abi 3.8 2_cp38 conda-forge pytz 2020.1 py_0 anaconda qt 5.9.7 h5867ecd_1 anaconda readline 8.0 h7b6447c_0 anaconda retrying 1.3.3 py_2 anaconda scikit-learn 0.22.1 py38hd81dba3_0 anaconda scipy 1.4.1 py38h0b6359f_0 anaconda setuptools 46.4.0 py38_0 anaconda sip 4.19.24 py38he6710b0_0 anaconda six 1.15.0 py_0 anaconda sqlite 3.33.0 h62c20be_0 anaconda tbb 2020.3 hfd86e86_0 anaconda tk 8.6.10 hbc83047_0 anaconda tornado 6.0.4 py38h7b6447c_1 anaconda umap-learn 0.4.4 py38h32f6830_0 conda-forge wheel 0.35.1 py_0 anaconda xz 5.2.5 h7b6447c_0 anaconda zlib 1.2.11 h7b6447c_3 anaconda

breons commented 3 years ago

No worries, Ville, keen to get you up and running.

Oh cool! We also have the counts used in this repo as well. I'd be interested to see how potentially different formats change the classification. https://github.com/Oshlack/ALLSorts/tree/master/counts

So a difference that I see is that a newer version of "numba" has been installed. Hopefully, it's as simple as doing this when in your environment:

conda install numba=0.50.1

If so, great! I'll add it as a dependency. If not, I'll rip out that UMAP requirement as it's not necessary at the moment and I can spend some time testing it more robustly.

Either way, let me know :). Breon.

vipmak commented 3 years ago

Hi Breon, I tried the trick but it did not work, still the same error. I also re-installed anaconda and ALLSorts, but still the same result. I attached the list again with the error report pasted in the same file.

I downloaded the ALLSorts code using the command

"git clone https://github.com/Oshlack/ALLSorts.git"

Anaconda version is

conda 4.10.3

I'm using Ubuntu 20.04.3 LTS so it is a fairly recent distro (5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux). I installed everything as a regular user rather than the root. Maybe you can reproduce the same issue at your end?

I also noticed that the allsorts env is using python 3.8.3 while the base has 3.8.8. I also installed the latest python 3.9 but the modules were not linked so it would not run. Not sure if any of this matters.

Any ideas what to try next?

Ville


From: Breon Schmidt @.***> Sent: Friday, August 27, 2021 11:10 AM To: Oshlack/ALLSorts Cc: Ville-Petteri Makinen; Author Subject: Re: [Oshlack/ALLSorts] First test failed (#6)

No worries, Ville, keen to get you up and running.

Oh cool! We also have the counts used in this repo as well. I'd be interested to see how potentially different formats change the classification. https://github.com/Oshlack/ALLSorts/tree/master/counts

So a difference that I see is that a newer version of "numba" has been installed. Hopefully, it's as simple as doing this when in your environment:

conda install numba=0.50.1

If so, great! I'll add it as a dependency. If not, I'll rip out that UMAP requirement as it's not necessary at the moment and I can spend some time testing it more robustly.

Either way, let me know :). Breon.

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Oshlack/ALLSorts/issues/6#issuecomment-906856008, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGWGIEE6PJ2U4Y5M652RWCDT63UKNANCNFSM5C2WZEAQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

packages in environment at /home/vipmak/.vipmak/anaconda3/envs/allsorts:

#

Name Version Build Channel

allsorts 0.1.3 pypi_0 pypi blas 1.0 mkl anaconda ca-certificates 2021.7.5 h06a4308_1
certifi 2021.5.30 py38h06a4308_0
cycler 0.10.0 py38_0 anaconda dbus 1.13.18 hb2f20db_0 anaconda expat 2.2.10 he6710b0_2 anaconda fontconfig 2.13.0 h9420a91_0 anaconda freetype 2.10.4 h5ab3b9f_0 anaconda glib 2.56.2 hd408876_0 anaconda gst-plugins-base 1.14.0 hbbd80ab_1 anaconda gstreamer 1.14.0 hb453b48_1 anaconda icu 58.2 he6710b0_3 anaconda intel-openmp 2020.2 254 anaconda joblib 0.15.1 py_0 anaconda jpeg 9b habf39ab_1 anaconda kiwisolver 1.2.0 py38hfd86e86_0 anaconda ld_impl_linux-64 2.33.1 h53a641e_7 anaconda libedit 3.1.20191231 h14c3975_1 anaconda libffi 3.3 he6710b0_2 anaconda libgcc-ng 9.1.0 hdf63c60_0 anaconda libgfortran-ng 7.3.0 hdf63c60_0 anaconda libllvm10 10.0.1 hbcb73fb_5 anaconda libllvm9 9.0.1 h4a3c616_1
libpng 1.6.37 hbc83047_0 anaconda libstdcxx-ng 9.1.0 hdf63c60_0 anaconda libuuid 1.0.3 h1bed415_2 anaconda libxcb 1.14 h7b6447c_0 anaconda libxml2 2.9.10 hb55368b_3 anaconda llvmlite 0.33.0 py38hc6ec683_1
matplotlib 3.2.1 0 anaconda matplotlib-base 3.2.1 py38hef1b27d_0 anaconda mkl 2019.4 243 anaconda mkl-service 2.3.0 py38he904b0f_0 anaconda mkl_fft 1.2.0 py38h23d657b_0 anaconda mkl_random 1.1.0 py38h962f231_0 anaconda ncurses 6.2 he6710b0_1 anaconda numba 0.50.1 py38h0573a6f_1
numpy 1.18.1 py38h4f9e942_0 anaconda numpy-base 1.18.1 py38hde5b4d6_1 anaconda openssl 1.1.1k h27cfd23_0
pandas 1.0.3 py38h0573a6f_0 anaconda pcre 8.44 he6710b0_0 anaconda pip 20.0.2 py38_3 anaconda plotly 4.14.3 pyhd3eb1b0_0
pyparsing 2.4.7 py_0 anaconda pyqt 5.9.2 py38h05f1152_4 anaconda python 3.8.3 hcff3b4d_2 anaconda python-dateutil 2.8.1 py_0 anaconda python_abi 3.8 2_cp38 conda-forge pytz 2020.1 py_0 anaconda qt 5.9.7 h5867ecd_1 anaconda readline 8.0 h7b6447c_0 anaconda retrying 1.3.3 py_2 anaconda scikit-learn 0.22.1 py38hd81dba3_0 anaconda scipy 1.4.1 py38h0b6359f_0 anaconda setuptools 46.4.0 py38_0 anaconda sip 4.19.24 py38he6710b0_0 anaconda six 1.15.0 py_0 anaconda sqlite 3.33.0 h62c20be_0 anaconda tbb 2020.3 hfd86e86_0 anaconda tk 8.6.10 hbc83047_0 anaconda tornado 6.0.4 py38h7b6447c_1 anaconda umap-learn 0.4.4 py38h32f6830_0 conda-forge wheel 0.35.1 py_0 anaconda xz 5.2.5 h7b6447c_0 anaconda zlib 1.2.11 h7b6447c_3 anaconda

(allsorts) [Linus ALLSorts]$ python3.8 ALLSorts -samples tests/counts/test_counts.csv -destination ../test_results Traceback (most recent call last): File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/errors.py", line 776, in new_error_context yield File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 235, in lower_block self.lower_inst(inst) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 380, in lower_inst val = self.lower_assign(ty, inst) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 556, in lower_assign return self.lower_expr(ty, value) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 1084, in lower_expr res = self.lower_call(resty, expr) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 815, in lower_call res = self._lower_call_normal(fnty, expr, signature) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 1055, in _lower_call_normal res = impl(self.builder, argvals, self.loc) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/base.py", line 1194, in call res = self._imp(self._context, builder, self._sig, args, loc=loc) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/base.py", line 1224, in wrapper return fn(*args, **kwargs) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/cpython/rangeobj.py", line 40, in range1_impl state.stop = stop File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/cgutils.py", line 164, in setattr self[self._datamodel.get_field_position(field)] = value File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/cgutils.py", line 188, in setitem raise TypeError("Invalid store of {value.type} to " TypeError: Invalid store of i64 to i32 in <numba.core.datamodel.models.RangeModel object at 0x7fb8f5349a60> (trying to write member #1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/vipmak/.vipmak/anaconda3/envs/allsorts/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/vipmak/.vipmak/anaconda3/envs/allsorts/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "ALLSorts/main.py", line 13, in import allsorts File "ALLSorts/allsorts.py", line 32, in from ALLSorts.operations.comparisons import rebuildcomparisons File "/home/vipmak/.vipmak/anaconda3/envs/allsorts/lib/python3.8/site-packages/ALLSorts/operations/comparisons.py", line 20, in from umap import UMAP File "/home/vipmak/.local/lib/python3.8/site-packages/umap/init.py", line 1, in from .umap import UMAP File "/home/vipmak/.local/lib/python3.8/site-packages/umap/umap_.py", line 54, in from umap.layouts import ( File "/home/vipmak/.local/lib/python3.8/site-packages/umap/layouts.py", line 39, in def rdist(x, y): File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/decorators.py", line 226, in wrapper disp.compile(sig) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 979, in compile cres = self._compiler.compile(args, return_type) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 141, in compile status, retval = self._compile_cached(args, return_type) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 155, in _compile_cached retval = self._compile_core(args, return_type) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/dispatcher.py", line 168, in _compile_core cres = compiler.compile_extra(self.targetdescr.typing_context, File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 686, in compile_extra return pipeline.compile_extra(func) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 428, in compile_extra return self._compile_bytecode() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 492, in _compile_bytecode return self._compile_core() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 471, in _compile_core raise e File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler.py", line 462, in _compile_core pm.run(self.state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 343, in run raise patched_exception File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 334, in run self._runPass(idx, pass_inst, state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_lock.py", line 35, in _acquire_compile_lock return func(*args, **kwargs) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 289, in _runPass mutated |= check(pss.run_pass, internal_state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/compiler_machinery.py", line 262, in check mangled = func(compiler_state) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/typed_passes.py", line 396, in run_pass lower.lower() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 138, in lower self.lower_normal_function(self.fndesc) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 192, in lower_normal_function entry_block_tail = self.lower_function_body() File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 221, in lower_function_body self.lower_block(block) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/lowering.py", line 235, in lower_block self.lower_inst(inst) File "/home/vipmak/.vipmak/anaconda3/envs/allsorts/lib/python3.8/contextlib.py", line 131, in exit self.gen.throw(type, value, traceback) File "/home/vipmak/.local/lib/python3.8/site-packages/numba/core/errors.py", line 786, in new_error_context raise newerr.with_traceback(tb) numba.core.errors.LoweringError: Failed in nopython mode pipeline (step: native lowering) Invalid store of i64 to i32 in <numba.core.datamodel.models.RangeModel object at 0x7fb8f5349a60> (trying to write member #1)

File "../../.local/lib/python3.8/site-packages/umap/layouts.py", line 53: def rdist(x, y):

dim = x.shape[0]
for i in range(dim):
^

During: lowering "$20call_function.7 = call $16load_global.5(dim, func=$16load_global.5, args=[Var(dim, layouts.py:52)], kws=(), vararg=None, target=None)" at /home/vipmak/.local/lib/python3.8/site-packages/umap/layouts.py (53) (allsorts) [Linus ALLSorts]$ conda list > conda_list_210829.txt

breons commented 3 years ago

Hi Ville,

Ok, I've removed the UMAP feature in a development branch for you to trial: dev-0.2.1

So if you could try doing the following in your ALLSorts clone directory whilst being in your new ALLSorts environment:

Hopefully that get's you up and running!

I'm far downstream from the sequencer so I am using tab-delimited text files of raw reads as the input format

Just picked up on this! I'm yet to put in a check for tab-delimited formats, so for the time being please convert to a CSV with genes in columns and samples in rows.

Cheers, Breon.

vipmak commented 3 years ago

OK, GitHub have screwed up their certificates, I can't even access their web page anymore. So I'll get back to you some time maybe next week when I have more time and once these issues are hopefully resolved and I can update the code.?

Ville


From: Breon Schmidt @.***> Sent: Monday, August 30, 2021 10:23 AM To: Oshlack/ALLSorts Cc: Ville-Petteri Makinen; Author Subject: Re: [Oshlack/ALLSorts] First test failed (#6)

Hi Ville,

Ok, I've removed the UMAP feature in a development branch for you to trial: dev-0.2.1https://github.com/Oshlack/ALLSorts/tree/dev-0.2.1

So if you could try doing the following in your ALLSorts clone directory whilst being in your new ALLSorts environment:

Hopefully that get's you up and running!

I'm far downstream from the sequencer so I am using tab-delimited text files of raw reads as the input format

Just picked up on this! I'm yet to put in a check for tab-delimited formats, so for the time being please convert to a CSV with genes in columns and samples in rows.

Cheers, Breon.

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Oshlack/ALLSorts/issues/6#issuecomment-907922419, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGWGIEGSAYSPJNFMB4756VTT7LJADANCNFSM5C2WZEAQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

vipmak commented 3 years ago

Success! The example ran through and produced figures. Sorry for the delay, I had other projects to work in the meantime.

Thanks for your help, I will run our data through ALLSorts at some point in the coming weeks when my other commitments allow. If you are interested in seeing the results, I can share them outside the GitHub message, please contact me directly at my SAHMRI email (ville-petteri.makinen) as this is no longer about debugging.

Cheers,

Ville


From: Breon Schmidt @.***> Sent: Monday, August 30, 2021 10:23 AM To: Oshlack/ALLSorts Cc: Ville-Petteri Makinen; Author Subject: Re: [Oshlack/ALLSorts] First test failed (#6)

Hi Ville,

Ok, I've removed the UMAP feature in a development branch for you to trial: dev-0.2.1https://github.com/Oshlack/ALLSorts/tree/dev-0.2.1

So if you could try doing the following in your ALLSorts clone directory whilst being in your new ALLSorts environment:

Hopefully that get's you up and running!

I'm far downstream from the sequencer so I am using tab-delimited text files of raw reads as the input format

Just picked up on this! I'm yet to put in a check for tab-delimited formats, so for the time being please convert to a CSV with genes in columns and samples in rows.

Cheers, Breon.

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Oshlack/ALLSorts/issues/6#issuecomment-907922419, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGWGIEGSAYSPJNFMB4756VTT7LJADANCNFSM5C2WZEAQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

breons commented 3 years ago

Great! I'll be sure to reach out and see how you went (and how ALLSorts faired!).