You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
total 904M
drwxrwsr-x 2 shollizeck res_dawsongenomics 512 Oct 14 23:36 CA99_1d_cluster_plots
-rw-r--r-- 1 shollizeck res_dawsongenomics 549K Oct 14 23:34 CA99.cluster_ccfs.txt
-rw-rw-r-- 1 shollizeck res_dawsongenomics 1.7K Oct 14 23:36 CA99.cnvs.txt
-rw-r--r-- 1 shollizeck res_dawsongenomics 903M Oct 14 23:36 CA99.mut_ccfs.txt
-rw-rw-r-- 1 shollizeck res_dawsongenomics 111K Oct 14 23:36 CA99.unclustered.txt
but the 1d cluster plots folder is empty and the log file displays the following error at the end
Traceback (most recent call last):
File "/home/shollizeck/bin/PhylogicNDT/PhylogicNDT.py", line 515, in <module>
args.func(args)
File "/home/shollizeck/bin/PhylogicNDT/Cluster/Cluster.py", line 100, in run_tool
phylogicoutput.plot_1d_clusters('{}.cluster_ccfs.txt'.format(patient_data.indiv_name))
File "/home/shollizeck/bin/PhylogicNDT/output/PhylogicOutput.py", line 703, in plot_1d_clusters
dist.setAttribute('fill', ClusterColors.get_rgb_string(c))
File "/home/shollizeck/bin/PhylogicNDT/output/PhylogicOutput.py", line 1456, in get_rgb_string
return 'rgb({},{},{})'.format(*cls.color_list[c])
IndexError: list index out of range
Could it be, that the program ran out of colours to use, as the CA99.cluster_ccfs.txt says there are 81 clusters to be considered?
Cheers,
Sebastian
The text was updated successfully, but these errors were encountered:
Your intuition is correct, PhylogicNDT is limited to 58 colors for clusters. If there are any clusters with very few events (maybe less than 5), there is a high possibility that they are artifactual, and I would try blacklisting them.
sorry I was occupied with another project, so now that i am coming back I would like to fix this problem.
I ran PhylogicNDT again but without -rb, because i thought then i can blacklist the clusters which have low support, however the program still fails with the same error, so i cannot really blacklist clusters, before they are created.
nevertheless I then had a look at the cluster assignment you can see, that the smallest cluster is still 6 variants.
I could remove everything under 10 supporting variants, which seems arbitraty, but if thats the only way to get it to run I will try that. Is there an option for the clustering to supply a minimum amount of required support?
Hi,
I seem to have run into an issue when generating the plots with the command
~/bin/PhylogicNDT/PhylogicNDT.py Cluster -i CA99 -sif /dawson_genomics/Projects/CASCADE/CA99/analysis/phylogicNDT/samples.sif -rb --maf_input_type calc_ccf
There were file produced
but the 1d cluster plots folder is empty and the log file displays the following error at the end
Could it be, that the program ran out of colours to use, as the
CA99.cluster_ccfs.txt
says there are 81 clusters to be considered?Cheers,
Sebastian
The text was updated successfully, but these errors were encountered: