prep_UNMASC_VCF | R Documentation |
A comprehensive function to import VCFs, annotations, and target bed file to prepare the necessary VCF for UNMASC's main workflow.
prep_UNMASC_VCF(
outdir,
DAT,
FILTER,
target_fn,
anno_fn,
nlines = 100,
ncores = 1
)
outdir |
A character string of the full path and working directory specifying where intermediate and final files are stored. |
DAT |
A data.frame containing column names 'FILENAME' for the full vcf filename and 'STUDYNUMBER' for a unique string mapped to the control sample used when calling variants against the same tumor. |
FILTER |
A list containing named elements 'nDP', 'tDP', 'Qscore', and 'contigs' for minimum normal depth, minimum tumor depth, minimum Qscore, and a string of contigs to retain, respectively. Default values are nDP = tDP = 2, Qscore = 3, and contigs = chr1-chr22, chrX, chrY. |
target_fn |
A filename for the tab delimited target capture bed file. The first three column headers should be 'Chr', 'Start', and 'End'. |
anno_fn |
A filename for the unique set of variant loci called across multiple normals and annotated by VEP. |
nlines |
An integer specifying the number of initial lines to
read in from the |
ncores |
A positive integer for the number of threads to use for calculating strand-specific read counts. |
A R data.frame containing VCF fields and annotation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.