Mercurial > repos > wolma > mimodd_snpeff
comparison annotate_variants.xml @ 0:01e09a4cacf7 draft
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
author | wolma |
---|---|
date | Sat, 11 Nov 2017 18:20:20 -0500 |
parents | |
children | 99dfde12ee53 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:01e09a4cacf7 |
---|---|
1 <tool id="mimodd_annotate" name="MiModD Variant Annotation" | |
2 version="@MIMODD_WRAPPER_VERSION@"> | |
3 <description> | |
4 with functional effects on genes and transcripts | |
5 </description> | |
6 <macros> | |
7 <import>macros.xml</import> | |
8 </macros> | |
9 <expand macro="requirements" /> | |
10 <expand macro="stdio" /> | |
11 <expand macro="version_command" /> | |
12 <command><![CDATA[ | |
13 mimodd annotate | |
14 '$inputfile' '$genome.annotation_source' | |
15 #if $snpeff_settings.stats: | |
16 --stats '$summary_file' | |
17 #end if | |
18 #if $codon_tables.genome_codon_table.strip() or len($codon_tables.table_specs) > 0: | |
19 --codon-tables | |
20 #if $codon_tables.genome_codon_table.strip(): | |
21 '$codon_tables.genome_codon_table' | |
22 #end if | |
23 #for $table_spec in $codon_tables.table_specs: | |
24 '$table_spec.contig:$table_spec.table' | |
25 #end for | |
26 #end if | |
27 #if $snpeff_settings.ud: | |
28 --ud ${snpeff_settings.ud} | |
29 #end if | |
30 #if $snpeff_settings.filter: | |
31 #echo ' '.join(str($snpeff_settings.filter).split(',')) | |
32 #end if | |
33 --ofile '$ofile' | |
34 --verbose | |
35 ]]></command> | |
36 | |
37 <inputs> | |
38 <param name="inputfile" type="data" format="vcf" | |
39 label="VCF input file to be annotated" /> | |
40 <conditional name="genome"> | |
41 <param name="selection_method" type="select" | |
42 label="Select SnpEff Genome Database"> | |
43 <option value="select_from_list">from a list of installed databases</option> | |
44 <option value="select_by_name">by name</option> | |
45 </param> | |
46 <when value="select_from_list"> | |
47 <param name="genome_list" type="data" format="tabular" optional="true" | |
48 label="List of available SnpEff Genomes" | |
49 help="Select a dataset generated with the MiModD List Installed SnpEff Genomes tool to be able to choose from the genome databases listed in it." /> | |
50 <param name="annotation_source" type="select" | |
51 label="SnpEff Genome to use" | |
52 help="Select a genome annotation database for your organism from the ones in the list."> | |
53 <options from_dataset="genome_list"> | |
54 <column name="name" index="0"/> | |
55 <column name="value" index="1"/> | |
56 <filter type="unique_value" name="unique_names" column="0"/> | |
57 </options> | |
58 </param> | |
59 </when> | |
60 <when value="select_by_name"> | |
61 <param name="annotation_source" type="text" | |
62 label="Name of an installed SnpEff genome" | |
63 help="Your input needs to exactly match the name of an installed SnpEff database."> | |
64 <validator type="expression" message="A SnpEff genome is required to run this tool.">value.strip()</validator> | |
65 </param> | |
66 </when> | |
67 </conditional> | |
68 <section name="codon_tables" title="Codon Table Configuration" expanded="false"> | |
69 <param name="genome_codon_table" type="text" | |
70 label="Genome codon table" | |
71 help="If this genome uses a non-standard codon table and this fact is not declared in the SnpEff config file, specify the table here. The name you provide must match exactly the name of a codon table known to SnpEff." /> | |
72 <repeat name="table_specs" default="0" min="0" | |
73 title="Codon tables to use for specific contigs" | |
74 help="Use if certain contigs in the reference genome use a distinct codon table. A typical example is a mitochondrial genome contained as a contig in the reference genome. Contig/codon table assignments declared here will take precedence over a genome codon table set above."> | |
75 <param name="contig" type="text" label="contig or chromosome name"> | |
76 <validator type="expression" message="This is a required field for a contig/codon table assignment.">value.strip()</validator> | |
77 </param> | |
78 <param name="table" type="text" label="uses codon table"> | |
79 <validator type="expression" message="This is a required field for a contig/codon table assignment.">value.strip()</validator> | |
80 </param> | |
81 </repeat> | |
82 </section> | |
83 <section name="snpeff_settings" title="More SnpEff options" expanded="false"> | |
84 <param name="stats" type="boolean" checked="false" | |
85 label="Have SnpEff produce a summary file of results" /> | |
86 <param name="ud" type="integer" optional="true" | |
87 label="upstream downstream interval length (default = 5000 bases)" | |
88 help="specify the upstream/downstream interval length. Variants more than INTERVAL nts from the next annotated gene will be considered intergenic"/> | |
89 <param name="filter" type="select" display="checkboxes" multiple="true" | |
90 label="Disable select types of annotations" | |
91 help="The corresponding variants will still be retained (without annotations) in the output"> | |
92 <option value="--no-downstream">Do not annotate DOWNSTREAM changes</option> | |
93 <option value="--no-upstream">Do not annotate UPSTREAM changes</option> | |
94 <option value="--no-intergenic">Do not annotate INTERGENIC changes</option> | |
95 <option value="--no-intron">Do not annotate INTRON changes</option> | |
96 <option value="--no-utr">Do not annotate 5_PRIME_UTR or 3_PRIME_UTR changes</option> | |
97 </param> | |
98 </section> | |
99 </inputs> | |
100 | |
101 <outputs> | |
102 <data name="ofile" format="vcf" | |
103 label="Variants annotated with MiModd from ${on_string}" /> | |
104 <data name="summary_file" format="html" | |
105 label="Summary of MiModD variant annotation of ${on_string}"> | |
106 <filter>snpeff_settings['stats']</filter> | |
107 </data> | |
108 </outputs> | |
109 | |
110 <help><![CDATA[ | |
111 .. class:: warningmark | |
112 | |
113 This tool requires the variant annotation software SnpEff, which is not part of | |
114 the MiModD package! It also needs the correct SnpEff genome database for your | |
115 organism and reference sequence version installed with SnpEff. | |
116 | |
117 .. class:: infomark | |
118 | |
119 **What it does** | |
120 | |
121 This tool uses SnpEff to annotate the variants in the VCF input dataset with | |
122 the effects that these variants have on known genomic features, i.e. on genes | |
123 and transcripts. | |
124 | |
125 To do its job, SnpEff requires a database of known genome annotations for your | |
126 organism of interest. If you know the exact name of the genome database that | |
127 you want to use, you can enter it directly. Otherwise, you should use the | |
128 MiModD *List Installed SnpEff Genomes* tool first to generate a new dataset in | |
129 your history that lists all SnpEff genome databases currently available to | |
130 SnpEff on the system, then when you select this dataset as the *List of | |
131 available SnpEff Genomes* above, you will be able to choose the SnpEff Genome | |
132 from a dropdown list. | |
133 | |
134 The tool will create a new dataset in VCF format with the annotations added to | |
135 the corresponding variant records. Do not expect this format to be very | |
136 readable, but use the *MiModD Variant Reports* tool to turn it into a human | |
137 friendly form. | |
138 | |
139 In addition, you can instruct the tool to produce an additional dataset with a | |
140 summary of the variants and their effects in html format. | |
141 | |
142 @HELP_FOOTER@ | |
143 ]]></help> | |
144 <expand macro="citations" /> | |
145 </tool> |