! MolScript v1.4
!
! ras p21 GDP solution structure
!
! ref: P J Kraulis, P J Domaille, S L Campbell-Burk, T Van Aken & E D Laue,
!      Biochemistry (1994) in press.
!
! overview, schematic, looking from the top, black and white
!
! Per Kraulis, Dept Biochemistry, University of Cambridge, UK.
!              Ctr f Structural Biochemistry, Karolinska Inst, Sweden.
!   7-Jul-1993
!  21-Sep-1993
!  23-Dec-1993


@macros.in				! define a few useful macros


plot

  window 42.0;    slab 38.0;

  read tmp "rasp21nmrave.pdb";

  $delete_hydrogens			! macro to delete hydrogens

  @view1.in				! define view 1; this is an example
					! of input file stream redirection

  transform atom * by recall-matrix;	! using matrix defined in view1.in

  set segments 12;

  turn from 1 to 2;
  strand from 2 to 9;
  turn from 9 to 16;
  helix from 16 to 25;
  coil from 25 to 38;
  strand from 38 to 46;
  turn from 46 to 49;
  strand from 49 to 58;
  coil from 58 to 66;
  helix from 66 to 74;
  turn from 74 to 77;
  strand from 77 to 83;
  turn from 83 to 87;
  helix from 87 to 104;
  turn from 104 to 111;
  strand from 111 to 116;
  coil from 116 to 127;
  helix from 127 to 137;
  turn from 137 to 141;
  strand from 141 to 144;
  coil from 144 to 152;
  helix from 152 to 164;
  turn from 164 to 166;

  $black_white_atoms

  ball-and-stick in type GDP;

  set depthcue 0.2;

  set labeloffset 0.0 -1.0 0.0;
  label require atom CA and in residue 1 "N-term";
  set labeloffset 1.4 1.0 0.0;
  label require atom CA and in residue 12 "%c%r";
  set labeloffset -0.7 -2.2 0.0;
  label require atom CA and in residue 25 "%c%r";
  set labeloffset 2.0 0.0 0.0;
  label require atom CA and in residue 38 "%c%r";
  set labeloffset -1.5 0.0 0.0;
  label require atom CA and in residue 47 "%c%r";
  set labeloffset -1.2 2.0 0.0;
  label require atom CA and in residue 61 "%c%r";
  set labeloffset -1.5 0.0 0.0;
  label require atom CA and in residue 66 "%c%r";
  set labeloffset -3.0 0.0 0.0;
  label require atom CA and in residue 86 "%c%r";
  set labeloffset 1.0 1.5 0.0;
  label require atom CA and in residue 122 "%c%r";
  set labeloffset 1.0 -2.5 0.0;
  label require atom CA and in residue 147 "%c%r";
  set labeloffset -5.5 -2.0 0.0;
  label require atom CA and in residue 166 "C-term";

  set labelsize 40.0, labeloffset 0.0 0.0 0.0;
  label 0.0 22.0 0.0 "ras p21 GDP";

end_plot