A bottom-up approach to gene regulation