annotate variant_validate.xml @ 6:35c00763cb5c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
author iuc
date Mon, 04 Jun 2018 05:38:15 -0400
parents f244b8209eb8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
1 <tool id="gatk2_variant_validate" name="Validate Variants" version="@VERSION@.0">
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
2 <description></description>
340633249b3d Uploaded
bgruening
parents:
diff changeset
3 <macros>
340633249b3d Uploaded
bgruening
parents:
diff changeset
4 <import>gatk2_macros.xml</import>
340633249b3d Uploaded
bgruening
parents:
diff changeset
5 </macros>
6
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
6 <expand macro="requirements" />
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
7 <expand macro="version_command" />
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
8 <command interpreter="python">
340633249b3d Uploaded
bgruening
parents:
diff changeset
9 gatk2_wrapper.py
340633249b3d Uploaded
bgruening
parents:
diff changeset
10 --stdout "${output_log}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
11 -d "--variant:variant,%(file_type)s" "${reference_source.input_variant}" "${reference_source.input_variant.ext}" "input_variant"
340633249b3d Uploaded
bgruening
parents:
diff changeset
12 -p '
340633249b3d Uploaded
bgruening
parents:
diff changeset
13 @JAR_PATH@
340633249b3d Uploaded
bgruening
parents:
diff changeset
14 -T "ValidateVariants"
6
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
15
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
16 \$GATK2_SITE_OPTIONS
340633249b3d Uploaded
bgruening
parents:
diff changeset
17
340633249b3d Uploaded
bgruening
parents:
diff changeset
18 #if $reference_source.reference_source_selector != "history":
340633249b3d Uploaded
bgruening
parents:
diff changeset
19 -R "${reference_source.ref_file.fields.path}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
20 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
21 ${warn_on_errors}
340633249b3d Uploaded
bgruening
parents:
diff changeset
22 ${do_not_validate_filtered_records}
340633249b3d Uploaded
bgruening
parents:
diff changeset
23 '
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
24 @DBSNP_OPTIONS@
6
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
25
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
26 #include source=$standard_gatk_options#
340633249b3d Uploaded
bgruening
parents:
diff changeset
27 </command>
340633249b3d Uploaded
bgruening
parents:
diff changeset
28 <inputs>
6
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
29
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
30 <conditional name="reference_source">
340633249b3d Uploaded
bgruening
parents:
diff changeset
31 <expand macro="reference_source_selector_param" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
32 <when value="cached">
340633249b3d Uploaded
bgruening
parents:
diff changeset
33 <param name="input_variant" type="data" format="vcf" label="Input variant file" help="-V,--variant &amp;lt;variant&amp;gt;" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
34 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
35 <options from_data_table="gatk2_picard_indexes">
340633249b3d Uploaded
bgruening
parents:
diff changeset
36 <filter type="data_meta" key="dbkey" ref="input_variant" column="dbkey"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
37 </options>
340633249b3d Uploaded
bgruening
parents:
diff changeset
38 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
39 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
40 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
41 <when value="history"> <!-- FIX ME!!!! -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
42 <param name="input_variant" type="data" format="vcf" label="Input variant file" help="-V,--variant &amp;lt;variant&amp;gt;" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
43 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &amp;lt;reference_sequence&amp;gt;" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
44 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
45 </conditional>
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
46 <expand macro="dbsnp_param" />
6
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
47
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
48 <param name="warn_on_errors" type="boolean" checked="False" truevalue="-warnOnErrors" falsevalue="" label="instead of terminating the run at the first error, print warning messages for each error seen." help="-warnOnErrors,--warnOnErrors"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
49 <param name="do_not_validate_filtered_records" type="boolean" checked="False" truevalue="-doNotValidateFilteredRecords" falsevalue="" label="do not try to validate records that are FILTERed." help="-doNotValidateFilteredRecords,--doNotValidateFilteredRecords"/>
6
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
50
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
51 <expand macro="gatk_param_type_conditional" />
6
35c00763cb5c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gatk2 commit cf399638ebca4250bcc15f468238a9964de97b33
iuc
parents: 4
diff changeset
52
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
53 </inputs>
340633249b3d Uploaded
bgruening
parents:
diff changeset
54 <outputs>
340633249b3d Uploaded
bgruening
parents:
diff changeset
55 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
56 </outputs>
340633249b3d Uploaded
bgruening
parents:
diff changeset
57 <tests>
340633249b3d Uploaded
bgruening
parents:
diff changeset
58 <test>
340633249b3d Uploaded
bgruening
parents:
diff changeset
59 <param name="reference_source_selector" value="history" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
60 <param name="ref_file" value="phiX.fasta" ftype="fasta" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
61 <param name="input_variant" value="gatk/gatk_variant_annotator/gatk_variant_annotator_out_1.vcf" ftype="vcf" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
62 <param name="dbsnp_rod_bind_type_selector" value="set_dbsnp" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
63 <param name="dbsnp_input_rod" value="gatk/fake_phiX_variant_locations.vcf" ftype="vcf" />
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
64 <param name="dbsnp_rod_name" value="dbsnp" />
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
65 <param name="warn_on_errors" value="True"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
66 <param name="do_not_validate_filtered_records" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
67 <param name="gatk_param_type_selector" value="basic" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
68 <output name="output_log" file="gatk/gatk_validate_variants/gatk_validate_variants_out_1.log.contains" compare="contains" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
69 </test>
340633249b3d Uploaded
bgruening
parents:
diff changeset
70 </tests>
340633249b3d Uploaded
bgruening
parents:
diff changeset
71 <help>
340633249b3d Uploaded
bgruening
parents:
diff changeset
72 **What it does**
340633249b3d Uploaded
bgruening
parents:
diff changeset
73
340633249b3d Uploaded
bgruening
parents:
diff changeset
74 Validates a variants file.
340633249b3d Uploaded
bgruening
parents:
diff changeset
75
340633249b3d Uploaded
bgruening
parents:
diff changeset
76 For more information on using the ValidateVariants module, see this `tool specific page &lt;http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_variantutils_ValidateVariants.html&gt;`_.
340633249b3d Uploaded
bgruening
parents:
diff changeset
77
340633249b3d Uploaded
bgruening
parents:
diff changeset
78 To learn about best practices for variant detection using GATK, see this `overview &lt;http://www.broadinstitute.org/gatk/guide/topic?name=best-practices&gt;`_.
340633249b3d Uploaded
bgruening
parents:
diff changeset
79
340633249b3d Uploaded
bgruening
parents:
diff changeset
80 If you encounter errors, please view the `GATK FAQ &lt;http://www.broadinstitute.org/gatk/guide/topic?name=faqs&gt;`_.
340633249b3d Uploaded
bgruening
parents:
diff changeset
81
340633249b3d Uploaded
bgruening
parents:
diff changeset
82 ------
340633249b3d Uploaded
bgruening
parents:
diff changeset
83
340633249b3d Uploaded
bgruening
parents:
diff changeset
84 **Inputs**
340633249b3d Uploaded
bgruening
parents:
diff changeset
85
340633249b3d Uploaded
bgruening
parents:
diff changeset
86 GenomeAnalysisTK: ValidateVariants accepts variant files as input.
340633249b3d Uploaded
bgruening
parents:
diff changeset
87
340633249b3d Uploaded
bgruening
parents:
diff changeset
88
340633249b3d Uploaded
bgruening
parents:
diff changeset
89 **Outputs**
340633249b3d Uploaded
bgruening
parents:
diff changeset
90
340633249b3d Uploaded
bgruening
parents:
diff changeset
91 The output is a log of variant validation.
340633249b3d Uploaded
bgruening
parents:
diff changeset
92
340633249b3d Uploaded
bgruening
parents:
diff changeset
93
340633249b3d Uploaded
bgruening
parents:
diff changeset
94 Go `here &lt;http://www.broadinstitute.org/gatk/guide/topic?name=intro&gt;`_ for details on GATK file formats.
340633249b3d Uploaded
bgruening
parents:
diff changeset
95
340633249b3d Uploaded
bgruening
parents:
diff changeset
96 -------
340633249b3d Uploaded
bgruening
parents:
diff changeset
97
340633249b3d Uploaded
bgruening
parents:
diff changeset
98 **Settings**::
340633249b3d Uploaded
bgruening
parents:
diff changeset
99
340633249b3d Uploaded
bgruening
parents:
diff changeset
100 doNotValidateFilteredRecords should we skip validation on filtered records?
340633249b3d Uploaded
bgruening
parents:
diff changeset
101 warnOnErrors should we just emit warnings on errors instead of terminating the run?
340633249b3d Uploaded
bgruening
parents:
diff changeset
102
340633249b3d Uploaded
bgruening
parents:
diff changeset
103 @CITATION_SECTION@
340633249b3d Uploaded
bgruening
parents:
diff changeset
104 </help>
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
105 <expand macro="citations" />
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
106 </tool>