view tool_dependencies.xml @ 2:d2283cca00cd draft

CEAS tool version 1.0.2-3: updates to get R 3.1.2 and bx-python 0.7.1 dependencies from the toolshed.
author pjbriggs
date Tue, 18 Oct 2016 09:31:10 -0400
parents f411ce97a351
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <!-- R 3.1.2 from main/test toolshed -->
  <package name="R" version="3.1.2">
    <repository changeset_revision="4d2fd1413b56" name="package_r_3_1_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
  </package>
  <!-- bx_python from main/test toolshed -->
  <package name="bx-python" version="0.7.1">
    <repository changeset_revision="7ce9cf37130f" name="package_bx_python_0_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
  </package>
  <!-- Python mysqldb package -->
  <package name="python_mysqldb" version="1.2.5">
    <install version="1.0">
      <actions>
	<action type="download_by_url">https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.5.zip</action>
        <action type="make_directory">$INSTALL_DIR/lib/python</action>
        <action type="shell_command">
          export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
          python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
        </action>
        <action type="set_environment">
          <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
          <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
        </action>
      </actions>
    </install>
    <readme>Installs Python module MySQLdb 1.2.5</readme>
  </package>
  <!-- cistrome_ceas
       Installs the version of CEAS package found in the Cistrome
       distribution:
       https://bitbucket.org/cistrome/cistrome-applications-harvard/overview
  -->
  <package name="cistrome_ceas" version="1.0.2.d8c0751">
    <install version="1.0">
      <actions>
	<action type="shell_command">
	  hg clone https://bitbucket.org/cistrome/cistrome-applications-harvard cistrome_ceas
	</action>
	<action type="shell_command">
	  hg update d8c0751
	</action>
        <action type="make_directory">$INSTALL_DIR/lib/python</action>
        <action type="shell_command">
	  cd published-packages/CEAS/
          export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
          python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
        </action>
        <action type="set_environment">
          <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
          <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
        </action>
      </actions>
    </install>
    <readme>Installs version 1.0.2 of CEAS from cistrome (commit id d8c0751,
    datestamp 20140929), which includes ceasBW (a version of ceas which can
    handle bigWig file input from MACS2.

    Cistrome code is at
    https://bitbucket.org/cistrome/cistrome-applications-harvard/overview
      
    The CEAS code is under the published-packages/CEAS/ subdirectory

    Cistrome data files and documentation can be found at
    http://liulab.dfci.harvard.edu/CEAS/index.html
    </readme>
  </package>
  <!-- fetchChromSize from UCSC tools -->
  <package name="ucsc_fetchChromSizes" version="1.0">
      <install version="1.0">
        <actions>
          <action type="download_binary">
            <url_template architecture="x86_64" os="linux">http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/fetchChromSizes</url_template>
          </action>
          <action type="chmod">
            <file mode="755">$INSTALL_DIR/fetchChromSizes</file>
          </action>
          <action type="set_environment">
            <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR</environment_variable>
        </action>
	</actions>
      </install>
    <readme>Installs the binary executable for the fetchChromSizes utility
    from UCSC tools
    </readme>
  </package>
</tool_dependency>