|
@@ -59,11 +59,10 @@ residues = pdb_file.residues
|
59
|
59
|
bridges = get_bridges(residues)
|
60
|
60
|
ladders = get_ladders(bridges, residues)
|
61
|
61
|
sheets = get_sheets(ladders)
|
62
|
|
-
|
|
62
|
+helix = build_helix_patterns(residues)
|
63
|
63
|
# iterating over residues
|
64
|
64
|
for i,res in enumerate(residues):
|
65
|
65
|
#res.get_turns(residues, turns)
|
66
|
|
- #res.get_helix(residues)
|
67
|
66
|
kappa = res.get_bends(residues)[0]
|
68
|
67
|
bend_symbol = res.get_bends(residues)[1]
|
69
|
68
|
t_co = res.get_tco(residues)
|
|
@@ -78,5 +77,10 @@ for i,res in enumerate(residues):
|
78
|
77
|
turn_3 = print_turn_pattern(residues, res, turns[0])
|
79
|
78
|
turn_4 = print_turn_pattern(residues, res, turns[1])
|
80
|
79
|
turn_5 = print_turn_pattern(residues, res, turns[2])
|
81
|
|
- print(i+1, res.resid, res.chain_id, res.res_letter, turn_3, turn_4, turn_5, bend_symbol, chirality, round(t_co, 3), round(kappa,1),
|
82
|
|
- round(alpha, 1), round(phi, 1), round(psi,1), round(x_ca,1), round(y_ca,1), round(z_ca,1))
|
|
80
|
+
|
|
81
|
+ helix_3 = print_helix_pattern(residues, res, helix[0])
|
|
82
|
+ helix_4 = print_helix_pattern(residues, res, helix[1])
|
|
83
|
+ helix_5 = print_helix_pattern(residues, res, helix[2])
|
|
84
|
+
|
|
85
|
+ print(i+1, res.resid, res.chain_id, res.res_letter, helix_3, helix_4, helix_5, turn_3, turn_4, turn_5, bend_symbol, chirality, round(t_co, 3), round(kappa,1),
|
|
86
|
+ round(alpha, 1), round(phi, 1), round(psi,1), round(x_ca,1), round(y_ca,1), round(z_ca,1))
|