The amino acid residues must be specified by one letter codes.  The predefined residues are:
| A = alanine | L = leucine | 
| R = arginine | K = lysine | 
| N = asparagine | M = methionine | 
| D = aspartic acid | F = phenylalanine | 
| C = cysteine | P = proline | 
| E = glutamic acid | S = serine | 
| Q = glutamine | T = threonine | 
| G = glycine | W = tryptophan | 
| H = histidine | Y = tyrosine | 
If "trypsin" is specified, the sequence is cleaved on the c-terminal side of K and R residues, except if K or R is followed by P.  If "trypsin.strict" is specified, the sequence is cleaved on the c-terminal side of K and R residues. If "pepsin" is specified, the sequence is cleaved on the c-terminal side of F, L, W, Y, A, E, and Q residues.  This rule is specific to pepsin at pH \(>\) 2, as used in hydrogen-deuterium exchange experiments.
When "trypsin" is specified, KP and RP are not considered missed cleavages when missed is \(>\) 0.
The argument IAA specifies treatment of the protein with iodoacetamide.  This treatment produces iodoacetylated cysteine residues (elemental formula C5H8N2O2S).
If TRUE, the argument N15 specifies 100% nitrogen-15 incorporation.  It is intended for proteins grown with a nitrogen-15 labeled food source.  (Although the experiment itself may grow a protein with less than 100% nitrogen-15 incorporation).  Setting N15 = TRUE does not modify the mass of a custom residue, or the mass of the nitrogen(s) added if IAA = TRUE.
If a custom residue code is identical to a predefined residue code, the custom residue mass will be used in place of the predefined mass.
The error message “object "mass" not found” indicates the input sequence contains an undefined residue(s).