cgss = list("FHHHEETSCC") # Corresponding CG secondary structure types #@# #----+-------------------------------------------+ ## B | SECONDARY STRUCTURE PATTERN SUBSTITUTIONS | #----+-------------------------------------------+ # For all structure types specific dihedrals may be used if four or # more consecutive residues are assigned that type. # Helix start and end regions are special and require assignment of # specific types. The following pattern substitutions are applied # (in the given order). A dot matches any other type. # Patterns can be added to the dictionaries. This only makes sense # if for each key in patterns there is a matching key in pattypes. patterns = { "H": FUNC.pat( ".H. .HH. .HHH. .HHHH. .HHHHH. .HHHHHH. .HHHHHHH. .HHHH HHHH.") #@# } pattypes = { "H": FUNC.pat( ".3. .33. .333. .3333. .13332. .113322. .1113222. .1111 2222.") #@# } #----+----------+ ## C | INTERNAL | #----+----------+ # Pymol Colors # F E H 1 2 3 T S C ssnum = (13, 4, 2, 2, 2, 2, 6, 22, 0) #@# # Dictionary returning a number for a given type of secondary structure
#----+-------------------------------------------+ ## B | SECONDARY STRUCTURE PATTERN SUBSTITUTIONS | #----+-------------------------------------------+ # For all structure types specific dihedrals may be used if four or # more consecutive residues are assigned that type. # Helix start and end regions are special and require assignment of # specific types. The following pattern substitutions are applied # (in the given order). A dot matches any other type. # Patterns can be added to the dictionaries. This only makes sense # if for each key in patterns there is a matching key in pattypes. patterns = { "H": FUNC.pat(".H. .HH. .HHH. .HHHH. .HHHHH. .HHHHHH. .HHHHHHH. .HHHH HHHH.") #@# } pattypes = { "H": FUNC.pat(".3. .33. .333. .3333. .13332. .113322. .1113222. .1111 2222.") #@# } #----+----------+ ## C | INTERNAL | #----+----------+ # Pymol Colors # F E H 1 2 3 T S C ssnum = (13, 4, 2, 2, 2, 2, 6, 22, 0) #@#