View source: R/alignMitogenomes.R
alignMitogenomes | R Documentation |
Function for batch trimming a folder of alignments, with the various trimming functions available to select from
alignMitogenomes(
alignment.folder = NULL,
genbank.file = NULL,
draft.contigs = "draftContigs",
output.dir = "Genomes",
dataset.name = "untrimmed",
overwrite = FALSE
)
alignment.folder |
path to a folder of sequence alignments in phylip format. |
genbank.file |
available input alignment formats: fasta or phylip |
draft.contigs |
contigs are added into existing alignment if algorithm is "add" |
output.dir |
available output formats: phylip |
dataset.name |
remove samples too divergent from consensus, values 0-1 for proportion similar sites |
overwrite |
TRUE to supress mafft screen output |
an alignment of provided sequences in DNAStringSet format. Also can save alignment as a file with save.name
your.tree = ape::read.tree(file = "file-path-to-tree.tre")
astral.data = astralPlane(astral.tree = your.tree,
outgroups = c("species_one", "species_two"),
tip.length = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.