Characterizing complex structural variation in germline and somatic genomes.