Description Usage Arguments Details Value References See Also
View source: R/07_variant.call.GATK.R
A wrapper function to run GATK (HaplotypeCaller)
1 | gatk.haplotypecaller(fns.bam, output.dir, sample.name, ref.fa, genotyping_mode="DISCOVERY", output_mode="EMIT_VARIANTS_ONLY", stand_call_conf_number=30, unsafe=FALSE, run.cmd=TRUE, mc.cores=1)
|
fns.bam |
Path to BAM files |
output.dir |
Output directory |
sample.name |
A character vector for the sample names |
ref.fa |
Referance fasta file |
genotyping_mode |
A parameter value for –genotyping_mode in GATK. A character vector to determine the alternate alleles to use for genotyping (default: DISCOVERY) |
output_mode |
A parameter value for –output_mode in GATK. A character vector to produces variant calls (default: EMIT_VARIANTS_ONLY) |
stand_call_conf_number |
A parameter value for -stand_call_conf in GATK. A numeric value of The minimum phred-scaled confidence threshold at which variants should be called (default: 30) |
unsafe |
A parameter value for -U ALLOW_N_CIGAR_READS in GATK. This parameter must be TRUE in RNA-seq data. |
run.cmd |
Whether to execute the command line (default=TRUE) |
mc.cores |
The number of cores to use. Must be at least one(default=1), and parallelization requires at least two cores. |
HaplotypeCaller is capable of calling SNPs and indels simultaneously via local de-novo assembly of haplotypes in an active region.
Variant calling format files (.vcf)
The Genome Analysis Toolkit: a MapReduce framework for analyzing next-generation DNA sequencing data.
https://software.broadinstitute.org/gatk/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.