Mercurial > repos > iuc > snpeff
annotate snpEff_download.xml @ 30:c7275bd8b4d6 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 280d5247becaa9a70db9c5c4a2f1fc50d302838a
author | iuc |
---|---|
date | Mon, 18 Nov 2024 22:15:34 +0000 |
parents | ca2b512e8d7c |
children |
rev | line source |
---|---|
30
c7275bd8b4d6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 280d5247becaa9a70db9c5c4a2f1fc50d302838a
iuc
parents:
29
diff
changeset
|
1 <tool id="snpEff_download" name="SnpEff download:" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> |
10
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
2 <description> download a pre-built database</description> |
0 | 3 <macros> |
4 <import>snpEff_macros.xml</import> | |
5 </macros> | |
10
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
6 <requirements> |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
7 <expand macro="requirement" /> |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
8 </requirements> |
3
b24873564cf6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents:
1
diff
changeset
|
9 <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
|
10 <expand macro="version_command" /> |
7
7adfd0589f49
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5c6d595ecbf2e4e39c25662a165c9e475e01ecd1
iuc
parents:
4
diff
changeset
|
11 <command><![CDATA[ |
17
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
12 snpEff download -dataDir "\$PWD/temp" -v '$genome_version' && |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
13 mkdir -p '$snpeff_db.files_path' && |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
14 mv temp/'$genome_version' '$snpeff_db.files_path' |
7
7adfd0589f49
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5c6d595ecbf2e4e39c25662a165c9e475e01ecd1
iuc
parents:
4
diff
changeset
|
15 ]]></command> |
0 | 16 <inputs> |
10
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
17 <param name="genome_version" type="text" value="" label="Select the annotation database you want to download (e.g. GRCh38.86, mm10 etc.)" help="The list of available databases can be obtained with 'SnpEff databases' tool"> |
17
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
18 <validator type="empty_field" message="A genome version name is required" /> |
0 | 19 </param> |
20 </inputs> | |
21 <outputs> | |
30
c7275bd8b4d6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 280d5247becaa9a70db9c5c4a2f1fc50d302838a
iuc
parents:
29
diff
changeset
|
22 <data name="snpeff_db" format="snpeffdb" label="@SNPEFF_VERSION@ ${genome_version} database"/> |
0 | 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> |
17
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
33 <test> |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
34 <param name="genome_version" value="Bdellovibrio_bacteriovorus_hd100"/> |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
35 <output name="snpeff_db"> |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
36 <assert_contents> |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
37 <has_text text="Bdellovibrio_bacteriovorus_hd100" /> |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
38 </assert_contents> |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
39 </output> |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
40 </test> |
3
b24873564cf6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents:
1
diff
changeset
|
41 </tests> |
b24873564cf6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 21b46ae2c90ba7e569b2b3a9eaf938f8dedb2c31
iuc
parents:
1
diff
changeset
|
42 <help><![CDATA[ |
10
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
43 **What it does** |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
44 |
29
ca2b512e8d7c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 4cc10cfe702828a91ecf8bb58d3f84a36b0578f7
iuc
parents:
17
diff
changeset
|
45 This tool downloads a specified database from a remote SnpEff repository. It deposits it into the history. |
10
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
46 |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
47 ------- |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
48 |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
49 .. class:: infomark |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
50 |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
51 **The usage scenario** |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
52 |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
53 Suppose you want to annoate a VCF file containing variants within mm10 version of the Mouse genome. To do this you can: |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
54 |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
55 #. Download mm10 snpEff database by typing *mm10* into **Select the annotation database...** text box. |
5b4ac70948d2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
9
diff
changeset
|
56 #. Use **SnpEff eff** by choosing the downloaded database from the history using *Downloaded snpEff database in your history* option of the **Genome source** parameter. |
12
5a29ab10dba6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit a69e15a4016b3088ec937d6f2349be091c6b1b71
iuc
parents:
10
diff
changeset
|
57 |
17
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
58 @SNPEFF_IN_GALAXY_INFO@ |
65ae79bddc69
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
12
diff
changeset
|
59 @EXTERNAL_DOCUMENTATION@ |
7
7adfd0589f49
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5c6d595ecbf2e4e39c25662a165c9e475e01ecd1
iuc
parents:
4
diff
changeset
|
60 ]]></help> |
1 | 61 <expand macro="citations" /> |
0 | 62 </tool> |