annotate tool_dependencies.xml @ 0:4924eecef6fc draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
author iuc
date Tue, 19 May 2015 15:02:51 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
2 <tool_dependency>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
3 <package name="snpEff" version="3.6">
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
4 <install version="1.0">
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
5 <actions>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
6 <action type="download_by_url">https://downloads.sourceforge.net/project/snpeff/snpEff_v3_6_core.zip</action>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
7 <action type="move_directory_files">
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
8 <source_directory>.</source_directory>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
9 <destination_directory>$INSTALL_DIR</destination_directory>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
10 </action>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
11 <action type="shell_command">sed -i.orig -e 's;http://downloads.sourceforge.net/project/snpeff/databases;https://snpeff-data.galaxyproject.org/databases;g' $INSTALL_DIR/snpEff.config</action>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
12 <action type="set_environment">
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
13 <environment_variable name="SNPEFF_JAR_PATH" action="set_to">$INSTALL_DIR</environment_variable>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
14 </action>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
15 <action type="set_environment">
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
16 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/scripts</environment_variable>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
17 </action>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
18 </actions>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
19 </install>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
20 <readme>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
21 SnpEff and SnpSift
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
22
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
23 SnpEff ( http://snpeff.sourceforge.net/ ) is a variant annotation and effect prediction tool by Pablo Cingolani.
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
24 It annotates and predicts the effects of variants on genes (such as amino acid changes).
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
25
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
26 This repository contains a tool_dependencies.xml file that downloads and installs SnpEff and SnpSift (SnpEff.jar and SnpSift.jar)
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
27
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
28 The install creates an environment variable: SNPEFF_JAR_PATH that contains the path to the jar files. Tools using this can generate a command line:
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
29 java -Xmx6G -jar \$SNPEFF_JAR_PATH/snpEff.jar eff -c \$SNPEFF_JAR_PATH/snpEff.config ...
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
30
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
31 The snpEff.config file is also installed, which specifies the default location for installed SnpEff genome databases:
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
32 data_dir = ~/snpEff/data/
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
33
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
34 The location of a genome database can be set via the commandline option -dataDir. Tools using this can generate a command line:
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
35 java -Xmx6G -jar \$SNPEFF_JAR_PATH/snpEff.jar eff -c \$SNPEFF_JAR_PATH/snpEff.config -dataDir path_to_data_directory snpeff_database_name input.vcf
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
36
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
37 Another way to change the location of data_dir would be to create a symbolic link in the galaxy HOME directory:
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
38 ln -s genome_data_path/snpEff ~/snpEff
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
39
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
40 SnpEff citation:
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
41 "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 6(2):80-92, 2012
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
42
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
43 SnpSift citation:
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
44 "Using Drosophila melanogaster as a model for genotoxic chemical mutational studies with a new program, SnpSift", Cingolani, P., et. al., Frontiers in Genetics, 3:35, 2012.
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
45 </readme>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
46 </package>
4924eecef6fc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_snpeff_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
iuc
parents:
diff changeset
47 </tool_dependency>