run_UNMASC | R Documentation |
This function implements the UNMASC workflow from processing formatted dataframes of variants toward outputting annotated variants.
run_UNMASC(
tumorID,
outdir,
vcf = NULL,
tBAM_fn = NULL,
bed_centromere_fn,
dict_chrom_fn,
qscore_thres = 30,
exac_thres = 0.005,
ad_thres = 5,
rd_thres = 10,
cut_BAF = 0.05,
minBQ = 13,
minMQ = 40,
eps_thres = 0.5,
psi_thres = 0.02,
hg = "19",
binom = TRUE,
gender = NA,
flag_samp_depth_thres = c(1000, 50),
ncores = 1
)
tumorID |
A character string unique to a tumor's output directory and files. |
outdir |
A character string of the full path and working directory specifying where intermediate and final files are stored. |
vcf |
If |
tBAM_fn |
A character string specifying the full path
to the tumor's BAM file. Can be set to |
bed_centromere_fn |
Centromere regions filename. This should be tab delimited without headers containing columns contig (e.g. 'chr1'), start position (e.g. 100), and end position (e.g. 100000). |
dict_chrom_fn |
Chromosome lengths file. This can be constructed from the output of 'samtools view -H' applied to a bam file. |
qscore_thres |
A numeric value specifying a minimum allowed Qscore or QUAL value for variant calls. |
exac_thres |
A numeric value specifying a maximum allowed ExAC allele frequency for variant calls. |
ad_thres |
A numeric value specifying a minimum allowed number of alternate read counts for variant calls. |
rd_thres |
A numeric value specifying a minimum allowed total read depth for variant calls. |
cut_BAF |
A numeric value specifying the BAF threshold
to remove variants before running tumor VAF segmentation.
By default, |
minBQ |
An integer for minimum base quality. |
minMQ |
An integer for minimum mapping quality. |
eps_thres |
A numeric value specifying the threshold for determining a H2M segment. |
psi_thres |
A numeric value specifying the threshold for determining a H2M segment. |
hg |
A character string for the human genome. This is used for labeling output plots. |
binom |
Boolean for whether or not to model read counts as binomial or beta-binomial distributed. |
gender |
A single string specifying the subject's gender.
Valid inputs are |
flag_samp_depth_thres |
A vector of two integers thresholds.
The first is a count of unique loci achieving a higher total tumor
read depth than the second integer specified. For example, if
|
ncores |
A positive integer for the number of threads to use for calculating strand-specific read counts. |
Null from function. Outputs UNMASC results to files.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.