Description Usage Arguments Examples
Run readal
1 |
arglist |
Arguments for readal |
outdir |
Filepath to output files are placed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(outsider)
# import
readal <- module_import('readal', repo = 'dombennett/om..trimal')
# help
readal('-h')
# Real Example
# download
wd <- file.path(tempdir(), 'example_job')
if (!dir.exists(wd)) {
dir.create(wd)
}
alignment_file <- file.path(wd, 'example_alignment.fasta')
url <- 'https://raw.githubusercontent.com/DomBennett/om..trimal/master/example_alignment.fasta'
download.file(url = url, destfile = alignment_file)
# get info
readal(arglist = c('-in', alignment_file, '-info'), outdir = wd)
# convert to phylip
readal(arglist = c('-in', alignment_file, '-out', 'example_alignment.phylip',
'-phylip_m10'), outdir = wd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.