Mechanisms of chromatin assembly and transcription