An amino acid-specifying codon that has been converted to a stop codon (codon, terminator) by mutation. Its occurance is abnormal causing premature termination of protein translation and results in production of truncated and non-functional proteins. A nonsense mutation is one that converts an amino acid-specific codon to a stop codon.