view tool_dependencies.xml @ 0:c0295ba21771 draft default tip

Uploaded
author qfab
date Thu, 29 May 2014 20:53:16 -0400
parents
children
line wrap: on
line source

<?xml version='1.0'?>
  <tool_dependency>
    <package name="uclust" version="1.22.2">
      <install version="1.0">
        <actions_group>
          <!-- Download the binaries for uclust compatible with 64-bit OSX. -->
          <actions os="darwin" architecture="x86_64">
            <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86darwin64</action>
            <action type="move_directory_files">
              <source_directory>.</source_directory>
              <destination_directory>$INSTALL_DIR</destination_directory>
            </action>
            <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86darwin64 $INSTALL_DIR/uclust</action>
          </actions>
           <!-- Download the binaries for uclust compatible with 32-bit OSX. -->
          <actions os="darwin" architecture="i386">
            <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86darwin32</action>
            <action type="move_directory_files">
              <source_directory>.</source_directory>
              <destination_directory>$INSTALL_DIR</destination_directory>
            </action>
            <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86darwin32 $INSTALL_DIR/uclust</action>
          </actions>
          <!-- Download the binaries for uclust compatible with 64-bit Linux. -->
          <actions os="linux" architecture="x86_64">
            <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86linux64</action>
            <action type="move_directory_files">
              <source_directory>.</source_directory>
              <destination_directory>$INSTALL_DIR</destination_directory>
            </action>
            <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86linux64 $INSTALL_DIR/uclust</action>
          </actions>
          <!-- Download the binaries for uclust compatible with 32-bit Linux. -->
          <actions os="linux" architecture="i386">
            <action type="download_by_url">http://www.drive5.com/uclust/uclustq1.2.22_i86linux32</action>
            <action type="move_directory_files">
              <source_directory>.</source_directory>
              <destination_directory>$INSTALL_DIR</destination_directory>
            </action>
            <action type="shell_command">mv $INSTALL_DIR/uclustq1.2.22_i86linux32 $INSTALL_DIR/uclust</action>
          </actions>
          <!-- This actions tag is only processed if none of the above tags resulted in a successful installation. -->
          <actions>
            <action type="shell_command">echo ERROR: Automated installation on your operating system and CPU architecture combination is not yet supported.</action>
            <action type="shell_command">echo Your machine details (the output from 'uname' and 'arch'):</action>
            <action type="shell_command">uname</action>
            <action type="shell_command">arch</action>
            <action type="shell_command">echo Please report this via support@qfab.org - thank you!</action>
            <action type="shell_command">false</action>
            <!-- The 'false' command will return an error, so Galaxy should treat this as a failed install -->
          </actions>
          <!-- The $PATH environment variable is only set if one of the above <actions> tags resulted in a successful installation. -->
          <action type="shell_command">chmod ugo+x $INSTALL_DIR/uclust</action>
          <action type="set_environment">
            <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
          </action>
        </actions_group>
      </install>
      <readme>
      Downloads the precompiled 32bit Linux, 64bit Linux, or Mac 64-bit OS X mothur binaries, which is faster than performing a local compliation, avoids any issues with build dependencies, and is more reproducible between installations as there is no variability from the compiler or library versions.
      </readme>
     </package>
  </tool_dependency>