Description Usage Arguments Value Examples
This script is a R wrapper for the bash script megahit.sh to run the megahit assembly tool
1 2 3 4 5 6 7 8 9 | run_megahit(
PE = T,
nohup = "",
script_path,
r1,
r2 = "",
outdir,
outname = "megahit"
)
|
PE |
TRUE/FALSE. Wether paired end or single end library is supplied. Default = T |
nohup |
can be set to "nohup" to run assembly in background. Default = "" |
script_path |
Path to megahit.sh, e.g. "/home/$USER/scpackage/inst/megahit.sh" |
r1 |
Path to read file one, paired end or single end |
r2 |
Path to paired end read |
outdir |
Existing directory to create output directory in |
outname |
Output directory name, will be created by program |
A directory with output files will be created at supplied path
1 2 3 4 5 | run_megahit(script_path = "/home/$USER/scpackage/inst/megahit.sh",
r1 = "/home/$USER/data/geodescent/samples/MGYS00000991/ERR1424899_1.fastq.gz",
r2 = "/home/$USER/data/geodescent/samples/MGYS00000991/ERR1424899_2.fastq.gz",
outdir = "/home/$USER",
outname = "megahit_testing")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.