| 1 |
#ifndef AVOGADRO_CORE_RESIDUE_COLORS |
| 2 |
#define AVOGADRO_CORE_RESIDUE_COLORS |
| 3 |
|
| 4 |
namespace Avogadro::Core { |
| 5 |
|
| 6 |
unsigned char chain_color[][3] = { |
| 7 |
// clang-format off |
| 8 |
// See, for example http://jmol.sourceforge.net/jscolors/index.en.html |
| 9 |
// # A # B # C # D |
| 10 |
{ 192, 208, 255 },{ 176, 255, 176 },{ 255, 192, 200 },{ 204, 128, 255 }, |
| 11 |
// # E # F # G # H |
| 12 |
{ 255, 192, 255 },{ 176, 240, 240 },{ 255, 208, 112 },{ 240, 128, 128 }, |
| 13 |
// # I # J # K # L |
| 14 |
{ 245, 222, 179 },{ 0, 191, 255 }, { 205, 92, 92 }, { 102, 205, 170 }, |
| 15 |
// # M # N # O # P |
| 16 |
{ 154, 205, 50 }, { 238, 130, 238 },{ 0, 206, 209 }, { 0, 255, 127 }, |
| 17 |
// # Q # R # S # T |
| 18 |
{ 60, 179, 113 }, { 0, 0, 139 }, { 189, 183, 107 }, { 0, 100, 0 }, |
| 19 |
// # U # V # W # X |
| 20 |
{ 128, 0, 0 }, { 128, 128, 0 }, { 128, 128, 0 }, { 0, 128, 128 }, |
| 21 |
// # Y # Z |
| 22 |
{ 184, 134, 11 }, { 178, 34, 34 } |
| 23 |
// clang-format on |
| 24 |
}; |
| 25 |
|
| 26 |
unsigned char amino_color[][3] = { |
| 27 |
// clang-format off |
| 28 |
// See, for example http://jmol.sourceforge.net/jscolors/index.en.html |
| 29 |
// # Ala # Arg # Asn # Asp |
| 30 |
{ 200, 200, 200 },{ 20, 90, 255 },{ 0, 220, 220 },{ 230, 10, 10 }, |
| 31 |
// # Cys # Gln # Glu # Gly |
| 32 |
{ 230, 230, 0 },{ 0, 220, 220 },{ 230, 10, 10 },{ 235, 235, 235 }, |
| 33 |
// # His # Ile # Leu # Lys |
| 34 |
{ 130, 130, 255 },{ 15, 130, 15 },{ 15, 130, 15 },{ 20, 90, 255 }, |
| 35 |
// # Met # Phe # Pro # Ser |
| 36 |
{ 230, 230, 0 },{ 50, 50, 170 },{ 220, 150, 130 },{ 250, 150, 0 }, |
| 37 |
// # Thr # Trp # Tyr # Val |
| 38 |
{ 250, 150, 0 },{ 180, 90, 180 },{ 50, 50, 170 },{ 15, 130, 15 }, |
| 39 |
// # Asx # Glx # Anything else |
| 40 |
{ 255, 105, 180 },{ 255, 105, 180 }, { 190, 160, 110} |
| 41 |
// clang-format on |
| 42 |
}; |
| 43 |
|
| 44 |
unsigned char shapely_color[][3] = { |
| 45 |
// clang-format off |
| 46 |
// See, for example http://jmol.sourceforge.net/jscolors/index.en.html |
| 47 |
// # Ala # Arg # Asn # Asp |
| 48 |
{ 140, 255, 140 },{ 0, 0, 124 },{ 255, 124, 112 },{ 160, 0, 66 }, |
| 49 |
// # Cys # Gln # Glu # Gly |
| 50 |
{ 255, 255, 112 },{ 255, 76, 76 },{ 102, 0, 0 },{ 255, 255, 255 }, |
| 51 |
// # His # Ile # Leu # Lys |
| 52 |
{ 112, 112, 255 },{ 0, 76, 0 },{ 69, 94, 69 },{ 71, 71, 184 }, |
| 53 |
// # Met # Phe # Pro # Ser |
| 54 |
{ 184, 160, 66 },{ 83, 76, 82 },{ 82, 82, 82 },{ 255, 112, 66 }, |
| 55 |
// # Thr # Trp # Tyr # Val |
| 56 |
{ 184, 76, 0 },{ 79, 70, 0 },{ 140, 112, 76 },{ 255, 140, 255 }, |
| 57 |
// # Asx # Glx # Anything else |
| 58 |
{ 255, 0, 255 },{ 255, 0, 255 }, { 255, 0, 255} |
| 59 |
// clang-format on |
| 60 |
}; |
| 61 |
|
| 62 |
unsigned char secondary_color[][3] = { |
| 63 |
// clang-format off |
| 64 |
// See, for example http://jmol.sourceforge.net/jscolors/index.en.html |
| 65 |
// using codes from MMTF |
| 66 |
// 0 = pi "I" # bend "S" # alpha "H" # beta "E" |
| 67 |
{ 96, 0, 128 },{ 255, 255, 255 },{ 255, 0, 128 }, { 255, 200, 0 }, |
| 68 |
// 4 = 3-10 "G" # bridge "B" # turn "T" # coil "C" |
| 69 |
{ 160, 0, 128 },{ 255, 255, 255 },{ 96, 128, 255 }, { 255, 255, 255 } |
| 70 |
// clang-format on |
| 71 |
}; |
| 72 |
|
| 73 |
} // namespace Avogadro::Core |
| 74 |
|
| 75 |
#endif |