Mercurial > repos > scisjnu123 > ngsap_vc
diff GATK/gatk/combine_variants.xml @ 2:2c7824a8d764 draft
Uploaded
author | scisjnu123 |
---|---|
date | Thu, 12 Sep 2019 06:50:21 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GATK/gatk/combine_variants.xml Thu Sep 12 06:50:21 2019 -0400 @@ -0,0 +1,96 @@ +<macros> + <xml name="CombineVariantsParameters" tokens="tag"> + + <expand macro="macro_vcf_input" tag="@TAG@" /> + + <expand macro="macro_optional_parameters"> + + <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,‑‑filteredrecordsmergetype &lt;filteredrecordsmergetype&gt;"> + <option value="">No Selection</option> + <option value="KEEP_IF_ANY_UNFILTERED">KEEP_IF_ANY_UNFILTERED</option> + <option value="KEEP_IF_ALL_UNFILTERED">KEEP_IF_ALL_UNFILTERED</option> + <option value="KEEP_UNCONDITIONAL">KEEP_UNCONDITIONAL</option> + </param> + + <param name="genotypeMergeOptions" type="select" label="Determines how we should merge genotype records for samples shared across the ROD files" help="-genotypeMergeOptions,‑‑genotypemergeoption &lt;genotypemergeoption&gt;"> + <option value="">No Selection</option> + <option value="UNIQUIFY">UNIQUIFY</option> + <option value="PRIORITIZE">PRIORITIZE</option> + <option value="UNSORTED">UNSORTED</option> + <option value="REQUIRE_UNIQUE">REQUIRE_UNIQUE</option> + </param> + + <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,‑‑minimumN &lt;minimumN&gt;" /> + + <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,‑‑rod_priority_list &lt;rod_priority_list&gt;" /> + + <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,‑‑setKey &lt;setKey&gt;" /> + + <param name="assumeIdenticalSamples" type="boolean" truevalue="--assumeIdenticalSamples" falsevalue="" label="If true, assume input VCFs have identical sample sets and disjoint calls" help="-assumeIdenticalSamples,‑‑assumeIdenticalSamples" /> + + <param name="excludeNonVariants" type="boolean" truevalue="--excludeNonVariants" falsevalue="" label="Don't include loci found to be non-variant after the combining procedure" help="-env,‑‑excludeNonVariants" /> + + <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,‑‑filteredAreUncalled" /> + + <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,‑‑mergeInfoWithMaxAC" /> + + <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,‑‑minimalVCF" /> + + <param name="printComplexMerges" type="boolean" truevalue="--printComplexMerges" falsevalue="" label="Print out interesting sites requiring complex compatibility merging" help="-printComplexMerges,‑‑printComplexMerges" /> + + <param name="suppressCommandLineHeader" type="boolean" truevalue="--suppressCommandLineHeader" falsevalue="" label="If true, do not output the header containing the command line used" help="-suppressCommandLineHeader,‑‑suppressCommandLineHeader" /> + + </expand> + + </xml> + + <xml name="CombineVariantsOutput"> + <data format="vcf" name="cv_output_vcf" label="${tool.name} - ${analysis_type.analysis_type_selector} on ${on_string} (VCF)"> + <yield /> + </data> + </xml> + + <template name="CombineVariantsPreprocessing"> +<![CDATA[ + @token_vcf_input_pre@ +]]> + </template> + + <template name="CombineVariantsOptions"> +<![CDATA[ + --out ${cv_output_vcf} + + @token_vcf_input@ + + #set $optionals = $analysis_type.optional_parameters + #if $optionals.optional_parameters_enabled + + #if $optionals.filteredRecordsMergeType + --filteredRecordsMergeType $optionals.filteredRecordsMergeType + #end if + #if $optionals.genotypeMergeOptions + --genotypeMergeOptions $optionals.genotypeMergeOptions + #end if + #if $optionals.minimumN != 1 + --minimumN $optionals.minimumN + #end if + #if $optionals.rod_priority_list + --rod_priority_list $optionals.rod_priority_list + #end if + + $optionals.assumeIdenticalSamples + $optionals.excludeNonVariants + $optionals.filteredAreUncalled + $optionals.mergeInfoWithMaxAC + $optionals.minimalVCF + $optionals.printComplexMerges + $optionals.suppressCommandLineHeader + + #end if +]]> + </template> + + +</macros> + +