annotate indel_realigner.xml @ 0:bb0beda6cf83 draft default tip

Imported from capsule None
author devteam
date Tue, 01 Apr 2014 10:48:26 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="gatk_indel_realigner" name="Indel Realigner" version="0.0.6">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
2 <description>- perform local realignment</description>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="1.4">gatk</requirement>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="0.1.18">samtools</requirement>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
7 <macros>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
8 <import>gatk_macros.xml</import>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
9 </macros>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
10 <command interpreter="python">gatk_wrapper.py
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
11 --max_jvm_heap_fraction "1"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
12 --stdout "${output_log}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
13 -d "-I" "${reference_source.input_bam}" "${reference_source.input_bam.ext}" "gatk_input"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
14 #if str( $reference_source.input_bam.metadata.bam_index ) != "None":
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
15 -d "" "${reference_source.input_bam.metadata.bam_index}" "bam_index" "gatk_input" ##hardcode galaxy ext type as bam_index
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
16 #end if
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
17 -p 'java
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
18 -jar "\$JAVA_JAR_PATH/GenomeAnalysisTK.jar"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
19 -T "IndelRealigner"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
20 -o "${output_bam}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
21 -et "NO_ET" ##ET no phone home
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
22 ##--num_threads 4 ##hard coded, for now
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
23 ##-log "${output_log}" ##don't use this to log to file, instead directly capture stdout
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
24 #if $reference_source.reference_source_selector != "history":
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
25 -R "${reference_source.ref_file.fields.path}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
26 #end if
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
27 -LOD "${lod_threshold}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
28 ${knowns_only}
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
29 '
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
30
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
31 #set $rod_binding_names = dict()
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
32 #for $rod_binding in $rod_bind:
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
33 #if str( $rod_binding.rod_bind_type.rod_bind_type_selector ) == 'custom':
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
34 #set $rod_bind_name = $rod_binding.rod_bind_type.custom_rod_name
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
35 #else
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
36 #set $rod_bind_name = $rod_binding.rod_bind_type.rod_bind_type_selector
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
37 #end if
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
38 #set $rod_binding_names[$rod_bind_name] = $rod_binding_names.get( $rod_bind_name, -1 ) + 1
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
39 -d "-known:${rod_bind_name},%(file_type)s" "${rod_binding.rod_bind_type.input_rod}" "${rod_binding.rod_bind_type.input_rod.ext}" "input_${rod_bind_name}_${rod_binding_names[$rod_bind_name]}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
40 #end for
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
41
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
42 #include source=$standard_gatk_options#
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
43 ##start analysis specific options
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
44 -d "-targetIntervals" "${target_intervals}" "${target_intervals.ext}" "gatk_target_intervals"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
45 -p '
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
46 --disable_bam_indexing
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
47 '
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
48 #if $analysis_param_type.analysis_param_type_selector == "advanced":
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
49 -p '
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
50 --entropyThreshold "${analysis_param_type.entropy_threshold}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
51 ${analysis_param_type.simplify_bam}
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
52 --consensusDeterminationModel "${analysis_param_type.consensus_determination_model}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
53 --maxIsizeForMovement "${analysis_param_type.max_insert_size_for_movement}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
54 --maxPositionalMoveAllowed "${analysis_param_type.max_positional_move_allowed}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
55 --maxConsensuses "${analysis_param_type.max_consensuses}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
56 --maxReadsForConsensuses "${analysis_param_type.max_reads_for_consensuses}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
57 --maxReadsForRealignment "${analysis_param_type.max_reads_for_realignment}"
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
58 ${analysis_param_type.no_original_alignment_tags}
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
59 '
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
60 #end if
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
61 </command>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
62 <inputs>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
63
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
64 <conditional name="reference_source">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
65 <expand macro="reference_source_selector_param" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
66 <when value="cached">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
67 <param name="input_bam" type="data" format="bam" label="BAM file" help="-I,--input_file &amp;lt;input_file&amp;gt;">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
68 <validator type="unspecified_build" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
69 <validator type="dataset_metadata_in_data_table" table_name="gatk_picard_indexes" metadata_name="dbkey" metadata_column="dbkey" message="Sequences are not currently available for the specified build." /> <!-- fixme!!! this needs to be a select -->
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
70 </param>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
71 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;" >
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
72 <options from_data_table="gatk_picard_indexes">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
73 <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
74 </options>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
75 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
76 </param>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
77 </when>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
78 <when value="history">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
79 <param name="input_bam" type="data" format="bam" label="BAM file" help="-I,--input_file &amp;lt;input_file&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
80 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
81 <options>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
82 <filter type="data_meta" key="dbkey" ref="input_bam" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
83 </options>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
84 </param>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
85 </when>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
86 </conditional>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
87 <param name="target_intervals" type="data" format="gatk_interval,bed,picard_interval_list" label="Restrict realignment to provided intervals" help="-targetIntervals,--targetIntervals &amp;lt;targetIntervals&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
88 <repeat name="rod_bind" title="Binding for reference-ordered data" help="-known,--knownAlleles &amp;lt;knownAlleles&amp;gt;">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
89 <conditional name="rod_bind_type">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
90 <param name="rod_bind_type_selector" type="select" label="Binding Type">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
91 <option value="dbsnp" selected="True">dbSNP</option>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
92 <option value="snps">SNPs</option>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
93 <option value="indels">INDELs</option>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
94 <option value="custom">Custom</option>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
95 </param>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
96 <when value="dbsnp">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
97 <param name="input_rod" type="data" format="vcf" label="ROD file" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
98 </when>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
99 <when value="snps">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
100 <param name="input_rod" type="data" format="vcf" label="ROD file" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
101 </when>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
102 <when value="indels">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
103 <param name="input_rod" type="data" format="vcf" label="ROD file" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
104 </when>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
105 <when value="custom">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
106 <param name="custom_rod_name" type="text" value="Unknown" label="ROD Name"/>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
107 <param name="input_rod" type="data" format="vcf" label="ROD file" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
108 </when>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
109 </conditional>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
110 </repeat>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
111 <param name="lod_threshold" type="float" value="5.0" label="LOD threshold above which the realigner will proceed to realign" help="-LOD,--LODThresholdForCleaning &amp;lt;LODThresholdForCleaning&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
112 <param name="knowns_only" type="boolean" checked="False" truevalue="-knownsOnly" falsevalue="" label="Use only known indels provided as RODs" help="-knownsOnly"/>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
113
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
114 <expand macro="gatk_param_type_conditional" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
115
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
116 <expand macro="analysis_type_conditional">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
117
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
118 <param name="entropy_threshold" type="float" value="0.15" label="percentage of mismatching base quality scores at a position to be considered having high entropy" help="-entropy,--entropyThreshold &amp;lt;entropyThreshold&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
119 <param name="simplify_bam" type="boolean" checked="False" truevalue="-simplifyBAM" falsevalue="" label="Simplify BAM" help="-simplifyBAM,--simplifyBAM"/>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
120 <param name="consensus_determination_model" type="select" label="Consensus Determination Model" help="-model,--consensusDeterminationModel &amp;lt;consensusDeterminationModel&amp;gt;">
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
121 <option value="KNOWNS_ONLY">KNOWNS_ONLY</option>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
122 <option value="USE_READS" selected="True">USE_READS</option>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
123 <option value="USE_SW">USE_SW</option>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
124 </param>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
125 <param name="max_insert_size_for_movement" type="integer" value="3000" label="Maximum insert size of read pairs that we attempt to realign" help="-maxIsize,--maxIsizeForMovement &amp;lt;maxIsizeForMovement&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
126 <param name="max_positional_move_allowed" type="integer" value="200" label="Maximum positional move in basepairs that a read can be adjusted during realignment" help="-maxPosMove,--maxPositionalMoveAllowed &amp;lt;maxPositionalMoveAllowed&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
127 <param name="max_consensuses" type="integer" value="30" label="Max alternate consensuses to try" help="-maxConsensuses,--maxConsensuses &amp;lt;maxConsensuses&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
128 <param name="max_reads_for_consensuses" type="integer" value="120" label="Max reads (chosen randomly) used for finding the potential alternate consensuses" help="-greedy,--maxReadsForConsensuses &amp;lt;maxReadsForConsensuses&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
129 <param name="max_reads_for_realignment" type="integer" value="20000" label="Max reads allowed at an interval for realignment" help="-maxReads,--maxReadsForRealignment &amp;lt;maxReadsForRealignment&amp;gt;" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
130 <param name="no_original_alignment_tags" type="boolean" checked="False" truevalue="--noOriginalAlignmentTags" falsevalue="" label="Don't output the original cigar or alignment start tags for each realigned read in the output bam" help="-noTags,--noOriginalAlignmentTags"/>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
131 </expand>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
132 </inputs>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
133 <outputs>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
134 <data format="bam" name="output_bam" label="${tool.name} on ${on_string} (BAM)" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
135 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
136 </outputs>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
137 <tests>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
138 <test>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
139 <param name="reference_source_selector" value="history" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
140 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
141 <param name="target_intervals" value="gatk/gatk_realigner_target_creator/gatk_realigner_target_creator_out_1.gatk_interval" ftype="gatk_interval" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
142 <param name="input_bam" value="gatk/fake_phiX_reads_1.bam" ftype="bam" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
143 <param name="rod_bind_type_selector" value="snps" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
144 <param name="input_rod" value="gatk/fake_phiX_variant_locations.vcf" ftype="vcf" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
145 <param name="lod_threshold" value="5.0" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
146 <param name="knowns_only" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
147 <param name="gatk_param_type_selector" value="basic" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
148 <param name="analysis_param_type_selector" value="advanced" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
149 <param name="entropy_threshold" value="0.15" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
150 <param name="simplify_bam" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
151 <param name="consensus_determination_model" value="USE_SW" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
152 <param name="max_insert_size_for_movement" value="3000" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
153 <param name="max_positional_move_allowed" value="200" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
154 <param name="max_consensuses" value="30" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
155 <param name="max_reads_for_consensuses" value="120" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
156 <param name="max_reads_for_realignment" value="20000" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
157 <param name="no_original_alignment_tags" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
158 <output name="output_bam" file="gatk/gatk_indel_realigner/gatk_indel_realigner_out_1.bam" ftype="bam" lines_diff="2" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
159 <output name="output_log" file="gatk/gatk_indel_realigner/gatk_indel_realigner_out_1.log.contains" compare="contains" />
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
160 </test>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
161 </tests>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
162 <help>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
163 **What it does**
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
164
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
165 Performs local realignment of reads based on misalignments due to the presence of indels. Unlike most mappers, this walker uses the full alignment context to determine whether an appropriate alternate reference (i.e. indel) exists and updates SAMRecords accordingly.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
166
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
167 For more information on local realignment around indels using the GATK, see this `tool specific page &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Local_realignment_around_indels&gt;`_.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
168
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
169 To learn about best practices for variant detection using GATK, see this `overview &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Best_Practice_Variant_Detection_with_the_GATK_v3&gt;`_.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
170
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
171 If you encounter errors, please view the `GATK FAQ &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Frequently_Asked_Questions&gt;`_.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
172
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
173 ------
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
174
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
175 **Inputs**
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
176
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
177 GenomeAnalysisTK: IndelRealigner accepts an aligned BAM and a list of intervals to realign as input files.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
178
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
179
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
180 **Outputs**
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
181
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
182 The output is in the BAM format.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
183
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
184
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
185 Go `here &lt;http://www.broadinstitute.org/gsa/wiki/index.php/Input_files_for_the_GATK&gt;`_ for details on GATK file formats.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
186
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
187 -------
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
188
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
189 **Settings**::
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
190
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
191 targetIntervals intervals file output from RealignerTargetCreator
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
192 LODThresholdForCleaning LOD threshold above which the cleaner will clean
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
193 entropyThreshold percentage of mismatches at a locus to be considered having high entropy
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
194 out Output bam
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
195 bam_compression Compression level to use for writing BAM files
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
196 disable_bam_indexing Turn off on-the-fly creation of indices for output BAM files.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
197 simplifyBAM If provided, output BAM files will be simplified to include just key reads for downstream variation discovery analyses (removing duplicates, PF-, non-primary reads), as well stripping all extended tags from the kept reads except the read group identifier
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
198 useOnlyKnownIndels Don't run 'Smith-Waterman' to generate alternate consenses; use only known indels provided as RODs for constructing the alternate references.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
199 maxReadsInMemory max reads allowed to be kept in memory at a time by the SAMFileWriter. Keep it low to minimize memory consumption (but the tool may skip realignment on regions with too much coverage. If it is too low, it may generate errors during realignment); keep it high to maximize realignment (but make sure to give Java enough memory).
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
200 maxIsizeForMovement maximum insert size of read pairs that we attempt to realign
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
201 maxPositionalMoveAllowed maximum positional move in basepairs that a read can be adjusted during realignment
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
202 maxConsensuses max alternate consensuses to try (necessary to improve performance in deep coverage)
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
203 maxReadsForConsensuses max reads used for finding the alternate consensuses (necessary to improve performance in deep coverage)
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
204 maxReadsForRealignment max reads allowed at an interval for realignment; if this value is exceeded, realignment is not attempted and the reads are passed to the output file(s) as-is
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
205 noOriginalAlignmentTags Don't output the original cigar or alignment start tags for each realigned read in the output bam.
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
206
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
207 @CITATION_SECTION@
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
208 </help>
bb0beda6cf83 Imported from capsule None
devteam
parents:
diff changeset
209 </tool>