What is the difference between whole genome sequencing (WGS) and whole exome sequencing (WES)?

Whole genome sequencing or WGS, is a technic to sequence the entire genome of an organism. In contrast, in whole exome sequencing (WES) we only sequence the region of the genome that codes for proteins.