changeset 5:490363104b25 draft

Uploaded
author jeremie
date Fri, 27 Jun 2014 04:27:52 -0400
parents 73d0ce5316f0
children d36991c26cdd
files tool_dependencies.xml
diffstat 1 files changed, 39 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Fri Jun 27 04:24:35 2014 -0400
+++ b/tool_dependencies.xml	Fri Jun 27 04:27:52 2014 -0400
@@ -1,7 +1,43 @@
 <?xml version="1.0"?>
 <tool_dependency>
-	<package name="breakdancer" version="1.2.6">
-        <repository changeset_revision="caa1e0052ea6" name="package_breakdancer_1_2_6" owner="jeremie" toolshed="http://testtoolshed.g2.bx.psu.edu" />
-    </package>
+	<package name="breakdancer-max" version="1.2.6">
+		<install version="1.0">
+			<actions>
+				<action type="download_binary" target_directory="bin">
+					<url_template os="linux">https://www.dropbox.com/s/uu6i5m6ri32ogo9/breakdancer-max?dl=1</url_template>
+				</action>
+
+				<action type="download_binary" target_directory="bin">
+					<url_template os="linux">https://www.dropbox.com/s/owg7s479fyq8zps/bam2cfg.pl?dl=1</url_template>
+				</action>
+				<action type="download_binary" target_directory="bin">
+					<url_template os="linux">https://www.dropbox.com/s/4yj96h4srk0uaf7/breakdancer2vcf.py?dl=1</url_template>
+				</action>
+				<action type="move_file">
+					<source>$INSTALL_DIR/bin/breakdancer-max?dl=1</source>
+					<destination>$INSTALL_DIR/bin/breakdancer-max</destination>
+				</action>
+				<action type="move_file">
+					<source>$INSTALL_DIR/bin/bam2cfg.pl?dl=1</source>
+					<destination>$INSTALL_DIR/bin/bam2cfg.pl</destination>
+				</action>
+				<action type="move_file">
+					<source>$INSTALL_DIR/bin/breakdancer2vcf.py?dl=1</source>
+					<destination>$INSTALL_DIR/bin/breakdancer2vcf.py</destination>
+				</action>
+				<action type="chmod">
+					<file mode="750">$INSTALL_DIR/bin/*</file>
+				</action>
+				<!-- <action type="shell_command">cp $REPOSITORY_INSTALL_DIR/breakdancer-max $INSTALL_DIR/bin</action>
+				<action type="shell_command">cp $REPOSITORY_INSTALL_DIR/bam2cfg.pl $INSTALL_DIR/bin</action>
+				<action type="shell_command">cp $REPOSITORY_INSTALL_DIR/breakdancer2vcf.py $INSTALL_DIR/bin</action> -->
+				<action type="set_environment">
+					<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+				</action>
+			</actions>
+		</install>
+		<readme>
+		</readme>
+	</package>
 </tool_dependency>