Structure and function of coding and non-coding RNA domains