Mercurial > repos > iuc > snpeff
annotate snpEff_download.xml @ 33:94653948fdb9 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
| author | iuc |
|---|---|
| date | Sat, 04 Oct 2025 17:00:46 +0000 |
| parents | ebe9fd7e5bd1 |
| children |
| rev | line source |
|---|---|
|
32
ebe9fd7e5bd1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 280d5247becaa9a70db9c5c4a2f1fc50d302838a
iuc
parents:
31
diff
changeset
|
1 <tool id="snpEff_download" name="SnpEff download:" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
2 <description> download a pre-built database</description> |
| 0 | 3 <macros> |
| 4 <import>snpEff_macros.xml</import> | |
| 5 </macros> | |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
6 <requirements> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
7 <expand macro="requirement" /> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
8 </requirements> |
|
5
92b80578fa22
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
2
diff
changeset
|
9 <expand macro="stdio" /> |
|
7
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
10 <expand macro="version_command" /> |
|
11
81fba81425a4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5c6d595ecbf2e4e39c25662a165c9e475e01ecd1
iuc
parents:
8
diff
changeset
|
11 <command><![CDATA[ |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
16
diff
changeset
|
12 snpEff download -dataDir "\$PWD/temp" -v '$genome_version' && |
|
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
16
diff
changeset
|
13 mkdir -p '$snpeff_db.files_path' && |
|
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
16
diff
changeset
|
14 mv temp/'$genome_version' '$snpeff_db.files_path' |
|
11
81fba81425a4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5c6d595ecbf2e4e39c25662a165c9e475e01ecd1
iuc
parents:
8
diff
changeset
|
15 ]]></command> |
| 0 | 16 <inputs> |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
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"> |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
16
diff
changeset
|
18 <validator type="empty_field" message="A genome version name is required" /> |
| 0 | 19 </param> |
| 20 </inputs> | |
| 21 <outputs> | |
|
32
ebe9fd7e5bd1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 280d5247becaa9a70db9c5c4a2f1fc50d302838a
iuc
parents:
31
diff
changeset
|
22 <data name="snpeff_db" format="snpeffdb" label="@SNPEFF_VERSION@ ${genome_version} database"/> |
| 0 | 23 </outputs> |
|
7
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
24 <tests> |
|
33
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
25 <test expect_failure="true"> |
|
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
26 <!-- The only meaningful test for this tool currently often, but not always, fails |
|
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
27 when run from github because the download attempt from github gets blocked |
|
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
28 by the data provider. |
|
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
29 As a workaround we make the test fail consistently. |
|
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
30 Put the "e" back on "zair" for an actual download attempt. --> |
|
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
31 <param name="genome_version" value="ebola_zair"/> |
|
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
32 <!-- then also uncomment the ouput assertion |
|
7
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
33 <output name="snpeff_db"> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
34 <assert_contents> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
35 <has_text text="ebola_zaire" /> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
36 </assert_contents> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
37 </output> |
|
33
94653948fdb9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit e4cbbb48006ac767c69efe53eab2a63306124bb5
iuc
parents:
32
diff
changeset
|
38 --> |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
16
diff
changeset
|
39 </test> |
|
7
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
40 </tests> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
6
diff
changeset
|
41 <help><![CDATA[ |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
42 **What it does** |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
43 |
|
31
b7029a54f73e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 4cc10cfe702828a91ecf8bb58d3f84a36b0578f7
iuc
parents:
21
diff
changeset
|
44 This tool downloads a specified database from a remote SnpEff repository. It deposits it into the history. |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
45 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
46 ------- |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
47 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
48 .. class:: infomark |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
49 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
50 **The usage scenario** |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
51 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
52 Suppose you want to annoate a VCF file containing variants within mm10 version of the Mouse genome. To do this you can: |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
53 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
54 #. Download mm10 snpEff database by typing *mm10* into **Select the annotation database...** text box. |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
55 #. Use **SnpEff eff** by choosing the downloaded database from the history using *Downloaded snpEff database in your history* option of the **Genome source** parameter. |
|
16
7c4ede6d88a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit a69e15a4016b3088ec937d6f2349be091c6b1b71
iuc
parents:
14
diff
changeset
|
56 |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
16
diff
changeset
|
57 @SNPEFF_IN_GALAXY_INFO@ |
|
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
16
diff
changeset
|
58 @EXTERNAL_DOCUMENTATION@ |
|
11
81fba81425a4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5c6d595ecbf2e4e39c25662a165c9e475e01ecd1
iuc
parents:
8
diff
changeset
|
59 ]]></help> |
| 0 | 60 <expand macro="citations" /> |
| 61 </tool> |
