WGS involves extracting DNA from cancer cells, followed by high-throughput sequencing to read the entire genome. Advanced bioinformatics tools are then used to align these sequences to a reference genome, identify variations, and interpret their potential impact on cancer development and progression.