-
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
Data loading issue #22
Comments
I encountered this, was due to multiple mutant ids as pointed out in #12. |
Sorry this was a while ago so I don't quite remember, it might be that I
encountered this error when mutation_id and sample_id didn't form a
candidate key.
|
Thank you very much for your prompt reply. I have solved this problem by modifying mutationid, but there is still confusion. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running pyclone-vi for the first time, I created a dataset based on the usage instructions (see attached file:
pyclone_test.txt). I then run the following command, adapted from the vigenette:
pyclone-vi fit -i pyclone_test.txt -o pyclone_test.h5 -c 40 -d beta-binomial -r 10
This produces the following output and errors. As far as I can tell, my data are formatted identically to the example file "tracerx.tsv", and things run fine when I use that file as input.
Removing 3 mutations with major copy number zero
Traceback (most recent call last):
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/bin/pyclone-vi", line 8, in
sys.exit(main())
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/site-packages/pyclone_vi/cli.py", line 113, in fit
pyclone_vi.run.fit(**kwargs)
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/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 "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/site-packages/pyclone_vi/data.py", line 11, in load_data
data, mutations, samples = load_pyclone_data(file_name)
File "/rsrch3/home/gyn_onc_rep_med/rthillman/.conda/envs/pyclone-vi/lib/python3.10/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: