Description Usage Arguments Value Examples
View source: R/run.annotation.R
Takes a data frame with paths to VCF files, and runs ANNOVAR annotation on each file. To allow for smooth connections with downstream pipeline steps, the function returns a variant specification data frame that can be used as input to merging steps.
1 2 3 | run.annotation(vcf.specification, output.directory = NULL,
job.name.prefix = NULL, job.group = NULL, quiet = FALSE,
verify.options = !quiet)
|
vcf.specification |
Data frame detailing VCF files to be processed, from |
output.directory |
Path to folder where code and log files should be stored in their respective subdirectories. If not supplied, code and log files will be stored in the directory with each VCF file. |
job.name.prefix |
Prefix to be added before VCF name in job name. Defaults to 'annotate', but should be changed if running multiple callers to avoid |
job.group |
Group job should be associated with on cluster |
quiet |
Logical indicating whether to print commands to screen rather than submit them |
verify.options |
Logical indicating whether to run verify.varitas.options |
Data frame with details of variant files
1 2 3 4 5 6 7 8 9 | run.annotation(
data.frame(
sample.id = c('a', 'b'),
vcf = c('a.vcf', 'b.vcf'),
caller = c('mutect', 'mutect')
),
output.directory = '.',
quiet = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.