Tryptophan allosterically controls the 11-subunit trp RNA-binding attenuation protein (TRAP) of Bacillus subtilis. When activated by tryptophan, TRAP binds to multiple trinucleotide repeats in target transcripts. TRAP is responsible for the decision to terminate transcription in the leader region of the trpEDCFBA operon or to allow transcription to proceed into the structural genes. TRAP also regulates translation of trpE by promoting formation of an RNA structure that prevents ribosome binding. In addition, bound TRAP regulates translation initiation of pabA, trpP and ycbK by directly blocking ribosome binding. The anti-TRAP protein inhibits TRAP activity by competing with RNA for the RNA binding surface of TRAP.