annotate data_manager/data_manager_snpEff_download.xml @ 1:8ac7bbaac976

Update to snpEff version 4.0
author Jim Johnson <jj@umn.edu>
date Thu, 16 Oct 2014 07:21:49 -0500
parents bc50aa3b328a
children c6769a700e55
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
8ac7bbaac976 Update to snpEff version 4.0
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
1 <tool id="data_manager_snpeff_download" name="SnpEff Download" version="4.0" tool_type="manage_data">
0
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
2 <description>Download a new database</description>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
3 <requirements>
1
8ac7bbaac976 Update to snpEff version 4.0
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
4 <requirement type="package" version="4.0">snpEff</requirement>
0
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
5 </requirements>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
6 <command interpreter="python">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
7 data_manager_snpEff_download.py --jar_path \$SNPEFF_JAR_PATH/snpEff.jar --config \$SNPEFF_JAR_PATH/snpEff.config
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
8 #if $snpDb.genomeSrc == "named":
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
9 --genome_version "${snpDb.genome_version}"
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
10 #else
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
11 --genome_version "${snpDb.genome_databases.fields.value}"
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
12 --organism "${snpDb.genome_databases.fields.name}"
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
13 #end if
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
14 "$out_file"
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
15 </command>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
16 <inputs>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
17 <conditional name="snpDb">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
18 <param name="genomeSrc" type="select" label="Select Genome Version">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
19 <help>The list is very large and may take some time to display on your browser</help>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
20 <option value="named">By Genome Version Name</option>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
21 <option value="cached">Select from list</option>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
22 </param>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
23 <when value="named">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
24 <param name="genome_version" type="text" size="40" value="" label="Snpff Genome Version Name (e.g. GRCh37.74)">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
25 <help>http://sourceforge.net/projects/snpeff/files/databases/</help>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
26 <validator type="regex" message="A genome version name is required">\S+</validator>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
27 </param>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
28 </when>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
29 <when value="cached">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
30 <param name="genome_databases" type="select" display="checkboxes" multiple="true" label="Genome Version">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
31 <options from_data_table="snpeff_databases">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
32 <filter type="sort_by" column="0" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
33 </options>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
34 </param>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
35 </when>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
36 </conditional>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
37 </inputs>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
38
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
39 <outputs>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
40 <data name="out_file" format="data_manager_json" label="${tool.name}"/>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
41 </outputs>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
42 <stdio>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
43 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
44 <exit_code range="1:" level="fatal" description="Error" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
45 </stdio>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
46 <tests>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
47 <test>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
48 <param name="genomeSrc" value="named"/>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
49 <param name="genome_version" value="GRCh37.71"/>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
50 <output name="out_file">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
51 <assert_contents>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
52 <!-- Check that a genome was added -->
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
53 <has_text text="GRCh37.71" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
54 <has_text text="snpeff_regulationdb" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
55 <has_text text="snpeff_annotations" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
56 </assert_contents>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
57 </output>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
58 </test>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
59 </tests>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
60 <help>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
61
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
62 This tool downloads a SnpEff database.
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
63
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
64 For details about this tool, please go to http://snpEff.sourceforge.net
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
65
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
66 Please cite:
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
67 "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]
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
68
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
69 </help>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
70 </tool>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
71