guidance | R Documentation |
Calculate MSA reliability scores with GUIDANCE (Penn et al. 2010).
guidance(sequences, bootstrap = 100, method = "auto",
msa.exec = "/usr/local/bin/mafft", ncore = 1, zip.file)
sequences |
An object of class |
bootstrap |
An integer giving the number of alternative MSAs to be computed. |
method |
A character string containing further arguments passed to MAFFT; default is |
msa.exec |
A character string giving the path to the executable of the
alignment program (e.g. |
ncore |
An integer specifying the number of cores; default = 1 (i.e. serial execution); |
zip.file |
A character string giving the dir of zip-compressed file to be produced, which contains the alternative MSAs. If left empty (default), the alternative MSA will not be stored and cannot be assessed by the user. |
Calculates column confidence (and other scores) by comparing
alternative MSAs generated by alternative guide trees derived from
bootstrapped MSAs (Felsenstein 1985). The basic comparison between the bootstrapped MSAs
and a reference MSA is if column residue pairs are identically aligned in
all alternative MSAs compared with the base MSA (see msa_set_score
).
For an example workflow see Vignette
An object of class guidanceDNA
or guidanceAA
.
Franz-Sebastian Krah
Felsenstein, J. 1985. Confidence limits on phylogenies: an approach using the bootstrap. Evolution 39:783–791.
Penn et al. 2010. An alignment confidence score capturing robustness to guide tree uncertainty. Molecular Biology and Evolution 27:1759–1767.
msa_set_score
, guidance2
, HoT
## Not run:
# run GUIDANCE on example data using MAFFT
fpath <- system.file("extdata", "BB30015.fasta", package="rGUIDANCE") # random example from BALiBASE
fas <- ape::read.FASTA(fpath)
g <- guidance(sequences = fas, msa.exec= "/usr/local/bin/mafft")
scores <- scores(g, score = "column")
plot(scores$column$score, xlab = "Site",
ylab = "Column score",
main = "GUIDANCE", type = "l")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.