annotate data_manager/data_manager_snpEff_download.xml @ 4:6a378d0f4856

Only download by name, available genome list now too large to be practical
author Jim Johnson <jj@umn.edu>
date Thu, 23 Oct 2014 05:43:46 -0500
parents c6769a700e55
children 78bcf4ac437c
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
4
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
8 --genome_version "$genome_version" "$out_file"
0
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
9 </command>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
10 <inputs>
4
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
11 <param name="genome_version" type="text" size="40" value="" label="Snpff Genome Version Name (e.g. GRCh38.76)">
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
12 <help>http://sourceforge.net/projects/snpeff/files/databases/</help>
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
13 <validator type="regex" message="A genome version name is required">\S+</validator>
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
14 </param>
0
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
15 </inputs>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
16
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
17 <outputs>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
18 <data name="out_file" format="data_manager_json" label="${tool.name}"/>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
19 </outputs>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
20 <stdio>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
21 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
22 <exit_code range="1:" level="fatal" description="Error" />
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
23 </stdio>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
24 <tests>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
25 <test>
3
c6769a700e55 Update loc data to separate version 4 databases
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
26 <param name="genome_version" value="GRCh38.76"/>
0
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
27 <output name="out_file">
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
28 <assert_contents>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
29 <!-- Check that a genome was added -->
3
c6769a700e55 Update loc data to separate version 4 databases
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
30 <has_text text="GRCh38.76" />
c6769a700e55 Update loc data to separate version 4 databases
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
31 <has_text text="snpeff4_regulationdb" />
c6769a700e55 Update loc data to separate version 4 databases
Jim Johnson <jj@umn.edu>
parents: 1
diff changeset
32 <has_text text="snpeff4_annotations" />
0
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
33 </assert_contents>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
34 </output>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
35 </test>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
36 </tests>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
37 <help>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
38
4
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
39 This tool downloads a SnpEff database and populates data tables: snpeff4_genomedb, snpeff4_regulationdb, and snpeff4_annotations.
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
40
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
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
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
42
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
43 The SnpEff genome databases are at: http://sourceforge.net/projects/snpeff/files/databases/
6a378d0f4856 Only download by name, available genome list now too large to be practical
Jim Johnson <jj@umn.edu>
parents: 3
diff changeset
44
0
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
45
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
46 For details about this tool, please go to http://snpEff.sourceforge.net
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
47
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
48 Please cite:
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
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]
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
50
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
51 </help>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
52 </tool>
bc50aa3b328a Uploaded
jjohnson
parents:
diff changeset
53