Input/output mapping in genes