User:Karsten Theis/AI tutorial: Difference between revisions
From Proteopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 201: | Line 201: | ||
</nowiki> | </nowiki> | ||
<scene name='https://proteopedia.org/wiki/scripts/10/100139/Spacefill/1.spt'>Green fluorescent protein</scene> | |||
<nowiki> | |||
load =1edm | |||
# define the central helix in GFP and the hydrophobic residues lining it | |||
define ~helix 57-71 | |||
define ~hydrophobic_liner 12, 14, 16, 18, 22, 27, 29, 42, 44, 46, 48, 98, 100, 110, 112, 114, 119, 123, 125, 150, 152, 161, 163, 165, 167, 179, 201, 207, 220, 224, 226 | |||
# Show a translucent ribbon for context (some of the colors are overridden later) | |||
select all | |||
Ribbon on; | |||
color atoms translucent 128 [xf0f8ff]; # aliceblue | |||
# The helix is shown as solid red spacefill | |||
select ~helix | |||
Spacefill 100% | |||
color atoms opaque [xdc143c]; # crimson | |||
# The side chains lining it are shown as solid whitish spacefill | |||
select sidechain and ~hydrophobic_liner | |||
color atoms opaque [xf0f8ff]; # aliceblue | |||
Spacefill 100% | |||
</nowiki> | |||