Using chemical reactivity profiles of nucleotides to infer structure of RNA