0
|
1 <tool id="data_manager_snpeff_download" name="SnpEff Download" version="4.0.0" tool_type="manage_data">
|
|
2 <description>Download a new database</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="4.0">snpEff</requirement>
|
|
5 </requirements>
|
|
6 <command interpreter="python">
|
|
7 data_manager_snpEff_download.py --jar_path \$SNPEFF_JAR_PATH/snpEff.jar --config \$SNPEFF_JAR_PATH/snpEff.config
|
|
8 --genome_version "$genome_version" "$out_file"
|
|
9 </command>
|
|
10 <inputs>
|
|
11 <param name="genome_version" type="text" size="40" value="" label="Snpff Genome Version Name (e.g. GRCh38.76)">
|
|
12 <help>https://snpeff-data.galaxyproject.org/databases/</help>
|
|
13 <validator type="regex" message="A genome version name is required">\S+</validator>
|
|
14 </param>
|
|
15 </inputs>
|
|
16
|
|
17 <outputs>
|
|
18 <data name="out_file" format="data_manager_json" label="${tool.name}"/>
|
|
19 </outputs>
|
|
20 <stdio>
|
|
21 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
|
|
22 <exit_code range="1:" level="fatal" description="Error" />
|
|
23 </stdio>
|
|
24 <tests>
|
|
25 <test>
|
|
26 <param name="genome_version" value="GRCh38.76"/>
|
|
27 <output name="out_file">
|
|
28 <assert_contents>
|
|
29 <!-- Check that a genome was added -->
|
|
30 <has_text text="GRCh38.76" />
|
|
31 <has_text text="snpeffv_regulationdb" />
|
|
32 <has_text text="snpeffv_annotations" />
|
|
33 </assert_contents>
|
|
34 </output>
|
|
35 </test>
|
|
36 </tests>
|
|
37 <help>
|
|
38
|
|
39 This tool downloads a SnpEff database and populates data tables: snpeffv_genomedb, snpeffv_regulationdb, and snpeffv_annotations.
|
|
40
|
|
41 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
|
|
42
|
|
43 The SnpEff genome databases are at: http://sourceforge.net/projects/snpeff/files/databases/
|
|
44
|
|
45
|
|
46 For details about this tool, please go to http://snpEff.sourceforge.net
|
|
47
|
|
48 Please cite:
|
|
49 "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]
|
|
50
|
|
51 </help>
|
|
52 </tool>
|
|
53
|