keyword-embeddings-space / constants.py
latticetower's picture
fix avxline in plots, use common legend in gradio, add reaction and loading on launch
b40aac1
raw
history blame
627 Bytes
import seaborn as sns
POSTER_BLUE = '#01589C'
BIOSYN_CLASS_NAMES = ['Alkaloid', 'NRP', 'Polyketide', 'RiPP', 'Saccharide', 'Terpene', "Other"]
SINGLE_DOMAINS_FILE = 'data/single_domains.csv.gz'
PAIR_DOMAINS_FILE = 'data/pair_domains.csv.gz'
BIOSYN_CLASS_HEX_COLORS = {
'Alkaloid': '#a1c9f4',
'NRP': '#ffb482',
'Polyketide': '#8de5a1',
'RiPP': '#ff9f9b',
'Saccharide': '#d0bbff',
'Terpene': '#debb9b',
'Other': '#cfcfcf',
# 'stratified': '#01589C', # just in case
}
COLOR_PALETTE = sns.color_palette([
BIOSYN_CLASS_HEX_COLORS[biosyn_class]
for biosyn_class in BIOSYN_CLASS_NAMES
])