You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully run the traxerx example provided but am running into the following error when using my dataset. Do you have any insights on what is going on here? Is it related to the format of the input file?
Removing 24423 mutations with major copy number zero
Traceback (most recent call last):
File "/Users/chronia/anaconda3/envs/pyclone-vi/bin/pyclone-vi", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/pyclone_vi/cli.py", line 113, in fit
pyclone_vi.run.fit(**kwargs)
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/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 "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/pyclone_vi/data.py", line 11, in load_data
data, mutations, samples = load_pyclone_data(file_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/chronia/anaconda3/envs/pyclone-vi/lib/python3.11/site-packages/pyclone_vi/data.py", line 78, in load_pyclone_data
cn, mu, log_pi = cn_priors[(
^^^^^^^^^^^
TypeError: unhashable type: 'Series'
The text was updated successfully, but these errors were encountered:
Likely an input issue. Usually these errors happen when there is something unexpected in a column. Could you post the input? Also the configuration of your conda environment might help. Could be a version issue with Pandas or something similar.
Hey,
I have successfully run the
traxerx
example provided but am running into the following error when using my dataset. Do you have any insights on what is going on here? Is it related to the format of the input file?Here is the command line used:
and this is the error:
The text was updated successfully, but these errors were encountered: