annotate snpEff_download.xml @ 4:698ef30638a8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 00efb7078cfb3664ef048925d0a6b02d8578c27d
author iuc
date Fri, 16 Sep 2016 13:06:42 -0400
parents b24873564cf6
children 7adfd0589f49
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
500832f27cbc Uploaded
iuc
parents: 0
diff changeset
1 <tool id="snpEff_download" name="SnpEff Download" version="@WRAPPER_VERSION@.0">
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
2 <description>Download a new database</description>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
3 <macros>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
4 <import>snpEff_macros.xml</import>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
5 </macros>
3
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
6 <expand macro="requirements" />
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
7 <expand macro="stdio" />
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
8 <expand macro="version_command" />
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
9 <command>
1
500832f27cbc Uploaded
iuc
parents: 0
diff changeset
10 <![CDATA[
4
698ef30638a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 00efb7078cfb3664ef048925d0a6b02d8578c27d
iuc
parents: 3
diff changeset
11 @CONDA_SNPEFF_JAR_PATH@ &&
3
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
12 java -jar "\$SNPEFF_JAR_PATH/snpEff.jar" download -c "\$SNPEFF_JAR_PATH/snpEff.config" -dataDir "$snpeff_db.files_path" -v "$genome_version"
1
500832f27cbc Uploaded
iuc
parents: 0
diff changeset
13 ]]>
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
14 </command>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
15 <inputs>
3
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
16 <param name="genome_version" type="text" value="" label="Select the genome version you want to download (e.g. GRCh37.74)">
1
500832f27cbc Uploaded
iuc
parents: 0
diff changeset
17 <help>@SNPEFF_DATABASE_URL@</help>
500832f27cbc Uploaded
iuc
parents: 0
diff changeset
18 <validator type="regex" message="A genome version name is required">\S+</validator>
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
19 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
20 </inputs>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
21 <outputs>
1
500832f27cbc Uploaded
iuc
parents: 0
diff changeset
22 <data format="snpeffdb" name="snpeff_db" label="${tool.name} @SNPEFF_VERSION@ ${genome_version}" />
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
23 </outputs>
3
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
24 <tests>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
25 <test>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
26 <param name="genome_version" value="ebola_zaire"/>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
27 <output name="snpeff_db">
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
28 <assert_contents>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
29 <has_text text="ebola_zaire" />
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
30 </assert_contents>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
31 </output>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
32 </test>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
33 </tests>
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
34 <help><![CDATA[
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
35
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
36 @EXTERNAL_DOCUMENTATION@
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
37
3
b24873564cf6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents: 1
diff changeset
38 ]]>
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
39 </help>
1
500832f27cbc Uploaded
iuc
parents: 0
diff changeset
40 <expand macro="citations" />
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
41 </tool>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
42