Mercurial > repos > jjohnson > data_manager_snpeff
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 |
rev | line source |
---|---|
1 | 1 <tool id="data_manager_snpeff_download" name="SnpEff Download" version="4.0" tool_type="manage_data"> |
0 | 2 <description>Download a new database</description> |
3 <requirements> | |
1 | 4 <requirement type="package" version="4.0">snpEff</requirement> |
0 | 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 | |
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 | 9 </command> |
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 | 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> | |
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 | 27 <output name="out_file"> |
28 <assert_contents> | |
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 | 33 </assert_contents> |
34 </output> | |
35 </test> | |
36 </tests> | |
37 <help> | |
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 | 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 |