UPHL-BioNGS / Cecret

Reference-based consensus creation
MIT License
44 stars 22 forks source link

Add heatmap for snp-dists output #198

Closed DrB-S closed 11 months ago

DrB-S commented 11 months ago

I have modified my version of HeatCluster.py to work with snp-dists output from Cecret as well as Grandeur.
HeatCluster-0.3.4.py.gz

DrB-S commented 11 months ago

I found a bug in the latest modification I sent yesterday. This new version solves the problem with a list compression.
HeatCluster-0.3.6.py.gz

erinyoung commented 11 months ago

Thanks!

I'm wondering, though, that since this script is used by more than one workflow, it might be easier to maintain it in a container that gets pulled by both workflows.

DrB-S commented 11 months ago

I have tested this latest version, HeatCluster-0.4.0.py, with both Cecret and Grandeur, so that it can be pulled by both workflows. I am also including two test snp matrix files (snp_matrix.txt and snp-dists.txt).
HeatCluster-0.4.0.py.gz snp_matrix.txt snp-dists.txt

DrB-S commented 11 months ago

Changed the name of the latest HeatCluster file to HeatCluster.py so that it can be directly compared with the current version. Need to learn how to create the test using the snp matrices, rather than testing by running HeatCluster.py manually. HeatCluster.py.gz

erinyoung commented 11 months ago

I'm closing this issue in favor of augmenting https://github.com/DrB-S/HeatCluster