msaClustalW(inputSeqs, cluster="default", gapOpening="default", gapExtension="default", maxiters="default", substitutionMatrix="default", type="default", order=c("aligned", "input"), verbose=FALSE, help=FALSE, ...)
msa
.
In the original ClustalW implementation, this
parameter is called infile
."nj"
(default) and "upgma"
.
In the original ClustalW implementation, this parameter is called
clustering
.numiters
."blosum"
, "pam"
, "gonnet"
, and "id"
are
supported for amino acid sequences. For aligning nucleotide
sequences, the choices "iub"
and "clustalw"
are
possible. The parameter dnamatrix
can also be used instead
for the sake of backwards compatibility.
The valid choices for this parameter are "iub"
and
"clustalw"
. In the original ClustalW implementation, this
parameter is called matrix
.inputSeqs
;
see msa
.msa
); in the original ClustalW implementation, this
parameter is called outorder
.TRUE
, the algorithm displays detailed
information and progress messages.TRUE
, information about algorithm-specific
parameters is displayed. In this case, no multiple sequence
alignment is performed and the function quits after displaying
the additional help information.msaClustalW
with help=TRUE
.
For more details, see also the documentation of ClustalW.msaClustalW
returns a MsaAAMultipleAlignment
,
MsaDNAMultipleAlignment
, or
MsaRNAMultipleAlignment
object.
If called with help=TRUE
, msaClustalW
returns
an invisible NULL
.
inputSeqs
argument above). Parameters that
are common to all multiple sequences alignments provided by the
msa package are explicitly provided by the function and named
in the same for all algorithms. Most other parameters that are
specific to ClustalW can be passed to ClustalW via additional
arguments (see argument help
above). For a note on the order of output sequences and direct reading from
FASTA files, see msa
.
Thompson, J. D., Higgins, D. G., and Gibson, T. J. (1994) CLUSTAL W: improving the sensitivity of progressive multiple sequence alignment through sequence weighting, position-specific gap penalties and weight matrix choice. Nucleic Acids Res. 22(22):4673-4680. DOI: 10.1093/nar/22.22.4673.
msa
, MsaAAMultipleAlignment
,
MsaDNAMultipleAlignment
,
MsaRNAMultipleAlignment
,
MsaMetaData
## read sequences
filepath <- system.file("examples", "exampleAA.fasta", package="msa")
mySeqs <- readAAStringSet(filepath)
## call msaClustalW with default values
msaClustalW(mySeqs)
## call msaClustalW with custom parameters
msaClustalW(mySeqs, gapOpening=1, gapExtension=1, maxiters=16,
cluster="upgma", kimura=FALSE, order="input", maxdiv=23)
Run the code above in your browser using DataLab