torsions列表表示氨基酸中侧链
二面角(torsion angle)的原子列表。
1. torsions
数据结构
torsions
是一个列表,长度为 22(对应20种标准氨基酸 +unk
(未知)+mask
(掩码))。- 每个元素是一个子列表,子列表包含最多 4 个子元素,每个子元素是由 4 个原子名组成的列表,表示一个 二面角(torsion angle) 的定义。
- 例外情况:
- 对于没有侧链二面角的氨基酸(如 Glycine, Alanine, Unk, Mask),对应的子列表为
[None, None, None, None]
。 - 如果一个氨基酸的侧链只有部分二面角,剩余位置也用
None
填充。
- 对于没有侧链二面角的氨基酸(如 Glycine, Alanine, Unk, Mask),对应的子列表为
2. 含义
- 每个元素定义一个二面角:
- 一个二面角由 4 个原子构成,表示四个原子之间的旋转角度(绕其中的键)。
源代码:
torsions=[[ None, None, None, None ], # ala[ [" N "," CA "," CB "," CG "], [" CA "," CB "," CG "," CD "], [" CB "," CG "," CD "," NE "], [" CG "," CD "," NE "," CZ "] ], # arg[ [" N "," CA "," CB "," CG "], [" CA "," CB "," CG "," OD1"], None, None ], # asn[ [" N "," CA ",&