changeset 7:eba88632a533 draft

planemo upload commit 0ba99fe246099cc1827f71f2722d253becee64ba
author yating-l
date Thu, 21 Jul 2016 17:17:30 -0400
parents 3e3374605b6d
children 7107b7be52da
files snap.xml tool_dependencies.xml
diffstat 2 files changed, 20 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/snap.xml	Thu Jul 21 14:30:47 2016 -0400
+++ b/snap.xml	Thu Jul 21 17:17:30 2016 -0400
@@ -6,7 +6,7 @@
         <exit_code range="1:" />
     </stdio>
     <command><![CDATA[
-        $SNAP_PATH/snap
+        snap
         #if $settings.advanced == "advanced"
         $settings.lcmask
             #if $settings.strand == "true"
--- a/tool_dependencies.xml	Thu Jul 21 14:30:47 2016 -0400
+++ b/tool_dependencies.xml	Thu Jul 21 17:17:30 2016 -0400
@@ -1,6 +1,24 @@
 <?xml version="1.0"?>
 <tool_dependency>
     <package name="snap" version="0.1.0">
-        <repository changeset_revision="8896a0891e9b" name="package_snap_0_1_0" owner="yating-l" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+	<install version="0.1.0">
+            <actions>
+                <action type="download_by_url">http://korflab.ucdavis.edu/Software/snap-2013-11-29.tar.gz</action>
+                <action type="shell_command">rm snap-2013-11-29.tar.gz</action>
+                <action type="move_directory_files">
+                    <source_directory>.</source_directory>
+                    <destination_directory>$INSTALL_DIR</destination_directory>
+                </action>
+                <action type="shell_command">make</action>
+                <action type="set_environment">
+                    <environment_variable name="ZOE" action="set_to">$INSTALL_DIR</environment_variable>
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
+                </action>
+            </actions>
+    </install>
+    <readme>SNAP is a general purpose gene finding program suitable for both eukaryotic
+            and prokaryotic genomes. SNAP is an acroynm for Semi-HMM-based Nucleic Acid
+            Parser.
+    </readme>
     </package>
 </tool_dependency>