Mercurial > repos > iuc > snpeff
annotate snpEff_databases.xml @ 21:9939612ba3cf draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
| author | iuc |
|---|---|
| date | Thu, 06 Sep 2018 13:23:34 -0400 |
| parents | 282a9b14496f |
| children | 8b2a9f89e3ec |
| rev | line source |
|---|---|
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
20
diff
changeset
|
1 <tool id="snpEff_databases" name="SnpEff databases:" version="@WRAPPER_VERSION@.galaxy1"> |
|
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> list available databases</description> |
| 2 | 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:
5
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[ |
|
16
7c4ede6d88a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit a69e15a4016b3088ec937d6f2349be091c6b1b71
iuc
parents:
14
diff
changeset
|
12 snpEff databases | grep -v '^---' | sed 's/^Genome/#Genome/' | sed 's/ *//g' |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
13 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
14 #if $include_pattern: |
|
16
7c4ede6d88a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit a69e15a4016b3088ec937d6f2349be091c6b1b71
iuc
parents:
14
diff
changeset
|
15 | grep '${include_pattern}' |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
16 #end if |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
17 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
18 #if $exclude_pattern: |
|
16
7c4ede6d88a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit a69e15a4016b3088ec937d6f2349be091c6b1b71
iuc
parents:
14
diff
changeset
|
19 | grep -v '${exclude_pattern}' |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
20 #end if |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
21 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
22 > '${snpeff_dbs}' |
|
11
81fba81425a4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5c6d595ecbf2e4e39c25662a165c9e475e01ecd1
iuc
parents:
8
diff
changeset
|
23 ]]></command> |
| 2 | 24 <inputs> |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
20
diff
changeset
|
25 <param name="include_pattern" type="text" value="" optional="true" label="List entries matching the following expression" help="Databases matching this expression will be listed. Here you can enter text or regular expression. For example, to show only mouse databases use 'Mouse'. Note that this parameter is case-sensitive."> |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
26 <sanitizer> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
27 <valid initial="string.digits,string.letters"> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
28 <add value="^" /> |
|
20
282a9b14496f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 33017565e3dd788161910bd856aff43fbb57a58f
iuc
parents:
16
diff
changeset
|
29 <add value="_" /> |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
30 </valid> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
31 </sanitizer> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
32 </param> |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
20
diff
changeset
|
33 <param name="exclude_pattern" type="text" value="" optional="true" label="Do not output entries matching the following expression" help="Databases matching this expression WILL NOT BE listed. Here you can enter text or regular expression. For excample, to avoid all ENSEMBL bundles enter 'ENSEMBL'. Note that this parameter is case-sensitive."> |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
34 <sanitizer> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
35 <valid initial="string.digits,string.letters"> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
36 <add value="^" /> |
|
20
282a9b14496f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 33017565e3dd788161910bd856aff43fbb57a58f
iuc
parents:
16
diff
changeset
|
37 <add value="_" /> |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
38 </valid> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
39 </sanitizer> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
40 </param> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
41 |
| 2 | 42 </inputs> |
| 43 <outputs> | |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
20
diff
changeset
|
44 <data name="snpeff_dbs" format="tabular" label="${tool.name} @SNPEFF_VERSION@ available databases" /> |
| 2 | 45 </outputs> |
|
7
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
46 <tests> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
47 <test> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
48 <output name="snpeff_dbs"> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
49 <assert_contents> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
50 <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:
5
diff
changeset
|
51 </assert_contents> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
52 </output> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
53 </test> |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
54 <test> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
55 <param name="include_pattern" value="ebola"/> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
56 <output name="snpeff_dbs"> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
57 <assert_contents> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
58 <has_text text="ebola_zaire" /> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
59 </assert_contents> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
60 </output> |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
61 </test> |
|
7
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
62 </tests> |
|
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
63 <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
|
64 **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
|
65 |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
20
diff
changeset
|
66 This tool downloads the master list of snpEff databases from @SNPEFF_DATABASE_URL@. You can then look at this list and decide which database to use for your analysis. For example, if **List entries matching the following expression** parameter of this tool is set to *Mouse* the it will produce a tabular dataset with the following content:: |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
67 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
68 mm10 Mouse http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_mm10.zip |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
69 mm9 Mouse http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_mm9.zip |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
70 |
|
16
7c4ede6d88a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit a69e15a4016b3088ec937d6f2349be091c6b1b71
iuc
parents:
14
diff
changeset
|
71 This means that there two available snpEff databases for mouse genome versions mm9 and mm10. In order to download these databases you should use identifier from the first column (e.g., mm9 or mm10 in this case). |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
72 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
73 ------- |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
74 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
75 .. 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
|
76 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
77 **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
|
78 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
79 There are two ways to use names of databases obtained with this tool in Galaxy's version on snpEff: |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
80 |
|
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
81 #. Use **SnpEff download** tool. It will download the database to the history and you will be able to use it in **SnpEff eff** tool 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
|
82 #. Use *Download on demand* option of the **SnpEff eff** tool (again, **Genome source** parameter). In this case snpEff will download the database before performing annotation. |
|
14
a7c106b938dd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit eea43430ff90fe6b13b295f6d5efb2208401a7ef
iuc
parents:
13
diff
changeset
|
83 |
|
21
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
20
diff
changeset
|
84 @SNPEFF_IN_GALAXY_INFO@ |
|
9939612ba3cf
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit 5ab504d384299d8c2ed496650f1f9e4a887cd102
iuc
parents:
20
diff
changeset
|
85 @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
|
86 ]]></help> |
|
7
aaa749ea91a2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpeff commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
5
diff
changeset
|
87 <expand macro="citations" /> |
| 2 | 88 </tool> |
| 89 |
