comparison snpEff_databases.xml @ 17:65ae79bddc69 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:57 -0400
parents c9ecd2a96ecf
children 268d162b9c49
comparison
equal deleted inserted replaced
16:c9ecd2a96ecf 17:65ae79bddc69
1 <tool id="snpEff_databases" name="SnpEff databases:" version="@wrapper_version@.galaxy1"> 1 <tool id="snpEff_databases" name="SnpEff databases:" version="@WRAPPER_VERSION@.galaxy1">
2 <description> list available databases</description> 2 <description> list available databases</description>
3 <macros> 3 <macros>
4 <import>snpEff_macros.xml</import> 4 <import>snpEff_macros.xml</import>
5 </macros> 5 </macros>
6 <requirements> 6 <requirements>
7 <expand macro="requirement" /> 7 <expand macro="requirement" />
8 </requirements> 8 </requirements>
9 <expand macro="stdio" /> 9 <expand macro="stdio" />
10 <expand macro="version_command" /> 10 <expand macro="version_command" />
11 <command><![CDATA[ 11 <command><![CDATA[
12
13 snpEff databases | grep -v '^---' | sed 's/^Genome/#Genome/' | sed 's/ *//g' 12 snpEff databases | grep -v '^---' | sed 's/^Genome/#Genome/' | sed 's/ *//g'
14 13
15 #if $include_pattern: 14 #if $include_pattern:
16 | grep '${include_pattern}' 15 | grep '${include_pattern}'
17 #end if 16 #end if
19 #if $exclude_pattern: 18 #if $exclude_pattern:
20 | grep -v '${exclude_pattern}' 19 | grep -v '${exclude_pattern}'
21 #end if 20 #end if
22 21
23 > '${snpeff_dbs}' 22 > '${snpeff_dbs}'
24
25 ]]></command> 23 ]]></command>
26 <inputs> 24 <inputs>
27 <param name="include_pattern" size="40" 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."> 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.">
28 <sanitizer> 26 <sanitizer>
29 <valid initial="string.digits,string.letters"> 27 <valid initial="string.digits,string.letters">
30 <add value="^" /> 28 <add value="^" />
31 <add value="_" /> 29 <add value="_" />
32 </valid> 30 </valid>
33 </sanitizer> 31 </sanitizer>
34 </param> 32 </param>
35 <param name="exclude_pattern" size="40" 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."> 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.">
36 <sanitizer> 34 <sanitizer>
37 <valid initial="string.digits,string.letters"> 35 <valid initial="string.digits,string.letters">
38 <add value="^" /> 36 <add value="^" />
39 <add value="_" /> 37 <add value="_" />
40 </valid> 38 </valid>
41 </sanitizer> 39 </sanitizer>
42 </param> 40 </param>
43 41
44 </inputs> 42 </inputs>
45 <outputs> 43 <outputs>
46 <data format="tabular" name="snpeff_dbs" label="${tool.name} @snpeff_version@ available databases" /> 44 <data name="snpeff_dbs" format="tabular" label="${tool.name} @SNPEFF_VERSION@ available databases" />
47 </outputs> 45 </outputs>
48 <tests> 46 <tests>
49 <test> 47 <test>
50 <output name="snpeff_dbs"> 48 <output name="snpeff_dbs">
51 <assert_contents> 49 <assert_contents>
61 </assert_contents> 59 </assert_contents>
62 </output> 60 </output>
63 </test> 61 </test>
64 </tests> 62 </tests>
65 <help><![CDATA[ 63 <help><![CDATA[
66
67 **What it does** 64 **What it does**
68 65
69 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:: 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::
70 67
71 mm10 Mouse http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_mm10.zip 68 mm10 Mouse http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_mm10.zip
72 mm9 Mouse http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_mm9.zip 69 mm9 Mouse http://downloads.sourceforge.net/project/snpeff/databases/v4_3/snpEff_v4_3_mm9.zip
73 70
74 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). 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).
82 There are two ways to use names of databases obtained with this tool in Galaxy's version on snpEff: 79 There are two ways to use names of databases obtained with this tool in Galaxy's version on snpEff:
83 80
84 #. 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. 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.
85 #. 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. 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.
86 83
87 @snpeff_in_galaxy_info@ 84 @SNPEFF_IN_GALAXY_INFO@
88 @external_documentation@ 85 @EXTERNAL_DOCUMENTATION@
89 ]]></help> 86 ]]></help>
90 <expand macro="citations" /> 87 <expand macro="citations" />
91 </tool> 88 </tool>
92 89