DRAM icon indicating copy to clipboard operation
DRAM copied to clipboard

How to add classification for each genome in the html heatmap

Open jianshu93 opened this issue 4 years ago • 3 comments

Hello,

I am wondering how to add classification information for each genome like in the NAR paper in the html heatmap output.

Thanks,

Jianshu

jianshu93 avatar Mar 07 '21 01:03 jianshu93

The names shown in the product (the html heatmap) are the names of your bins. So you can change the names of your bins before annotating or change the values for the fasta column in your annotations.tsv and those are what will show up in the product. DRAM will also add full taxonomy strings before the presence/absence heatmap if you provide GTDB-tk output to your annotation.

shafferm avatar Mar 09 '21 19:03 shafferm

Impressive tool and many thanks for coming up with this! I noticed that in my product.html, gtdb taxonomy strings are only added to the Cazy heatmaps and so on but not the heatmaps representing the central metabolism and ETC complex modules. Those heatmaps oddly carry the bin/fasta file names. My command-line was- DRAM.py annotate -i 'MAGs/*.fasta' -o annotation --min_contig_size 1000 --gtdb_taxonomy gtdbtk.bac120.summary.tsv --checkm_quality checkm_results

I would appreciate if you've got any suggestions here

Anto007 avatar Sep 28 '21 06:09 Anto007

@shafferm it looks like this is coded into the product generating functions, and could be changed. I am curious why it is this way? Are we trying to ensure the connections to the bins is not lost?

rmFlynn avatar Oct 01 '21 16:10 rmFlynn

Yes that is the idea more or less

rmFlynn avatar Jan 13 '23 23:01 rmFlynn