Mercurial > repos > jjohnson > data_manager_snpeff
comparison 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 |
comparison
equal
deleted
inserted
replaced
3:c6769a700e55 | 4:6a378d0f4856 |
---|---|
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="4.0">snpEff</requirement> | 4 <requirement type="package" version="4.0">snpEff</requirement> |
5 </requirements> | 5 </requirements> |
6 <command interpreter="python"> | 6 <command interpreter="python"> |
7 data_manager_snpEff_download.py --jar_path \$SNPEFF_JAR_PATH/snpEff.jar --config \$SNPEFF_JAR_PATH/snpEff.config | 7 data_manager_snpEff_download.py --jar_path \$SNPEFF_JAR_PATH/snpEff.jar --config \$SNPEFF_JAR_PATH/snpEff.config |
8 #if $snpDb.genomeSrc == "named": | 8 --genome_version "$genome_version" "$out_file" |
9 --genome_version "${snpDb.genome_version}" | |
10 #else | |
11 --genome_version "${snpDb.genome_databases.fields.value}" | |
12 --organism "${snpDb.genome_databases.fields.name}" | |
13 #end if | |
14 "$out_file" | |
15 </command> | 9 </command> |
16 <inputs> | 10 <inputs> |
17 <conditional name="snpDb"> | 11 <param name="genome_version" type="text" size="40" value="" label="Snpff Genome Version Name (e.g. GRCh38.76)"> |
18 <param name="genomeSrc" type="select" label="Select Genome Version"> | 12 <help>http://sourceforge.net/projects/snpeff/files/databases/</help> |
19 <help>The list is very large and may take some time to display on your browser</help> | 13 <validator type="regex" message="A genome version name is required">\S+</validator> |
20 <option value="named">By Genome Version Name</option> | 14 </param> |
21 <option value="cached">Select from list</option> | |
22 </param> | |
23 <when value="named"> | |
24 <param name="genome_version" type="text" size="40" value="" label="Snpff Genome Version Name (e.g. GRCh37.74)"> | |
25 <help>http://sourceforge.net/projects/snpeff/files/databases/</help> | |
26 <validator type="regex" message="A genome version name is required">\S+</validator> | |
27 </param> | |
28 </when> | |
29 <when value="cached"> | |
30 <param name="genome_databases" type="select" display="checkboxes" multiple="true" label="Genome Version"> | |
31 <options from_data_table="snpeff4_databases"> | |
32 <filter type="sort_by" column="0" /> | |
33 </options> | |
34 </param> | |
35 </when> | |
36 </conditional> | |
37 </inputs> | 15 </inputs> |
38 | 16 |
39 <outputs> | 17 <outputs> |
40 <data name="out_file" format="data_manager_json" label="${tool.name}"/> | 18 <data name="out_file" format="data_manager_json" label="${tool.name}"/> |
41 </outputs> | 19 </outputs> |
43 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" /> | 21 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" /> |
44 <exit_code range="1:" level="fatal" description="Error" /> | 22 <exit_code range="1:" level="fatal" description="Error" /> |
45 </stdio> | 23 </stdio> |
46 <tests> | 24 <tests> |
47 <test> | 25 <test> |
48 <param name="genomeSrc" value="named"/> | |
49 <param name="genome_version" value="GRCh38.76"/> | 26 <param name="genome_version" value="GRCh38.76"/> |
50 <output name="out_file"> | 27 <output name="out_file"> |
51 <assert_contents> | 28 <assert_contents> |
52 <!-- Check that a genome was added --> | 29 <!-- Check that a genome was added --> |
53 <has_text text="GRCh38.76" /> | 30 <has_text text="GRCh38.76" /> |
57 </output> | 34 </output> |
58 </test> | 35 </test> |
59 </tests> | 36 </tests> |
60 <help> | 37 <help> |
61 | 38 |
62 This tool downloads a SnpEff database. | 39 This tool downloads a SnpEff database and populates data tables: snpeff4_genomedb, snpeff4_regulationdb, and snpeff4_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 | |
63 | 45 |
64 For details about this tool, please go to http://snpEff.sourceforge.net | 46 For details about this tool, please go to http://snpEff.sourceforge.net |
65 | 47 |
66 Please cite: | 48 Please cite: |
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] | 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] |