Description Usage Arguments Details Value References See Also
View source: R/05_realignment.R
A wrapper function to run GATK (IndelRealigner)
| 1 | gatk.realign(fn.rmdu.bam, fn.intervals, output.dir, fn.realign.bam, ref.fa, ref.indels, unsafe=FALSE, run.cmd=TRUE, mc.cores=1)
 | 
| fns.bam | Path to input BAM files | 
| fns.interval | Interval list file created by gatk.targetcreator | 
| output.dir | Output directory | 
| sample.name | A character vector for the sample names | 
| ref.fa | Reference fasta file | 
| ref.gold_indels | Known sites to indel variant call format(VCF) | 
| 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. | 
Perform local realignment of reads around indels. IndelRealigner takes a coordinate-sorted and indexed BAM and a target intervals file generated by RealignerTargetCreator. IndelRealigner then performs local realignment on reads coincident with the target intervals using consensus from indels present in the original alignment.
GATK IndelRealigner returns a Realigned bam file (e.g., realign.bam)
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.