cmalign | R Documentation |
This function calls cmalign
from
Infernal. Infernal must be installed
and on the path. Not all options are included.
cmalign(
cmfile,
seq,
global = TRUE,
algorithm = NULL,
sample = FALSE,
seed = NULL,
notrunc = FALSE,
sub = FALSE,
hbanded = TRUE,
tau = NULL,
mxsize = NULL,
fixedtau = FALSE,
maxtau = NULL,
small = FALSE,
sfile = NULL,
tfile = NULL,
ifile = NULL,
elfile = NULL,
mapali = NULL,
mapstr = FALSE,
dnaout = FALSE,
noprob = FALSE,
matchonly = FALSE,
ileaved = FALSE,
regress = NULL,
verbose = FALSE,
cpu = NULL,
mpi = FALSE,
extra = NULL,
glocal = global
)
cmfile |
( |
seq |
( |
global |
( |
algorithm |
( |
sample |
( |
seed |
( |
notrunc |
( |
sub |
( |
hbanded |
( |
tau |
( |
mxsize |
( |
fixedtau |
( |
maxtau |
( |
small |
( |
sfile |
( |
tfile |
( |
ifile |
( |
elfile |
( |
mapali |
( |
mapstr |
( |
dnaout |
( |
noprob |
( |
matchonly |
( |
ileaved |
( |
regress |
( |
verbose |
( |
cpu |
( |
mpi |
( |
extra |
( |
glocal |
( |
One of the easiest places to obtain CMs is Rfam.
the aligned sequences, as returned by read_stockholm_msa()
.
# align a set of unaligned 5.8S rRNA sequences to the Rfam CM.
cm <- cm_5_8S()
unaln <- sample_rRNA_5_8S()
cmalign(cm, unaln, cpu = 1)
# also works if the fasta file has already been loaded
unaln <- Biostrings::readRNAStringSet(unaln)
cmalign(cm, unaln, cpu = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.