molsysmt.element.group.nucleotide.is_nucleotide#

molsysmt.element.group.nucleotide.is_nucleotide(name)[source]#

Check whether a group name corresponds to a nucleotide residue.

Parameters:

name (str) – Residue or group name as stored in the topology (e.g. 'DA', 'DG', 'ADE', 'URA').

Returns:

True if name belongs to the set of known nucleotide group names, False otherwise.

Return type:

bool

Notes

The recognised names are defined in molsysmt.element.group.nucleotide.nucleotide_names and cover standard DNA and RNA nucleotides.

Added in version 1.0.0.