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
namebelongs 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_namesand cover standard DNA and RNA nucleotides.Added in version 1.0.0.