|
@@ -64,13 +64,19 @@ sheets = get_sheets(ladders)
|
64
|
64
|
for i,res in enumerate(residues):
|
65
|
65
|
#res.get_turns(residues, turns)
|
66
|
66
|
#res.get_helix(residues)
|
67
|
|
- kappa = res.get_bends(residues)
|
|
67
|
+ kappa = res.get_bends(residues)[0]
|
|
68
|
+ bend_symbol = res.get_bends(residues)[1]
|
68
|
69
|
t_co = res.get_tco(residues)
|
69
|
70
|
alpha = res.get_chirality(residues)[0]
|
|
71
|
+ chirality = res.get_chirality(residues)[1]
|
70
|
72
|
phi = res.get_phi_psi(residues)[0]
|
71
|
73
|
psi = res.get_phi_psi(residues)[1]
|
72
|
74
|
x_ca = res.atoms["CA"].coord_x
|
73
|
75
|
y_ca = res.atoms["CA"].coord_y
|
74
|
76
|
z_ca = res.atoms["CA"].coord_z
|
75
|
|
- print(i+1, res.resid, res.chain_id, res.res_letter, round(t_co, 3), round(kappa,1),
|
|
77
|
+ turns = build_turns_patterns(residues)
|
|
78
|
+ turn_3 = print_turn_pattern(residues, res, turns[0])
|
|
79
|
+ turn_4 = print_turn_pattern(residues, res, turns[1])
|
|
80
|
+ 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),
|
76
|
82
|
round(alpha, 1), round(phi, 1), round(psi,1), round(x_ca,1), round(y_ca,1), round(z_ca,1))
|