annotate GATK/gatk/realigner_target_creator.xml @ 2:2c7824a8d764 draft

Uploaded
author scisjnu123
date Thu, 12 Sep 2019 06:50:21 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
1 <macros>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
2 <xml name="RealignerTargetCreatorParameters" tokens="tag">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
3
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
4 <expand macro="macro_bam_input" tag="@TAG@" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
5
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
6 <expand macro="macro_optional_parameters">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
7 <param name="maxIntervalSize" type="integer" value="500" label="maximum interval size; any intervals larger than this value will be dropped" help="-maxInterval,&#8209;&#8209;maxIntervalSize &amp;lt;maxIntervalSize&amp;gt;" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
8 <param name="minReadsAtLocus" type="integer" value="4" label="minimum reads at a locus to enable using the entropy calculation" help="-minReads,&#8209;&#8209;minReadsAtLocus &amp;lt;minReadsAtLocus&amp;gt;" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
9 <param name="windowSize" type="integer" value="10" label="window size for calculating entropy or SNP clusters" help="-window,&#8209;&#8209;windowSize &amp;lt;windowSize&amp;gt;" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
10
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
11 <param name="mismatchFraction" type="float" value="0.0" label="fraction of base qualities needing to mismatch for a position to have high entropy" help="-mismatch,&#8209;&#8209;mismatchFraction &amp;lt;mismatchFraction&amp;gt;" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
12 <repeat name="rod_bindings" title="Input VCF files with known indels" help="-known,&#8209;&#8209;known &amp;lt;known&amp;gt;">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
13 <param name="input_rod" type="data" format="vcf" label="Variant file (VCF format)" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
14 </repeat>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
15 </expand>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
16
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
17 </xml>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
18
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
19 <xml name="RealignerTargetCreatorOutput">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
20 <data format="gatk_interval" name="rtc_output_intervals" label="${tool.name} - ${analysis_type.analysis_type_selector} on ${on_string} (GATK intervals)">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
21 <yield />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
22 </data>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
23 </xml>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
24
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
25 <template name="RealignerTargetCreatorPreprocessing">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
26 <![CDATA[
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
27 @token_bam_input_pre@
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
28
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
29 #if $analysis_type.optional_parameters.optional_parameters_enabled
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
30 #for $i, $rod_binding in enumerate($analysis_type.optional_parameters.rod_bindings):
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
31 ln -s -f ${rod_binding.input_rod} rod_binding_${i}.vcf &&
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
32 #end for
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
33 #end if
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
34 ]]>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
35 </template>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
36
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
37 <template name="RealignerTargetCreatorOptions">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
38 <![CDATA[
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
39 --out ${rtc_output_intervals}
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
40
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
41 @token_bam_input@
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
42
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
43 #if $analysis_type.optional_parameters.optional_parameters_enabled
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
44 --maxIntervalSize ${analysis_type.optional_parameters.maxIntervalSize}
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
45 --minReadsAtLocus ${analysis_type.optional_parameters.minReadsAtLocus}
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
46 --windowSize ${analysis_type.optional_parameters.windowSize}
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
47 --mismatchFraction ${analysis_type.optional_parameters.mismatchFraction}
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
48
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
49 #for $i, $rod_binding in enumerate($analysis_type.optional_parameters.rod_bindings):
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
50 --known rod_binding_${i}.vcf
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
51 #end for
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
52 #end if
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
53 ]]>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
54 </template>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
55 </macros>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
56
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
57