orthonym.assembly.decorated_n_branch#
Note
Internal API. Names and behaviour may change between releases.
A group on an amide nitrogen that the PIN-tier amide prefix may cite: an alkyl group decorated with simple prefixes.
(the Blue Book): “Carbamoyl and amino groups may be substituted in the normal way”; the amide nitrogen
- of a chain carboxamide prefix carries its substituents as the prefixes of ‘amino’ (‘2-anilino-2-oxoethyl (preferred prefix)’,
:24603). A peptide named systematically (no PIN is identified for the peptide names of::2052) is built
from such prefixes: ‘(3S)-3-amino-4-({(2S)-1-[(carboxymethyl)amino]-3-(1H-indol-3-yl)-1-oxopropan-2-yl}amino)-4-oxobutanoic acid’, where each nitrogen carries a ‘carboxyalkyl’ or another chain carboxamide.
chain_carboxamide admitted only saturated alkyl or ring-bearing groups there. This module admits, besides those, a
saturated acyclic carbon chain whose other atoms are carboxy (-COOH), hydroxy, sulfanyl, methylsulfanyl or amino groups or
ring-bearing groups, and a group that is itself a chain carboxamide (the next residue). Every name is still read back and
spelling-checked; this decides only which shapes the PIN-tier located namer is asked to spell.
- orthonym.assembly.decorated_n_branch.decorated_alkyl_branch(mol, comp, start)#
True when the atoms
comp(entered atstart, a carbon) are a saturated acyclic carbon chain bearing only carboxy, hydroxy, sulfanyl, methylsulfanyl, amino and ring-bearing groups.
- orthonym.assembly.decorated_n_branch.acceptable_n_branch(mol, comp, start, n_idx)#
True for a group
compon the amide nitrogenn_idx(entered atstart) that the PIN-tier amide prefix may cite: ring-bearing, a decorated alkyl group (decorated_alkyl_branch()), or itself a chain carboxamide.