biotite.structure.get_chains

biotite.structure.get_chains(array)[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.

See also

get_residues