Cargando…

Pathological rate matrices: from primates to pathogens

BACKGROUND: Continuous-time Markov models allow flexible, parametrically succinct descriptions of sequence divergence. Non-reversible forms of these models are more biologically realistic but are challenging to develop. The instantaneous rate matrices defined for these models are typically transform...

Descripción completa

Detalles Bibliográficos
Autores principales: Schranz, Harold W, Yap, Von Bing, Easteal, Simon, Knight, Rob, Huttley, Gavin A
Formato: Texto
Lenguaje:English
Publicado: BioMed Central 2008
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2639438/
https://www.ncbi.nlm.nih.gov/pubmed/19099591
http://dx.doi.org/10.1186/1471-2105-9-550
_version_ 1782164464817143808
author Schranz, Harold W
Yap, Von Bing
Easteal, Simon
Knight, Rob
Huttley, Gavin A
author_facet Schranz, Harold W
Yap, Von Bing
Easteal, Simon
Knight, Rob
Huttley, Gavin A
author_sort Schranz, Harold W
collection PubMed
description BACKGROUND: Continuous-time Markov models allow flexible, parametrically succinct descriptions of sequence divergence. Non-reversible forms of these models are more biologically realistic but are challenging to develop. The instantaneous rate matrices defined for these models are typically transformed into substitution probability matrices using a matrix exponentiation algorithm that employs eigendecomposition, but this algorithm has characteristic vulnerabilities that lead to significant errors when a rate matrix possesses certain 'pathological' properties. Here we tested whether pathological rate matrices exist in nature, and consider the suitability of different algorithms to their computation. RESULTS: We used concatenated protein coding gene alignments from microbial genomes, primate genomes and independent intron alignments from primate genomes. The Taylor series expansion and eigendecomposition matrix exponentiation algorithms were compared to the less widely employed, but more robust, Padé with scaling and squaring algorithm for nucleotide, dinucleotide, codon and trinucleotide rate matrices. Pathological dinucleotide and trinucleotide matrices were evident in the microbial data set, affecting the eigendecomposition and Taylor algorithms respectively. Even using a conservative estimate of matrix error (occurrence of an invalid probability), both Taylor and eigendecomposition algorithms exhibited substantial error rates: ~100% of all exonic trinucleotide matrices were pathological to the Taylor algorithm while ~10% of codon positions 1 and 2 dinucleotide matrices and intronic trinucleotide matrices, and ~30% of codon matrices were pathological to eigendecomposition. The majority of Taylor algorithm errors derived from occurrence of multiple unobserved states. A small number of negative probabilities were detected from the Padé algorithm on trinucleotide matrices that were attributable to machine precision. Although the Padé algorithm does not facilitate caching of intermediate results, it was up to 3× faster than eigendecomposition on the same matrices. CONCLUSION: Development of robust software for computing non-reversible dinucleotide, codon and higher evolutionary models requires implementation of the Padé with scaling and squaring algorithm.
format Text
id pubmed-2639438
institution National Center for Biotechnology Information
language English
publishDate 2008
publisher BioMed Central
record_format MEDLINE/PubMed
spelling pubmed-26394382009-02-11 Pathological rate matrices: from primates to pathogens Schranz, Harold W Yap, Von Bing Easteal, Simon Knight, Rob Huttley, Gavin A BMC Bioinformatics Research Article BACKGROUND: Continuous-time Markov models allow flexible, parametrically succinct descriptions of sequence divergence. Non-reversible forms of these models are more biologically realistic but are challenging to develop. The instantaneous rate matrices defined for these models are typically transformed into substitution probability matrices using a matrix exponentiation algorithm that employs eigendecomposition, but this algorithm has characteristic vulnerabilities that lead to significant errors when a rate matrix possesses certain 'pathological' properties. Here we tested whether pathological rate matrices exist in nature, and consider the suitability of different algorithms to their computation. RESULTS: We used concatenated protein coding gene alignments from microbial genomes, primate genomes and independent intron alignments from primate genomes. The Taylor series expansion and eigendecomposition matrix exponentiation algorithms were compared to the less widely employed, but more robust, Padé with scaling and squaring algorithm for nucleotide, dinucleotide, codon and trinucleotide rate matrices. Pathological dinucleotide and trinucleotide matrices were evident in the microbial data set, affecting the eigendecomposition and Taylor algorithms respectively. Even using a conservative estimate of matrix error (occurrence of an invalid probability), both Taylor and eigendecomposition algorithms exhibited substantial error rates: ~100% of all exonic trinucleotide matrices were pathological to the Taylor algorithm while ~10% of codon positions 1 and 2 dinucleotide matrices and intronic trinucleotide matrices, and ~30% of codon matrices were pathological to eigendecomposition. The majority of Taylor algorithm errors derived from occurrence of multiple unobserved states. A small number of negative probabilities were detected from the Padé algorithm on trinucleotide matrices that were attributable to machine precision. Although the Padé algorithm does not facilitate caching of intermediate results, it was up to 3× faster than eigendecomposition on the same matrices. CONCLUSION: Development of robust software for computing non-reversible dinucleotide, codon and higher evolutionary models requires implementation of the Padé with scaling and squaring algorithm. BioMed Central 2008-12-19 /pmc/articles/PMC2639438/ /pubmed/19099591 http://dx.doi.org/10.1186/1471-2105-9-550 Text en Copyright © 2008 Schranz et al; licensee BioMed Central Ltd. http://creativecommons.org/licenses/by/2.0 This is an Open Access article distributed under the terms of the Creative Commons Attribution License ( (http://creativecommons.org/licenses/by/2.0) ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Research Article
Schranz, Harold W
Yap, Von Bing
Easteal, Simon
Knight, Rob
Huttley, Gavin A
Pathological rate matrices: from primates to pathogens
title Pathological rate matrices: from primates to pathogens
title_full Pathological rate matrices: from primates to pathogens
title_fullStr Pathological rate matrices: from primates to pathogens
title_full_unstemmed Pathological rate matrices: from primates to pathogens
title_short Pathological rate matrices: from primates to pathogens
title_sort pathological rate matrices: from primates to pathogens
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2639438/
https://www.ncbi.nlm.nih.gov/pubmed/19099591
http://dx.doi.org/10.1186/1471-2105-9-550
work_keys_str_mv AT schranzharoldw pathologicalratematricesfromprimatestopathogens
AT yapvonbing pathologicalratematricesfromprimatestopathogens
AT eastealsimon pathologicalratematricesfromprimatestopathogens
AT knightrob pathologicalratematricesfromprimatestopathogens
AT huttleygavina pathologicalratematricesfromprimatestopathogens