annotate data_manager/data_manager_snpEff_download.xml @ 3:e5a471c4630e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
author iuc
date Mon, 31 Oct 2016 08:13:11 -0400
parents 85a23e2dd92b
children 847b0f43c0e5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
1 <tool id="data_manager_snpeff_download" name="SnpEff Download" version="@WRAPPER_VERSION@.0" tool_type="manage_data">
0
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
2 <description>Download a new database</description>
3
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
3 <macros>
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
4 <import>snpEff_macros.xml</import>
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
5 </macros>
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
6 <expand macro="requirements" />
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
7 <expand macro="stdio" />
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
8 <expand macro="version_command" />
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
9 <command><![CDATA[
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
10 @CONDA_SNPEFF_JAR_PATH@ &&
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
11 python $__tool_directory__/data_manager_snpEff_download.py --jar_path "\$SNPEFF_JAR_PATH/snpEff.jar" --config "\$SNPEFF_JAR_PATH/snpEff.config"
0
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
12 --genome_version "$genome_version" "$out_file"
3
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
13 ]]>
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
14 </command>
0
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
15 <inputs>
1
85a23e2dd92b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/data_managers/data_manager_snpeff commit 88c982c5adcd32b11d98428fc554a4fdfcc19584
iuc
parents: 0
diff changeset
16 <param name="genome_version" type="text" value="" label="Snpff Genome Version Name (e.g. GRCh38.76)">
0
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
17 <help>https://snpeff-data.galaxyproject.org/databases/</help>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
18 <validator type="regex" message="A genome version name is required">\S+</validator>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
19 </param>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
20 </inputs>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
21
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
22 <outputs>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
23 <data name="out_file" format="data_manager_json" label="${tool.name}"/>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
24 </outputs>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
25 <tests>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
26 <test>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
27 <param name="genome_version" value="GRCh38.76"/>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
28 <output name="out_file">
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
29 <assert_contents>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
30 <!-- Check that a genome was added -->
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
31 <has_text text="GRCh38.76" />
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
32 <has_text text="snpeffv_regulationdb" />
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
33 <has_text text="snpeffv_annotations" />
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
34 </assert_contents>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
35 </output>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
36 </test>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
37 </tests>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
38 <help>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
39
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
40 This tool downloads a SnpEff database and populates data tables: snpeffv_genomedb, snpeffv_regulationdb, and snpeffv_annotations.
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
41
1
85a23e2dd92b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/data_managers/data_manager_snpeff commit 88c982c5adcd32b11d98428fc554a4fdfcc19584
iuc
parents: 0
diff changeset
42 To see the list of available SnpEff genomes run the "SnpEff Databases" data manager which records the available genome databases in data table: snpeff4_databases
0
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
43
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
44 The SnpEff genome databases are at: http://sourceforge.net/projects/snpeff/files/databases/
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
45
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
46
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
47 For details about this tool, please go to http://snpEff.sourceforge.net
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
48
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
49 Please cite:
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
50 "A program for annotating and predicting the effects of single nucleotide polymorphisms, SnpEff: SNPs in the genome of Drosophila melanogaster strain w1118; iso-2; iso-3.", Cingolani P, Platts A, Wang le L, Coon M, Nguyen T, Wang L, Land SJ, Lu X, Ruden DM. Fly (Austin). 2012 Apr-Jun;6(2):80-92. PMID: 22728672 [PubMed - in process]
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
51
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
52 </help>
3
e5a471c4630e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit de422632b9310905f8e9d44faee9ff768752968f
iuc
parents: 1
diff changeset
53 <expand macro="citations" />
0
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
54 </tool>
9ac823a8b328 Uploaded
iuc
parents:
diff changeset
55