view tool_dependencies.xml @ 42:46fbf2f2d1aa draft

Uploaded
author davidvanzessen
date Thu, 26 Sep 2013 10:26:59 -0400
parents 12de5aa44543
children 02de9290e324
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" target_filename="ncbi-igblast-1.0.0-x64-linux.tar.gz">
            		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_directory_files">
		    		<source_directory>ncbi-igblast-1.0.0</source_directory>
			   		<destination_directory>$INSTALL_DIR/ncbi-igblast-1.0.0</destination_directory>
	       		</action>
                <action type="set_environment">
                	<environment_variable name="IGDATA" action="set_to">$INSTALL_DIR/ncbi-igblast-1.0.0</environment_variable>
                </action>
                <action type="set_environment">
                	<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/ncbi-igblast-1.0.0/bin</environment_variable>
                </action>

                <action type="make_directory">$INSTALL_DIR/ncbi-igblast-1.0.0/internal_data</action>
                <action type="make_directory">$INSTALL_DIR/ncbi-igblast-1.0.0/internal_data/human</action>
                                
                <action type="shell_command">wget -r -np -nH --cut-dirs=4 -R index.html -P $INSTALL_DIR/ncbi-igblast-1.0.0 "ftp://ftp.ncbi.nih.gov/blast/executables/igblast/release/internal_data"</action>
                
                <action type="shell_command">wget -r -np -nH --cut-dirs=4 -R index.html -P $INSTALL_DIR/ncbi-igblast-1.0.0 "ftp://ftp.ncbi.nih.gov/blast/executables/igblast/release/database"</action>
                
                <action type="shell_command">wget -r -np -nH --cut-dirs=4 -R index.html -P $INSTALL_DIR/ncbi-igblast-1.0.0 "ftp://ftp.ncbi.nih.gov/blast/executables/igblast/release/optional_file"</action>
            	
            </actions>
        </install>
        <readme>
		Downloads igBlast with the latest database provided by NCBI, output may change depending on the database available at ftp://ftp.ncbi.nih.gov/blast/executables/igblast/release/
        </readme>
    </package>
</tool_dependency>