annotate_sse
#
- biotite.structure.annotate_sse(atom_array)[source]#
Calculate the secondary structure elements (SSEs) of a peptide chain based on the P-SEA algorithm. [1]
The annotation is based CA coordinates only, specifically distances and dihedral angles. Discontinuities between chains are detected by residue ID.
- Parameters:
- atom_arrayAtomArray
The atom array to annotate for. Non-peptide residues are also allowed and obtain a
''
SSE.
- Returns:
- ssendarray
An array containing the secondary structure elements, where the index corresponds to a residue of atom_array (see e.g.
get_residues()
).'a'
means \({\alpha}\)-helix,'b'
means \({\beta}\)-strand/sheet,'c'
means coil.''
indicates that a residue is not an amino acid or it comprises noCA
atom.
Notes
Although this function is based on the original P-SEA algorithm, there are deviations compared to the official P-SEA software in some cases. Do not rely on getting the exact same results.
References
Examples
SSE of PDB 1L2Y:
>>> sse = annotate_sse(atom_array) >>> print(sse) ['c' 'a' 'a' 'a' 'a' 'a' 'a' 'a' 'a' 'c' 'c' 'c' 'c' 'c' 'c' 'c' 'c' 'c' 'c' 'c']
Gallery#
Three ways to get the secondary structure of a protein