Crystal structure of ArgP from Mycobacterium tuberculosis confirms two distinct conformations of full-length LysR transcriptional regulators and reveals its function in DNA binding and transcriptional regulation.