broadinstitute / PhylogicNDT

Other
71 stars 39 forks source link

tuple index out of range #68

Open kangdong318 opened 1 year ago

kangdong318 commented 1 year ago

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