-
Notifications
You must be signed in to change notification settings - Fork 11
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
installation issue #15
Comments
Can you post the output of |
the
p.s. I was able to execute original |
I see. PyClone and PyClone-VI need different dependencies. The latter has been fully updated to Python 3. Could you create a new conda environment following the instructions on the main page and see if that helps |
I seem to be having the same issue as the user above: (pyclone-vi) C:\Users\Owner\Documents\UNC\Research\pyclone>pyclone-vi fit -i examples\tracerx.tsv -o tracerx.h5 -c 40 -d beta-binomial -r 10
Traceback (most recent call last):
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\Scripts\pyclone-vi.exe\__main__.py", line 7, in <module>
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\pyclone_vi\cli.py", line 113, in fit
pyclone_vi.run.fit(**kwargs)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\pyclone_vi\run.py", line 29, in fit
log_p_data, mutations, samples = load_data(in_file, density, num_grid_points, precision=precision)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\pyclone_vi\data.py", line 11, in load_data
data, mutations, samples = load_pyclone_data(file_name)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\pyclone_vi\data.py", line 86, in load_pyclone_data
SampleDataPoint(a, b, cn, mu, log_pi, row['tumour_content'])
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\numba\experimental\jitclass\base.py", line 124, in __call__
return cls._ctor(*bind.args[1:], **bind.kwargs)
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\numba\core\dispatcher.py", line 468, in _compile_for_args
error_rewrite(e, 'typing')
File "C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\numba\core\dispatcher.py", line 409, in error_rewrite
raise e.with_traceback(None)
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Internal error at <numba.core.typeinfer.CallConstraint object at 0x0000028DF003ADA0>.
←[1m←[1mFailed in nopython mode pipeline (step: native lowering)
←[1m←[1mCan only insert i64* at [4] in {i8*, i8*, i64, i64, i64*, [2 x i64], [2 x i64]}: got i32*
←[1m
File "..\..\..\..\miniconda3\envs\pyclone-vi\lib\site-packages\pyclone_vi\data.py", line 184:←[0m
←[1m def __init__(self, a, b, cn, mu, log_pi, t):
<source elided>
self.b = b
←[1m self.cn = cn
←[0m ←[1m^←[0m←[0m
←[0m
←[0m←[1mDuring: lowering "(self).cn = cn" at C:\Users\Owner\miniconda3\envs\pyclone-vi\lib\site-packages\pyclone_vi\data.py (184)←[0m
←[0m←[1mDuring: resolving callee type: jitclass.SampleDataPoint#28dedc34be0<a:int64,b:int64,cn:array(int64, 2d, A),mu:array(float64, 2d, A),log_pi:array(float64, 1d, A),t:float64>←[0m
←[0m←[1mDuring: typing of call at <string> (3)
←[0m
Enable logging at debug level for details.
←[1m
File "<string>", line 3:←[0m
←[1m<source missing, REPL/exec in use?>←[0m] Looking at the conda list command, as far as I can tell my Python and dependencies are up to date, so I'm not sure (pyclone-vi) C:\Users\Owner\Documents\UNC\Research\pyclone>conda list
# packages in environment at C:\Users\Owner\miniconda3\envs\pyclone-vi:
#
# Name Version Build Channel
bzip2 1.0.8 h8ffe710_4 conda-forge
ca-certificates 2022.9.24 h5b45459_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
click 8.1.3 py310h5588dad_0 conda-forge
colorama 0.4.5 pyhd8ed1ab_0 conda-forge
h5py 3.7.0 nompi_py310h425bae0_101 conda-forge
hdf5 1.12.2 nompi_h57737ce_100 conda-forge
intel-openmp 2022.1.0 h57928b3_3787 conda-forge
krb5 1.19.3 hc8ab02b_0 conda-forge
libblas 3.9.0 16_win64_mkl conda-forge
libcblas 3.9.0 16_win64_mkl conda-forge
libcurl 7.83.1 h789b8ee_0 conda-forge
libffi 3.4.2 h8ffe710_5 conda-forge
liblapack 3.9.0 16_win64_mkl conda-forge
libsqlite 3.39.3 hcfcfb64_0 conda-forge
libssh2 1.10.0 h9a1e1f7_3 conda-forge
libzlib 1.2.12 hcfcfb64_3 conda-forge
llvmlite 0.39.1 py310hb84602e_0 conda-forge
m2w64-gcc-libgfortran 5.3.0 6 conda-forge
m2w64-gcc-libs 5.3.0 7 conda-forge
m2w64-gcc-libs-core 5.3.0 7 conda-forge
m2w64-gmp 6.1.0 2 conda-forge
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge
mkl 2022.1.0 h6a75c08_874 conda-forge
msys2-conda-epoch 20160418 1 conda-forge
numba 0.56.2 py310h19bcfe9_0 conda-forge
numpy 1.23.3 py310h4a8f9c9_0 conda-forge
openssl 3.0.5 hcfcfb64_2 conda-forge
pandas 1.5.0 py310h1c4a608_0 conda-forge
pip 22.2.2 pyhd8ed1ab_0 conda-forge
pyclone-vi 0.1.1 pypi_0 pypi
python 3.10.6 hcf16a7b_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python_abi 3.10 2_cp310 conda-forge
pytz 2022.2.1 pyhd8ed1ab_0 conda-forge
scipy 1.9.1 py310h578b7cb_0 conda-forge
setuptools 65.4.0 pyhd8ed1ab_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
tbb 2021.6.0 h91493d7_0 conda-forge
tk 8.6.12 h8ffe710_0 conda-forge
tzdata 2022d h191b570_0 conda-forge
ucrt 10.0.20348.0 h57928b3_0 conda-forge
vc 14.2 hb210afc_7 conda-forge
vs2015_runtime 14.29.30139 h890b9b1_7 conda-forge
wheel 0.37.1 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h8d14728_0 conda-forge My best guess is somehow an incompatible type is trying to be entered into the array, but I'm not sure of next steps to work around it. Thanks so much! |
Hi,
new to python, so I'm probably doing something stupid. I have installed pyclone-vi and $pyclone-vi --help is responsive.
But $pyclone-vi fit is throwing an error that I can't figure out.
Sorry I had to include the whole traceback as I don't understand what is going on in there. Does it show an issue?
Thx!
/Subhayan
The text was updated successfully, but these errors were encountered: