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

tuple index out of range #68

Open
kangdong318 opened this issue Nov 23, 2023 · 0 comments
Open

tuple index out of range #68

kangdong318 opened this issue Nov 23, 2023 · 0 comments

Comments

@kangdong318
Copy link

Hi Developers!
I'm running multiple lesions of a patient through PhylogicNDT. But I meet bug when I running "PhylogicNDT.py Cluster -i test -sif test_4.txt --maf_input_type calc_ccf --use_indels -rb". The test_4.txt includes the following:
sample_id maf_fn seg_fn purity timepoint
sample1 sample1.txt 0.1 1
sample2 sample2.txt 0.1 2
sample3 sample3.txt 0.1 3
It's normal to run sample1 and sample2, but I meet bug when run sample3 ,following(I removed some unimportant information):
File "PhylogicNDT.py", line 515, in
args.func(args)
File "Cluster.py", line 86, in run_tool
mode="maxpear", seed=args.seed)
File "ClusterEngine.py", line 43, in run_DP_ND
nd_hist = self. patient._make_ND_histogram()
File "Patient.py", line 316, in _make_ND_histogram
return NDHistogram(combined_ccf, [x.var_str for x in self.sample_list[0].concordant_variants])
File "Patient.py", line 671, in init
n_samples = np.shape(hist)[1]
IndexError: tuple index out of range.
But is more strange that when I run sample3 lonely, it's normal to get output.
Are there any strategies that can help me resolve the bug? Thank you.
sincerely,
KangDong

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

1 participant