MUSCLE | R Documentation |
Executes MUSLCE on a set of sequences to obtain a multiple sequence alignment.
muscle(x, param="")
muscle_help()
x |
an object of class XStringSet (e.g., DNAStringSet) with the sequences to be aligned. |
param |
character string with the command line parameters (see output of |
For installation details see: https://github.com/mhahsler/rMSA/blob/master/INSTALL
An object of class DNAMultipleAlignment (see BioStrings).
Michael Hahsler
Edgar, R.C. (2004) MUSCLE: multiple sequence alignment with high accuracy and high throughput, Nucleic Acids Res. 32(5):1792-1797
Edgar, R.C. (2004) MUSCLE: a multiple sequence alignment method with reduced time and space complexity, BMC Bioinformatics, (5) 113
## Not run:
### DNA
dna <- readDNAStringSet(system.file("examples/DNA_example.fasta",
package="rMSA"))
dna
al <- muscle(dna)
al
### inspect alignment
detail(al)
### plot a sequence logo for the first 20 positions
plot(al, 1, 20)
### RNA
rna <- readRNAStringSet(system.file("examples/RNA_example.fasta",
package="rMSA"))
rna
al <- MUSCLE(rna)
al
### Proteins
aa <- readAAStringSet(system.file("examples/Protein_example.fasta",
package="rMSA"))
aa
al <- MUSCLE(aa)
al
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.