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