Dissecting the binding mechanisms of transcription factors to DNA using a statistical thermodynamics framework.