Bioc2026 Registration Open!

MSA2dist

MSA2dist calculates pairwise distances for DNAStringSet/AAStringSet using custom scoring, conducts codon analyses (including dNdS), and estimates Dxy/FST

Bioconductor version: 3.24 · Package version: 1.17.8

MSA2dist calculates pairwise distances between all sequences of a DNAStringSet or a AAStringSet using a custom score matrix and conducts codon based analysis. It uses scoring matrices to be used in these pairwise distance calculations which can be adapted to any scoring for DNA or AA characters. E.g. by using literal distances MSA2dist calculates pairwise IUPAC distances. DNAStringSet alignments can be analysed as codon alignments to look for synonymous and nonsynonymous substitutions (dN/dS) in a parallelised fashion using a variety of substitution models. Non-aligned coding sequences can be directly used to construct pairwise codon alignments (global/local) and calculate dN/dS without any external dependencies. In addition, MSA2dist provides population genetic analyses, including the calculation of nucleotide divergence between populations (Dxy) and genetic differentiation statistics (FST) from aligned sequence data.

Installation

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

BiocManager::install("MSA2dist")

Details

MaintainerKristian K Ullrich <ullrich@evolbio.mpg.de>
AuthorKristian K Ullrich [aut, cre] (ORCID: <https://orcid.org/0000-0003-4308-9626>)
LicenseGPL-3 + file LICENSE
URLhttps://github.com/kullrich/MSA2dist
Bug Reportshttps://github.com/kullrich/MSA2dist/issues
Downloads rank426
Source branchdevel
biocViewsAlignment, GO, Genetics, Sequencing, Software

Documentation

Download

Follow the installation instructions to use this package in your R session.

Source packageMSA2dist_1.17.8.tar.gz
Windows binary (x86_64)MSA2dist_1.17.8.zip
macOS binary (arm64)MSA2dist_1.17.8.tgz
macOS binary (x86_64)MSA2dist_1.17.8.tgz
Dependencies

Depends: R (>= 4.4.0)

Imports: Rcpp, Biostrings, GenomicRanges, IRanges, MultipleAlignment, ape, doParallel, dplyr, foreach, methods, parallel, pwalign, rlang, seqinr, stats, stringi, stringr, tibble, tidyr, utils

LinkingTo: Rcpp, RcppThread

Suggests: rmarkdown, knitr, devtools, testthat, ggplot2, BiocStyle

Reverse dependencies

Imports Me (2): doubletrouble, rhinotypeR