oschwengers / bakta

Rapid & standardized annotation of bacterial genomes, MAGs & plasmids
GNU General Public License v3.0
448 stars 55 forks source link

circos legend #278

Closed 3between7 closed 3 days ago

3between7 commented 7 months ago

Why is there no legend in the genome circle diagram? How to add legend ?Thanks!

oschwengers commented 7 months ago

Hi @3between7, excellent question! We just thought it might take too much space in the figures, so we skipped them. As we're currently thinking of rewriting the plotting code and move to a pure Python solution, we'll put the legend on our ToDo. However, I cannot make any assumptions yet, when this will be finished.

joao1980 commented 3 months ago

Hi, and thanks for the tool. I would also be interested in the legend. Would it b quicker to just add numbers inside the circos plot and place the legends outside of the rings? Cheers, Joao

oschwengers commented 3 days ago

FYI: I just merged a new branch replacing Circos by pyCirclize. Triggered by this, I also added a legend to Bakta's genome plots and added further parameters to the bakta_plot command to customize plots.

You can find some examples at /examples

For instance an entire genome or a single plasmid with CDS colored by COG functional categories.

I close this for now. Just in case, please do not hesitate to re-open this or a new one.