Package: CGRphylo2 0.99.2
CGRphylo2: Chaos Game Representation for Phylogenetic Analysis
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>.
Authors:
CGRphylo2_0.99.2.tar.gz
CGRphylo2_0.99.2.zip(r-4.7)CGRphylo2_0.99.2.zip(r-4.6)CGRphylo2_0.99.2.zip(r-4.5)
CGRphylo2_0.99.2.tgz(r-4.6-any)CGRphylo2_0.99.2.tgz(r-4.5-any)
CGRphylo2_0.99.2.tar.gz(r-4.7-any)CGRphylo2_0.99.2.tar.gz(r-4.6-any)
CGRphylo2_0.99.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
CGRphylo2/json (API)
| # Install 'CGRphylo2' in R: |
| install.packages('CGRphylo2', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/amarinderthind/cgrphylo2/issues
On BioConductor:CGRphylo2-0.99.2(bioc 3.24)
phylogeneticsgeneticssequencematchingalignmentclusteringvisualizationsoftwaremultiplesequencealignmentmultiplecomparisonclassification
Last updated from:05a7d6639f. Checks:1 NOTE, 9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| bioc-checks | NOTE | 173 | ||
| linux-devel-x86_64 | OK | 251 | ||
| source / vignettes | OK | 306 | ||
| linux-release-x86_64 | OK | 208 | ||
| macos-release-arm64 | OK | 125 | ||
| macos-oldrel-arm64 | OK | 121 | ||
| windows-devel | OK | 119 | ||
| windows-release | OK | 126 | ||
| windows-oldrel | OK | 129 | ||
| wasm-release | OK | 179 |
Exports:calculateDistanceMatrixcgrplotcreate_metafilter_Nfrom_DNAStringSetmatrixDistanceparallelCGRplot_cgrsaveMegaDistancesavePhylipDistance
Dependencies:BHBiocGenericsBiocParallelBiostringscodetoolscpp11crayonformatRfutile.loggerfutile.optionsgenericsIRangeslambda.rS4VectorsSeqinfosnowXVector
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate pairwise distance matrix for multiple sequences | calculateDistanceMatrix |
| Generate CGR plot coordinates for a DNA sequence | cgrplot |
| Create metadata table for sequences | create_meta |
| Filter sequences by N content | filter_N |
| Convert a DNAStringSet to a named list of sequences | from_DNAStringSet |
| Calculate distance between two CGR frequency matrices | matrixDistance |
| Parallel computation of CGR frequency matrices | parallelCGR |
| Plot CGR with customization options | plot_cgr |
| Save distance matrix in MEGA format | saveMegaDistance |
| Save distance matrix in PHYLIP format | savePhylipDistance |
