annotate GATK/gatk/combine_variants.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="CombineVariantsParameters" tokens="tag">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
3
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
4 <expand macro="macro_vcf_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
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
8 <param name="filteredRecordsMergeType" type="select" label="Determines how we should handle records seen at the same site in the VCF, but with different FILTER fields" help="-filteredRecordsMergeType,&#8209;&#8209;filteredrecordsmergetype &amp;lt;filteredrecordsmergetype&amp;gt;">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
9 <option value="">No Selection</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
10 <option value="KEEP_IF_ANY_UNFILTERED">KEEP_IF_ANY_UNFILTERED</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
11 <option value="KEEP_IF_ALL_UNFILTERED">KEEP_IF_ALL_UNFILTERED</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
12 <option value="KEEP_UNCONDITIONAL">KEEP_UNCONDITIONAL</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
13 </param>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
14
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
15 <param name="genotypeMergeOptions" type="select" label="Determines how we should merge genotype records for samples shared across the ROD files" help="-genotypeMergeOptions,&#8209;&#8209;genotypemergeoption &amp;lt;genotypemergeoption&amp;gt;">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
16 <option value="">No Selection</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
17 <option value="UNIQUIFY">UNIQUIFY</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
18 <option value="PRIORITIZE">PRIORITIZE</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
19 <option value="UNSORTED">UNSORTED</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
20 <option value="REQUIRE_UNIQUE">REQUIRE_UNIQUE</option>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
21 </param>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
22
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
23 <param name="minimumN" type="integer" value="1" optional="true" label="Combine variants and output site only if the variant is present in at least N input files" help="-minN,&#8209;&#8209;minimumN &amp;lt;minimumN&amp;gt;" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
24
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
25 <param name="rod_priority_list" type="text" value="" optional="true" label="A comma-separated string describing the priority ordering for the genotypes as far as which record gets emitted" help="-priority,&#8209;&#8209;rod_priority_list &amp;lt;rod_priority_list&amp;gt;" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
26
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
27 <param name="setKey" type="text" value="" optional="true" label="Key used in the INFO key=value tag emitted describing which set the combined VCF record came from" help="-setKey,&#8209;&#8209;setKey &amp;lt;setKey&amp;gt;" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
28
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
29 <param name="assumeIdenticalSamples" type="boolean" truevalue="--assumeIdenticalSamples" falsevalue="" label="If true, assume input VCFs have identical sample sets and disjoint calls" help="-assumeIdenticalSamples,&#8209;&#8209;assumeIdenticalSamples" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
30
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
31 <param name="excludeNonVariants" type="boolean" truevalue="--excludeNonVariants" falsevalue="" label="Don't include loci found to be non-variant after the combining procedure" help="-env,&#8209;&#8209;excludeNonVariants" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
32
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
33 <param name="filteredAreUncalled" type="boolean" truevalue="--filteredAreUncalled" falsevalue="" label="If true, then filtered VCFs are treated as uncalled, so that filtered set annotations don't appear in the combined VCF" help="-filteredAreUncalled,&#8209;&#8209;filteredAreUncalled" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
34
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
35 <param name="mergeInfoWithMaxAC" type="boolean" truevalue="--mergeInfoWithMaxAC" falsevalue="" label="If true, when VCF records overlap the info field is taken from the one with the max AC instead of only taking the fields which are identical across the overlapping records." help="-mergeInfoWithMaxAC,&#8209;&#8209;mergeInfoWithMaxAC" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
36
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
37 <param name="minimalVCF" type="boolean" truevalue="--minimalVCF" falsevalue="" label="If true, then the output VCF will contain no INFO or genotype FORMAT fields" help="-minimalVCF,&#8209;&#8209;minimalVCF" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
38
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
39 <param name="printComplexMerges" type="boolean" truevalue="--printComplexMerges" falsevalue="" label="Print out interesting sites requiring complex compatibility merging" help="-printComplexMerges,&#8209;&#8209;printComplexMerges" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
40
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
41 <param name="suppressCommandLineHeader" type="boolean" truevalue="--suppressCommandLineHeader" falsevalue="" label="If true, do not output the header containing the command line used" help="-suppressCommandLineHeader,&#8209;&#8209;suppressCommandLineHeader" />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
42
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
43 </expand>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
44
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
45 </xml>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
46
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
47 <xml name="CombineVariantsOutput">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
48 <data format="vcf" name="cv_output_vcf" label="${tool.name} - ${analysis_type.analysis_type_selector} on ${on_string} (VCF)">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
49 <yield />
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
50 </data>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
51 </xml>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
52
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
53 <template name="CombineVariantsPreprocessing">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
54 <![CDATA[
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
55 @token_vcf_input_pre@
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
56 ]]>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
57 </template>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
58
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
59 <template name="CombineVariantsOptions">
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
60 <![CDATA[
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
61 --out ${cv_output_vcf}
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
62
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
63 @token_vcf_input@
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
64
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
65 #set $optionals = $analysis_type.optional_parameters
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
66 #if $optionals.optional_parameters_enabled
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
67
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
68 #if $optionals.filteredRecordsMergeType
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
69 --filteredRecordsMergeType $optionals.filteredRecordsMergeType
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
70 #end if
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
71 #if $optionals.genotypeMergeOptions
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
72 --genotypeMergeOptions $optionals.genotypeMergeOptions
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
73 #end if
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
74 #if $optionals.minimumN != 1
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
75 --minimumN $optionals.minimumN
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
76 #end if
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
77 #if $optionals.rod_priority_list
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
78 --rod_priority_list $optionals.rod_priority_list
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
79 #end if
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
80
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
81 $optionals.assumeIdenticalSamples
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
82 $optionals.excludeNonVariants
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
83 $optionals.filteredAreUncalled
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
84 $optionals.mergeInfoWithMaxAC
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
85 $optionals.minimalVCF
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
86 $optionals.printComplexMerges
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
87 $optionals.suppressCommandLineHeader
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
88
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
89 #end if
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
90 ]]>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
91 </template>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
92
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
93
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
94 </macros>
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
95
2c7824a8d764 Uploaded
scisjnu123
parents:
diff changeset
96