View source: R/run_freebayes.R
run_freebayes | R Documentation |
Run Freebayes
run_freebayes(
input = NULL,
list = NULL,
reference = NULL,
output = NULL,
targets = NULL,
ploidy = NULL,
parallel = FALSE,
cores = 4,
execute = TRUE,
freebayes = NULL,
version = FALSE
)
input |
List of aligned bam files |
list |
File with a list of bam files |
reference |
Reference genome sequence in fasta format |
output |
List of file names for out put |
targets |
Limit analysis to targets listed in the BED-formatted file |
ploidy |
Sets the default ploidy for the analysis, default st to 2 |
parallel |
Run in parallel, default set to FALSE |
cores |
Number of cores/threads to use for parallel processing, default set to 4 |
execute |
Whether to execute the commands or not, default set to TRUE |
freebayes |
Path to the freebayes program, required |
version |
Returns the version number |
A list of freebayes commands
## Not run:
freebayes <- "/usr/bin/freebayes"
freebayes.verion <- run_freebayes.1(freebayes = freebayes,
version = TRUE)
freebayes.cmds <- run_freebayes(input = "input.bam",
reference = "reference.fa",
output = "out.vcf",
ploidy = 2,
execute = FALSE,
freebayes = freebayes)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.