MAminoAcidsQ

MAminoAcidsQ[ hexpr ]
returns True if hexpr is a peptidic chain and False otherwise.
  • The function tests the content of the chain descriptor "Type". Two types are known from Molecula: "AminoAcids" and "NucleicAcids".
In[1]:=
Click for copyable input
Loads a sample model:
In[2]:=
Click for copyable input
Out[2]=
Tests if chain has the amino acid tag:
In[3]:=
Click for copyable input
Out[3]=
Tests if all residues of chain are amino acids:
In[4]:=
Click for copyable input
Out[4]=