view tool_dependencies.xml @ 2:977861cbcf10 draft

planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools commit 2e3fa5e8558ca86a5368258969c348b78ffa31ab
author yhoogstrate
date Tue, 10 Nov 2015 10:13:49 -0500
parents 3a2e0f376f26
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
	
	<package name="cgatools17" version="1"> 
		<install version="1.0">
			<actions>
				<action type="download_by_url">http://sourceforge.net/projects/cgatools/files/1.7.1/cgatools-1.7.1.5-linux_binary-x86_64.tar.gz</action>
				<action type="shell_command"> chmod a+x bin/cgatools</action>
				<action type="move_file">
					<source>bin/cgatools</source>
					<destination>$INSTALL_DIR/bin</destination>
				</action>
				<action type="set_environment">
					<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
					<environment_variable name="PATH" action="prepend_to">$REPOSITORY_INSTALL_DIR</environment_variable>
				</action>
			</actions>
		</install>
		<readme>
			Downloads and installs the cgatools binary. 
		</readme>
	</package>
	
	<package name="vcf_to_listVariants" version="1.0.0">
		<install version="1.0">
			<actions>
				<!--
				<action type="move_file">
					<source>$REPOSITORY_INSTALL_DIR/cgatools_v17/bin/vcf_to_listVariants.py</source>
					<destination>$INSTALL_DIR/bin/</destination>
				</action>
				-->
				
				<action type="shell_command">cp $REPOSITORY_INSTALL_DIR/tools/cgatools17/vcf_to_listVariants.py $INSTALL_DIR</action>
				<action type="chmod">
					<file mode="755">$INSTALL_DIR/vcf_to_listVariants.py</file>
				</action>
				
				<action type="set_environment">
					<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
					<environment_variable name="PATH" action="prepend_to">$REPOSITORY_INSTALL_DIR/cgatools_v17/bin</environment_variable>
					<environment_variable name="PATH" action="prepend_to">$REPOSITORY_INSTALL_DIR/cgatools_v17</environment_variable>
					<environment_variable name="PATH" action="prepend_to">$REPOSITORY_INSTALL_DIR/bin</environment_variable>
				</action>
			</actions>
		</install>
	</package>
	
</tool_dependency>