get_chains#
- biotite.structure.get_chains(array: AtomArray[N] | AtomArrayStack[M, N]) ndarray[tuple[K], dtype[str_]][source]#
Get the chain IDs of an atom array (stack).
The chains are listed in the same order they occur in the array (stack).
- Parameters:
- arrayAtomArray or AtomArrayStack
The atom array (stack), where the chains are determined.
- Returns:
- idsndarray, dtype=str
List of chain IDs.