The Bacillus subtilis tryptophan (trpEDCFBA) operon is regulated by transcription attenuation. Transcription is controlled by two alternative RNA secondary structures, which form in the leader transcript. In the presence of L-tryptophan, a transcription terminator forms and the operon is not expressed, whereas in the absence of tryptophan, an antiterminator structure forms allowing transcription of the operon. The mechanism of selection between these alternative structures involves a trans-acting RNA-binding regulatory protein. This protein is the product of the mtrB gene and is called TRAP for trp attenuation protein. TRAP has been shown to bind specifically to trp leader RNA, and to cause transcription of the trp operon to terminate in the leader region. The model for regulation suggests that in the presence of tryptophan, TRAP binds to the leader RNA and induces formation of the transcription terminator structure, whereas in the absence of tryptophan, the protein does not bind and the antiterminator is formed.