# Searching for sequence motifs characteristic for porins.
# This script covers the following patterns:
#
# aromatic-anything-aliphatic
# charged-anything-TYR-anything-hydrophobic
#
# 2004/04/26

# Hide water and other hetero atoms:
select hetero
hide

# Draw just a backbone, using blue color:
select complement
show
backbone 4
color cyan-blue

# Select the first pattern:
pattern = ARG LYS ASP GLU ASN GLN SER THR / * / ARG LYS ASP GLU ASN GLN SER THR / * / PHE TYR TRP / * / LEU ILE VAL ALA GLY MET / * / LEU ILE VAL ALA GLY MET
select pattern
color red

# Select the second pattern (the first pattern is reversed here):
pattern = LEU ILE VAL ALA GLY MET / * / LEU ILE VAL ALA GLY MET / * / PHE TYR TRP / * / ARG LYS ASP GLU ASN GLN SER THR / * / ARG LYS ASP GLU ASN GLN SER THR
select pattern
color yellow


