CGRphylo2
Chaos Game Representation for Phylogenetic Analysis
Bioconductor version: 3.24 · Package version: 0.99.2
An alignment-free phylogenetic analysis method for viral genomes using Chaos Game Representation (CGR), a technique based on statistical physics concepts. Viruses exhibit high mutation rates, facilitating rapid evolution and emergence of new species, subspecies, strains, and recombinant forms. Accurate classification is crucial for understanding viral evolution and therapeutic development. Traditional phylogenetic methods require sequence alignment, which is computationally intensive. CGRphylo2 addresses this by implementing CGR-based whole-genome comparison that is fast, accurate, and computationally efficient. The package successfully classifies closely related viral lineages (demonstrated on SARS-CoV-2 lineages A and B), identifies recombinants (such as the XBB variant), and distinguishes multiple strains simultaneously. It processes sequences 5-13.7x faster than alignment-based methods (Clustal-Omega) with linear computational scaling. As a k-mer based approach, it enables simultaneous comparison of numerous closely-related sequences of different lengths. The package creates frequency matrices for distance calculations and phylogenetic tree construction, with outputs compatible with standard formats (MEGA, PHYLIP, Newick). Methods are based on Thind and Sinha (2023) <doi:10.2174/0113892029264990231013112156>.
Installation
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("CGRphylo2") Details
| Maintainer | Amarinder Singh Thind <thind.amarinder@gmail.com> |
| Author | Amarinder Singh Thind [aut, cre] (ORCID: <https://orcid.org/0000-0003-4592-0380>) |
| License | GPL-3 |
| URL | https://github.com/amarinderthind/CGRphylo2 |
| Bug Reports | https://github.com/amarinderthind/CGRphylo2/issues |
| Downloads rank | 51 |
| Source branch | devel |
| biocViews | Alignment, Classification, Clustering, Genetics, MultipleComparison, MultipleSequenceAlignment, Phylogenetics, SequenceMatching, Software, Visualization |
Documentation
Download
Follow the installation instructions to use this package in your R session.
| Source package | CGRphylo2_0.99.2.tar.gz |
| Windows binary (x86_64) | CGRphylo2_0.99.2.zip |
| macOS binary (arm64) | CGRphylo2_0.99.2.tgz |
| macOS binary (x86_64) | CGRphylo2_0.99.2.tgz |
Dependencies
Depends: R (>= 4.5.0)
Imports: BiocParallel, Biostrings
Suggests: BiocStyle, knitr, rmarkdown, testthat (>= 3.0.0), ape, seqinr, stringr, ggplot2, RColorBrewer, treeio