<commit_before>import * as _ from 'lodash';

// Default grey
export const BLACK = '#000000';
export const LIGHT_GREY = '#D3D3D3';
export const DEFAULT_GREY = "#BEBEBE";
export const DARK_GREY = '#A9A9A9';

// icon colors
export const ICON_FILTER_ON = BLACK;
export const ICON_FILTER_OFF = DEFAULT_GREY;

// Mutation colors
export const MUT_COLOR_MISSENSE = '#008000';
export const MUT_COLOR_MISSENSE_PASSENGER = '#53D400';
export const MUT_COLOR_INFRAME = '#993404';
export const MUT_COLOR_INFRAME_PASSENGER = '#a68028';
export const MUT_COLOR_TRUNC = BLACK;
export const MUT_COLOR_TRUNC_PASSENGER = '#708090';
export const MUT_COLOR_FUSION = '#8B00C9';
export const MUT_COLOR_PROMOTER = '#00B7CE';
export const MUT_COLOR_OTHER = '#cf58bc';//'#cfb537';

export const MRNA_COLOR_HIGH = "#ff9999";
export const MRNA_COLOR_LOW = "#6699cc";
export const MUT_COLOR_GERMLINE = '#FFFFFF';

export const PROT_COLOR_HIGH = "#ff3df8";
export const PROT_COLOR_LOW = "#00E1FF";

export const CNA_COLOR_AMP = "#ff0000";
export const CNA_COLOR_GAIN = "#ffb6c1";
export const CNA_COLOR_HETLOSS = "#8fd8d8";
export const CNA_COLOR_HOMDEL = "#0000ff";

export const DEFAULT_NA_COLOR = LIGHT_GREY;
export const DEFAULT_UNKNOWN_COLOR = DARK_GREY;

// clinical value colors
const CLI_YES_COLOR = "#109618";
const CLI_NO_COLOR = "#DC3912";
const CLI_FEMALE_COLOR = '#E0699E';
const CLI_MALE_COLOR = '#2986E2';

export let RESERVED_CLINICAL_VALUE_COLORS: { [value: string]: string } = {
    true: CLI_YES_COLOR,
    yes: CLI_YES_COLOR,
    positive: CLI_YES_COLOR,
    diseasefree: CLI_YES_COLOR,
    tumorfree: CLI_YES_COLOR,

    false: CLI_NO_COLOR,
    no: CLI_NO_COLOR,
    negative: CLI_NO_COLOR,
    recurred: CLI_NO_COLOR,
    progressed: CLI_NO_COLOR,
    'recurred/progressed': CLI_NO_COLOR,
    withtumor: CLI_NO_COLOR,

    female: CLI_FEMALE_COLOR,
    f: CLI_FEMALE_COLOR,

    male: CLI_MALE_COLOR,
    m: CLI_MALE_COLOR,

    other: DEFAULT_UNKNOWN_COLOR,

    unknown: DEFAULT_NA_COLOR,
    na: DEFAULT_NA_COLOR,

    missense: MUT_COLOR_MISSENSE,
    inframe: MUT_COLOR_INFRAME,
    truncating: MUT_COLOR_TRUNC,<commit_msg>Add color for two more researved clinical values<commit_after>import * as _ from 'lodash';

// Default grey
export const BLACK = '#000000';
export const LIGHT_GREY = '#D3D3D3';
export const DEFAULT_GREY = "#BEBEBE";
export const DARK_GREY = '#A9A9A9';

// icon colors
export const ICON_FILTER_ON = BLACK;
export const ICON_FILTER_OFF = DEFAULT_GREY;

// Mutation colors
export const MUT_COLOR_MISSENSE = '#008000';
export const MUT_COLOR_MISSENSE_PASSENGER = '#53D400';
export const MUT_COLOR_INFRAME = '#993404';
export const MUT_COLOR_INFRAME_PASSENGER = '#a68028';
export const MUT_COLOR_TRUNC = BLACK;
export const MUT_COLOR_TRUNC_PASSENGER = '#708090';
export const MUT_COLOR_FUSION = '#8B00C9';
export const MUT_COLOR_PROMOTER = '#00B7CE';
export const MUT_COLOR_OTHER = '#cf58bc';//'#cfb537';

export const MRNA_COLOR_HIGH = "#ff9999";
export const MRNA_COLOR_LOW = "#6699cc";
export const MUT_COLOR_GERMLINE = '#FFFFFF';

export const PROT_COLOR_HIGH = "#ff3df8";
export const PROT_COLOR_LOW = "#00E1FF";

export const CNA_COLOR_AMP = "#ff0000";
export const CNA_COLOR_GAIN = "#ffb6c1";
export const CNA_COLOR_HETLOSS = "#8fd8d8";
export const CNA_COLOR_HOMDEL = "#0000ff";

export const DEFAULT_NA_COLOR = LIGHT_GREY;
export const DEFAULT_UNKNOWN_COLOR = DARK_GREY;

// clinical value colors
const CLI_YES_COLOR = "#109618";
const CLI_NO_COLOR = "#DC3912";
const CLI_FEMALE_COLOR = '#E0699E';
const CLI_MALE_COLOR = '#2986E2';

export let RESERVED_CLINICAL_VALUE_COLORS: { [value: string]: string } = {
    true: CLI_YES_COLOR,
    yes: CLI_YES_COLOR,
    positive: CLI_YES_COLOR,
    diseasefree: CLI_YES_COLOR,
    tumorfree: CLI_YES_COLOR,
    living: CLI_YES_COLOR,

    false: CLI_NO_COLOR,
    no: CLI_NO_COLOR,
    negative: CLI_NO_COLOR,
    recurred: CLI_NO_COLOR,
    progressed: CLI_NO_COLOR,
    'recurred/progressed': CLI_NO_COLOR,
    withtumor: CLI_NO_COLOR,
    deceased: CLI_NO_COLOR,

    female: CLI_FEMALE_COLOR,
    f: CLI_FEMALE_COLOR,

    male: CLI_MALE_COLOR,
    m: CLI_MALE_COLOR,

    other: DEFAULT_UNKNOWN_COLOR,

    unknown: DEFAULT_NA_COLOR,
    na: DEFAULT_NA_COLOR,

    missense: MUT_COLOR_MISSENSE,
    inframe: MUT_COLOR_INFRAME,
    truncating: MUT_COLOR_TRUNC,
{'fraction_non_alphanumeric': 0.0988909426987061, 'fraction_numerical': 0.044824399260628464, 'mean_word_length': 5.328947368421052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7357978', 'n_tokens_mistral': 1823, 'n_tokens_neox': 1628, 'n_words': 368}