view tool_dependencies.xml @ 8:f5ce6ab5f082 draft

Uploaded
author davidvanzessen
date Tue, 24 Sep 2013 05:00:50 -0400
parents 5576050e5d46
children afb3bd4f7186
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
	<set_environment version="1.0">            
    </set_environment>
    
	<package name="igBlastn" version="1.0.0"> 
        <install version="1.0">
            <actions>
            	<action type="download_by_url">
            		ftp://ftp.ncbi.nih.gov/blast/executables/igblast/release/1.0.0/ncbi-igblast-1.0.0-x64-linux.tar.gz
            	</action>
            	<action type="move_file">
            		<source>ncbi-igblast-1.0.0-x64-linux.tar.gz</source>
            		<destination>$INSTALL_DIR</destination>
            	</action>
                <action type="shell_command">
                	tar -zxvf $INSTALL_DIR/ncbi-igblast-1.0.0-x64-linux.tar.gz -C $INSTALL_DIR
                </action>
                
                <action type="set_environment">
                	<environment_variable name="IGDATA" action="set_to">$INSTALL_DIR/ncbi-igblast-1.0.0</environment_variable>
                </action>
                
                <action type="shell_command">
                	wget -r -np -nH --cut-dirs=4 -R index.html "ftp://ftp.ncbi.nih.gov/blast/executables/igblast/release/database"
            	</action>
            	<action type="move_directory_files">
            		<source_directory>database</source_directory>
            		<destination_directory>$INSTALL_DIR/ncbi-igblast-1.0.0/database</destination_directory>
            	</action>
            	
            	<action type="shell_command">
            		wget -r -np -nH --cut-dirs=4 -R index.html "ftp://ftp.ncbi.nih.gov/blast/executables/igblast/release/internal_data"
            	</action>
            	<action type="move_directory_files">
            		<source_directory>internal_data</source_directory>
            		<destination_directory>$INSTALL_DIR/ncbi-igblast-1.0.0/internal_data</destination_directory>
            	</action>
            </actions>
        </install>
        <readme>
			Installs R with apt-get.
        </readme>
    </package>
</tool_dependency>