Sequence-encoded structure and function, from RNA to chromatin