hdng / clonevol

Inferring and visualizing clonal evolution in multi-sample cancer sequencing
GNU General Public License v3.0
141 stars 45 forks source link

ERROR: No clonal models for sample, if founding.cluster = NULL #36

Open SoloveyMaria opened 4 years ago

SoloveyMaria commented 4 years ago

Hi I am trying to run cloneEvol on sciClone results and I get the ERROR: No clonal models for sample, if founding.cluster = NULL. I have looked through the code of the ClonEvol.R file, an dI guess the problem might be that in the line 2211 of the file, founding.cluster is set from NULL to character(0) by founding.cluster = as.character(founding.cluster). It is then passed (as character(0) value) to the enumerate.clones function in the line 2292, which then corrupts the if(is.null(founding.cluster)) closure in line 350, which should be setting the cluster with the highest vaf as founding cluster.

hdng commented 4 years ago

Thanks for reporting the issue. I will note this as a bug.