filter_canonical_nucleotides#

biotite.structure.filter_canonical_nucleotides(array)[source]#

Filter all atoms of one array that belong to canonical nucleotides.

Parameters:
arrayAtomArray or AtomArrayStack

The array to be filtered.

Returns:
filterndarray, dtype=bool

This array is True for all indices in array, where the atom belongs to a canonical nucleotide.