diff snpEff_download.xml @ 0:c07c403fc470

Uploaded
author jjohnson
date Thu, 17 Jan 2013 16:31:12 -0500
parents
children 13b6ad2ddace
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/snpEff_download.xml	Thu Jan 17 16:31:12 2013 -0500
@@ -0,0 +1,32 @@
+<tool id="snpEff_download" name="SnpEff Download" version="3.1">
+	<description>Download a new database</description>
+	<requirements>
+		<requirement type="package" version="3.1">snpEff</requirement>
+	</requirements>
+	<command>java -jar \$JAVA_JAR_PATH/snpEff.jar download -c \$JAVA_JAR_PATH/snpEff.config $genomeVersion > $logfile </command>
+	<inputs>
+		<param name="genomeVersion" type="select" label="Genome">
+			<options from_file="snpeffect_genomedb.loc">
+				<column name="name" index="1"/>
+				<column name="value" index="0"/>
+			</options>
+		</param>
+	</inputs>
+
+	<outputs>
+		<data format="txt" name="logfile" />
+	</outputs>
+        <stdio>
+          <exit_code range=":-1"  level="fatal"   description="Error: Cannot open file" />
+          <exit_code range="1:"  level="fatal"   description="Error" />
+        </stdio>
+
+	<help>
+
+This tool downloads a SnpEff database.
+
+For details about this tool, please go to http://snpEff.sourceforge.net
+
+	</help>
+</tool>
+