Bioconductor Developer Survey 2026 Now Open!

CGRphylo2

This is the development version of CGRphylo2; to use it, please install the devel version of Bioconductor.

Chaos Game Representation for Phylogenetic Analysis


Bioconductor version: Development (3.24)

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>.

Author: Amarinder Singh Thind [aut, cre] ORCID iD ORCID: 0000-0003-4592-0380

Maintainer: Amarinder Singh Thind <thind.amarinder at gmail.com>

Citation (from within R, enter citation("CGRphylo2")):

Amarinder Singh Thind. CGRphylo2: Chaos Game Representation for Phylogenetic Analysis. doi:10.18129/B9.bioc.CGRphylo2, R package version 0.99.2, https://bioconductor.org/packages/CGRphylo2.

Generated from the package metadata; it may differ from the package's own citation.

Installation

To install this package, start R (version "4.6") and enter:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

## The following initializes the development version of Bioconductor
BiocManager::install(version = "devel")

BiocManager::install("CGRphylo2")

For older versions of R, please refer to the appropriate Bioconductor release.

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("CGRphylo2")
Introduction to CGRphylo2 HTML R Script
Reference ManualPDF
NEWSText

Details

biocViews Alignment, Classification, Clustering, Genetics, MultipleComparison, MultipleSequenceAlignment, Phylogenetics, SequenceMatching, Software, Visualization
Version0.99.2
In Bioconductor sinceBioC 3.24 (R-4.6)
License GPL-3
Depends R (>= 4.5.0)
Imports BiocParallel, Biostrings
System Requirements
URLhttps://github.com/amarinderthind/CGRphylo2
Bug Reportshttps://github.com/amarinderthind/CGRphylo2/issues
See More
Suggests BiocStyle, knitr, rmarkdown, testthat (>= 3.0.0), ape, seqinr, stringr, ggplot2, RColorBrewer, treeio
Linking To
Enhances
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report, r-universe

Package Archives

Follow 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 (big-sur-x86_64) CGRphylo2_0.99.2.tgz
macOS Binary (sonoma-arm64) CGRphylo2_0.99.2.tgz
Source Repositorygit clone https://git.bioconductor.org/packages/CGRphylo2
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/CGRphylo2
Package Short Url https://bioconductor.org/packages/CGRphylo2/
Package Downloads ReportDownload Stats