powered by
Align a set of sequences using the MAFFT executable.
mafft( x, run.label = "align.mafft", delete.output = TRUE, op = 3, ep = 0.123, maxiterate = 0, quiet = FALSE, num.cores = 1, opts = "--auto", simplify = TRUE )
a list or a matrix of DNA sequences (see write.dna).
write.dna
label for output alignment FASTA file.
logical. Delete output alignment FASTA file?
gap opening penalty.
offset value, which works like gap extension penalty.
number cycles of iterative refinement are performed.
logical. Run MAFFT quietly?
The number of cores to use. If set to NULL, the value will be what is reported by detectCores - 1. Passed to MAFFT argument --thread.
NULL
detectCores - 1
--thread
character string other options to provide to command line.
if TRUE, if x is a single sequence, a single DNAbin object is returned, otherwise, a list of alignments is returned.
TRUE
x
DNAbin
a DNAbin object with aligned sequences.
Katoh, M., Kumar, M. 2002. MAFFT: a novel method for rapid multiple sequence alignment based on fast Fourier transform. Nucleic Acids Res. 30:3059-3066. Available at: http://mafft.cbrc.jp/alignment/software
# NOT RUN { data(dolph.seqs) dolph.aln <- mafft(dolph.seqs, op = 3, ep = 2) dolph.aln # } # NOT RUN { # }
Run the code above in your browser using DataLab