Description Details Public fields Methods See Also Examples
A GATK binding in an object-oriented form as a R6 class.
The GATK is predominantly used in a pipeline by chaining individual GATK function calls to clean a bam file and prepare it for further analysis. This GATK class utilize the R6 method chaining to facilitate this usage.
bama path to a current bam file. Modified during each method call to point to the result of the last GATK action.
originala path to the original (unmodified) bam file
referencea path to reference genome fasta (.fas) file
vcfa path to the Variant Coding File (VCF)
outdiran output directory for individual methods
remakewhether to remake already existing files
historya method call history
new()Create a new GATK object
GATKR6$new(bam, reference, vcf, outdir = NULL, remake = FALSE)
baman input bam file
referencea reference fasta (.fas) file to which the sam/bam file was mapped
vcfa vcf file with known polymorphic sites
outdiroptional an output directory
remakeoptional remake the output if it already exists
a new GATK object
SortSam()Sort the SAM/BAM file
GATKR6$SortSam(output = NULL)
outputoptional a path for an output bam file
MarkDuplicates()Mark duplicates
GATKR6$MarkDuplicates(output = NULL)
outputoptional a path for an output bam file
SplitNCigarReads()Split the reads around the N in their CIGAR string.
GATKR6$SplitNCigarReads(output = NULL)
outputoptional a path for an output bam file
Recalibrate()Recalibrate the base quality score
GATKR6$Recalibrate(output = NULL, table = NULL)
outputoptional a path for an output bam file
tableoptional an output path for a new base quality scores
FilterSamReadsTag()Filter the sam/bam file according to tag and its values.
GATKR6$FilterSamReadsTag(tag, values, output = NULL)
taga name of the tag that will be used for filtering reads
valuesone or multiple values of a chosen tag
outputoptional a path for an output bam file
clean()Clean all intermediate files
Intermediate files are all files except the original bam file used during
the initialization of the GATKR6 object and the current bam file.
GATKR6$clean()
clone()The objects of this class are cloneable with this method.
GATKR6$clone(deep = FALSE)
deepWhether to make a deep clone.
GATK a group of functions that partially bind to the GATK toolkit, gatk_prepare and gatk_snv for a convenience functions utilizing the GATK calls
| 1 2 3 4 5 6 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.