Package schrodinger :: Package application :: Package msv :: Package gui :: Module color
[hide private]
[frames] | no frames]

Module color

Contains the color scheme constants for msv

Classes [hide private]
  ColorCell
  RowColorScheme
A color scheme for a row in MSV
  PositionScheme
A scheme that handles coloring residues according to the length of the sequence
Variables [hide private]
  RES_TYPE_COLORS = [ColorCell(* args) for args in [("A", (129, ...
  TAYLOR_COLORS = [ColorCell(* args) for args in [("A", (200, 25...
  HYDROPHOBICITY_KD_COLORS = [ColorCell(* args) for args in [("A...
  HYDROPHOBICITY_HW_COLORS = [ColorCell(* args) for args in [("A...
  SECONDARY_STRUCTURE_COLORS = [ColorCell(* args) for args in [(...
  B_FACTOR_COLORS = []
  helix_propensity_label = 'Helix Propensity Color Code:\nred - ...
  HELIX_PROPENSITY_COLORS = [ColorCell(* args) for args in [(res...
  BETA_STRAND_PROPENSITY_COLORS = [ColorCell(* args) for args in...
  HYDROPHOBICITY_BAR_COLORS = [ColorCell('hydrophobicity', (240,...
  ISOELECTRIC_BAR_COLORS = [ColorCell('isoelectric', (160, 240, ...
  ResidueType = RowColorScheme(RES_TYPE_COLORS)
  Taylor = RowColorScheme(TAYLOR_COLORS)
  Hydrophobicity = RowColorScheme(HYDROPHOBICITY_KD_COLORS, lamb...
  SecondaryStructure = RowColorScheme(SECONDARY_STRUCTURE_COLORS...
  BFactor = RowColorScheme(B_FACTOR_COLORS, lambda residue: resi...
  Position = PositionScheme({}, lambda residue: residue.resnum)
  HelixPropensity = RowColorScheme(HELIX_PROPENSITY_COLORS, lamb...
  BetaStrandPropensity = RowColorScheme(BETA_STRAND_PROPENSITY_C...
  HydrophobicityBar = RowColorScheme(HYDROPHOBICITY_BAR_COLORS, ...
  IsoelectricBar = RowColorScheme(ISOELECTRIC_BAR_COLORS, lambda...
  __package__ = 'schrodinger.application.msv.gui'
  args = (<BETA_STRAND_PROPENSITY.STRAND_FORMING: 4>, (240, 64, ...
Variables Details [hide private]

RES_TYPE_COLORS

Value:
[ColorCell(* args) for args in [("A", (129, 245, 137)), ("C", (240, 24\
0, 32)), ("D", (240, 128, 128)), ("E", (240, 128, 128)), ("F", (240, 1\
20, 32)), ("G", (129, 245, 137)), ("H", (128, 128, 240)), ("I", (129, \
245, 137)), ("K", (128, 128, 240)), ("L", (129, 245, 137)), ("M", (129\
, 245, 137)), ("N", (51, 228, 240)), ("P", (126, 128, 128)), ("Q", (24\
0, 145, 50)), ("R", (128, 128, 240)), ("S", (51, 228, 240)), ("T", (51\
, 228, 240)), ("V", (129, 245, 137)), ("W", (240, 120, 32)), ("Y", (24\
0, 120, 32)),]]

TAYLOR_COLORS

Value:
[ColorCell(* args) for args in [("A", (200, 250, 0)), ("C", (250, 255,\
 0)), ("D", (250, 0, 0)), ("E", (250, 0, 100)), ("F", (0, 250, 100)), \
("G", (250, 150, 0)), ("H", (0, 100, 250)), ("I", (100, 250, 0)), ("K"\
, (100, 0, 250)), ("L", (50, 250, 0)), ("M", (0, 250, 0)), ("N", (200,\
 0, 250)), ("P", (250, 200, 0)), ("Q", (250, 0, 200)), ("R", (0, 0, 25\
0)), ("S", (250, 50, 0)), ("T", (250, 100, 0)), ("V", (150, 250, 0)), \
("W", (0, 200, 250)), ("Y", (0, 250, 200)),]]

HYDROPHOBICITY_KD_COLORS

Value:
[ColorCell(* args) for args in [("A", (255, 153, 153)), ("C", (255, 11\
3, 113)), ("D", (56, 56, 255)), ("E", (56, 56, 255)), ("F", (255, 96, \
96)), ("G", (232, 232, 255)), ("H", (73, 73, 255)), ("I", (255, 0, 0))\
, ("K", (34, 34, 255)), ("L", (255, 39, 39)), ("M", (255, 147, 147)), \
("N", (56, 56, 255)), ("P", (164, 164, 255)), ("Q", (56, 56, 255)), ("\
R", (0, 0, 255)), ("S", (209, 209, 255)), ("T", (215, 215, 255)), ("V"\
, (255, 16, 16)), ("W", (204, 204, 255)), ("Y", (181, 181, 255)),]]

HYDROPHOBICITY_HW_COLORS

Value:
[ColorCell(* args) for args in [("A", (217, 217, 255)), ("C", (179, 17\
9, 255)), ("D", (255, 30, 30)), ("E", (255, 30, 30)), ("F", (67, 67, 2\
55)), ("G", (255, 255, 255)), ("H", (217, 217, 255)), ("I", (120, 120,\
 255)), ("K", (255, 30, 30)), ("L", (120, 120, 255)), ("M", (157, 157,\
 255)), ("N", (255, 240, 240)), ("P", (255, 255, 255)), ("Q", (255, 24\
0, 240)), ("R", (255, 30, 30)), ("S", (255, 232, 232)), ("T", (225, 22\
5, 255)), ("V", (142, 142, 255)), ("W", (0, 0, 255)), ("Y", (82, 82, 2\
55)),]]

SECONDARY_STRUCTURE_COLORS

Value:
[ColorCell(* args) for args in [(structure.SS_NONE, (255, 255, 255)), \
(structure.SS_LOOP, (255, 255, 255)), (structure.SS_HELIX, (240, 96, 6\
4)), (structure.SS_STRAND, (32, 32, 32)), (structure.SS_TURN, (255, 25\
5, 255))]]

helix_propensity_label

Value:
'''Helix Propensity Color Code:
red - helix-forming
magenta - weak helix-forming
grey - ambivalent
blue - helix-breaking
white - no propensity'''

HELIX_PROPENSITY_COLORS

Value:
[ColorCell(* args) for args in [(residue.HELIX_PROPENSITY.NO_PROPENSIT\
Y, (255, 255, 255), helix_propensity_label), (residue.HELIX_PROPENSITY\
.LIKELY, (240, 64, 64), helix_propensity_label), (residue.HELIX_PROPEN\
SITY.WEAK, (128, 64, 192), helix_propensity_label), (residue.HELIX_PRO\
PENSITY.AMBIVALENT, (128, 128, 128), helix_propensity_label), (residue\
.HELIX_PROPENSITY.HELIX_BREAKING, (64, 64, 240), helix_propensity_labe\
l)]]

BETA_STRAND_PROPENSITY_COLORS

Value:
[ColorCell(* args) for args in [(residue.BETA_STRAND_PROPENSITY.NO_PRO\
PENSITY, (255, 255, 255)), (residue.BETA_STRAND_PROPENSITY.STRAND_BREA\
KING, (64, 64, 240)), (residue.BETA_STRAND_PROPENSITY.AMBIVALENT, (128\
, 128, 128)), (residue.BETA_STRAND_PROPENSITY.STRAND_FORMING, (240, 64\
, 64))]]

HYDROPHOBICITY_BAR_COLORS

Value:
[ColorCell('hydrophobicity', (240, 160, 240))]

ISOELECTRIC_BAR_COLORS

Value:
[ColorCell('isoelectric', (160, 240, 192))]

Hydrophobicity

Value:
RowColorScheme(HYDROPHOBICITY_KD_COLORS, lambda residue: residue.hydro\
phobicity)

SecondaryStructure

Value:
RowColorScheme(SECONDARY_STRUCTURE_COLORS, lambda residue: residue.sec\
ondary_structure)

BFactor

Value:
RowColorScheme(B_FACTOR_COLORS, lambda residue: residue.b_factor)

HelixPropensity

Value:
RowColorScheme(HELIX_PROPENSITY_COLORS, lambda residue: residue.helix_\
propensity)

BetaStrandPropensity

Value:
RowColorScheme(BETA_STRAND_PROPENSITY_COLORS, lambda residue: residue.\
beta_strand_propensity)

HydrophobicityBar

Value:
RowColorScheme(HYDROPHOBICITY_BAR_COLORS, lambda residue: "hydrophobic\
ity")

IsoelectricBar

Value:
RowColorScheme(ISOELECTRIC_BAR_COLORS, lambda residue: "isoelectric")

args

Value:
(<BETA_STRAND_PROPENSITY.STRAND_FORMING: 4>, (240, 64, 64))