The identification of genetic variations in the DNA sequence that can affect gene expression and transcriptome structure.