view tool_dependencies.xml @ 0:8a5a4d8db315 draft default tip

Initial commit - adapted tool_dependencies.xml from Blast Plus 2.2.26 repository
author iyad
date Mon, 10 Nov 2014 15:11:48 -0500
parents
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool_dependency>
	<package name="blast" version="2.2.26">
		<install version="1.0">
			<actions_group>
				<!-- Download the binaries for BLAST compatible with 64-bit OSX. -->
				<actions os="darwin" architecture="x86_64">
					<action type="download_by_url" target_filename="blast-2.2.26.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-2.2.26-universal-macosx.tar.gz</action>
					<action type="move_directory_files">
						<source_directory>bin</source_directory>
						<destination_directory>$INSTALL_DIR</destination_directory>
					</action>
				</actions>
				<!-- Download the binaries for BLAST compatible with 32-bit OSX. -->
				<actions os="darwin" architecture="i386">
					<action type="download_by_url" target_filename="blast-2.2.26.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-2.2.26-universal-macosx.tar.gz</action>
					<action type="move_directory_files">
						<source_directory>bin</source_directory>
						<destination_directory>$INSTALL_DIR</destination_directory>
					</action>
				</actions>
				<!-- Download the binaries for BLAST compatible with 64-bit Linux. -->
				<actions os="linux" architecture="x86_64">
					<action type="download_by_url" target_filename="blast-2.2.26.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-2.2.26-x64-linux.tar.gz</action>
					<action type="move_directory_files">
						<source_directory>bin</source_directory>
						<destination_directory>$INSTALL_DIR</destination_directory>
					</action>
				</actions>
				<!-- Download the binaries for BLAST compatible with 32-bit Linux (i386). -->
				<actions os="linux" architecture="i386">
					<action type="download_by_url" target_filename="blast-2.2.26.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-2.2.26-ia32-linux.tar.gz</action>
					<action type="move_directory_files">
						<source_directory>bin</source_directory>
						<destination_directory>$INSTALL_DIR</destination_directory>
					</action>
				</actions>
				<!-- Download the binaries for BLAST compatible with 32-bit Linux (i686). -->
				<actions os="linux" architecture="i686">
					<action type="download_by_url" target_filename="blast-2.2.26.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-2.2.26-ia32-linux.tar.gz</action>
					<action type="move_directory_files">
						<source_directory>bin</source_directory>
						<destination_directory>$INSTALL_DIR</destination_directory>
					</action>
				</actions>
				<!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
				<actions>
					<action type="download_by_url" target_filename="blast-2.2.26.tgz">ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/blast-2.2.26-src.tar.gz</action>
					<action type="shell_command">cd c++ &amp;&amp; ./configure --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
				</actions>
				<!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
					<action type="set_environment">
						<environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
					</action>
				</actions_group>
			</install>
			<readme>
*Authors &amp; Contacts*
Iyad Kandalaft | Iyad.Kandalaft@Agr.gc.ca  | Agriculture and Agri-Foods Canada
Kevin Chen | Agriculture and Agri-Foods Canada

*Repository Description*
The package_blast_2_2_26 repository downloads and builds the legacy NCBI Blast source code v2.2.26 on various operating systems and architectures.
The repository is a modification of the NCBI Blast Plus package.

These links provide information for building the legacy NCBI Blast package in most environments.

System requirements
http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs&amp;DOC_TYPE=Download
			</readme>
		</package>
	</tool_dependency>