Applications of next-generation sequencing technologies in functional genomics