Description Usage Arguments Examples
Run trimal
1 |
arglist |
Arguments for trimal |
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 | library(outsider)
# import
trimal <- module_import('trimal', repo = 'dombennett/om..trimal')
# help
trimal('-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)
# run trimal with automated1 method
trimal(arglist = c('-in', alignment_file, '-out', 'trimal_results.fasta',
'-automated1', '-fasta'), outdir = wd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.