Genome sequencing as a diagnostic test