gatk.realign: gatk.realign

Description Usage Arguments Details Value References See Also

View source: R/05_realignment.R

Description

A wrapper function to run GATK (IndelRealigner)

Usage

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)

Arguments

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.

Details

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.

Value

GATK IndelRealigner returns a Realigned bam file (e.g., realign.bam)

References

The Genome Analysis Toolkit: a MapReduce framework for analyzing next-generation DNA sequencing data.

See Also

https://software.broadinstitute.org/gatk/


omicsCore/SEQprocess documentation built on May 7, 2020, 4:18 a.m.