Applications of next generation sequencing