wilkelab / Opfi

A Python package for discovery, annotation, and analysis of gene clusters in genomics or metagenomics data sets.
https://opfi.readthedocs.io/
MIT License
21 stars 5 forks source link

Lets user define default color for operon visualizations. #105

Closed jimrybarski closed 4 years ago

jimrybarski commented 4 years ago

To define a default color, just add an empty key "" in the dictionary of protein names and colors.

While implementing this, I discovered a few bugs that were incidentally fixed by this change. Before, CRISPR arrays could not be assigned a color since their name would be modified to contain the repeat count. Ignored features could also not receive a color from the user.

Resolves #101.