In the input, the columns major_cn and minor_cn are expected to be integers but some copy number callers like PURPLE output decimal places. Does the algorithm of pyclone-vi still make sense if used with non-integer copy numbers?
If so, I found that changing just one line of code gets the program working. Line 115 in data.py should be changed from
for x in range(1, major_cn + 1):
to
for x in range(1, int(np.ceil(major_cn))+1):
In the input, the columns major_cn and minor_cn are expected to be integers but some copy number callers like PURPLE output decimal places. Does the algorithm of pyclone-vi still make sense if used with non-integer copy numbers?
If so, I found that changing just one line of code gets the program working. Line 115 in data.py should be changed from
for x in range(1, major_cn + 1):
tofor x in range(1, int(np.ceil(major_cn))+1):