view tool_dependencies.xml @ 30:3cee6b37cdcf draft

Uploaded
author mzeidler
date Mon, 23 Sep 2013 09:19:22 -0400
parents 5e938e5eb46f
children e6fb8ee52507
line wrap: on
line source

<tool_dependency>
    <package name="numpy" version="1.7.1">
       <repository changeset_revision="b7ff4a8c58df" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="freetype" version="2.4.11">
        <repository changeset_revision="fe5cfaf931ff" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="virana_python" version="1.0">
        <install version="1.0">
            <actions>
                <action type="setup_virtualenv"> plumbum==1.3.0
                                                 pysam==0.7.5
                                                 ftputil==2.2.3</action>
            </actions>
        </install>
    </package>
<package name="biopython" version="1.61">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pypi.python.org/packages/source/b/biopython/biopython-1.61.tar.gz</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="b7ff4a8c58df" name="package_numpy_1_7" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="numpy" version="1.7.1" />
                    </repository>
                </action>    
                <action type="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="shell_command">
                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
                    export PATH=$PATH:$PATH_NUMPY &amp;&amp; 
                    export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY &amp;&amp; 
                    python setup.py install --install-lib $INSTALL_DIR/lib/python
                </action>
                <action type="set_environment">
                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
                    <environment_variable action="set_to" name="PYTHONPATH_BIOPYTHON">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
    </package>
<package name="matplotlib" version="1.2.1">
        <install version="1.0">
            <actions>
                <!-- first action is always downloading -->
                <action type="download_by_url">http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="b7ff4a8c58df" name="package_numpy_1_7" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="numpy" version="1.7.1" />
                    </repository>
                    <repository changeset_revision="fe5cfaf931ff" name="package_freetype_2_4" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="freetype" version="2.4.11" />
                    </repository>
                </action>

                             
                <!-- install matplotlib -->
                <action type="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="shell_command">
                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python:$PYTHONPATH_NUMPY &amp;&amp;
                    export CPLUS_INCLUDE_PATH=$FREETYPE_INCLUDE_DIR:$FREETYPE_INCLUDE_DIR/freetype2/ &amp;&amp; 
                    export LIBRARY_PATH=$FREETYPE_LIB_DIR &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="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
                    <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
    </package>
 <package name="htseq" version="0.5.4">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://pypi.python.org/packages/source/H/HTSeq/HTSeq-0.5.4p3.tar.gz</action> 
                <action type="set_environment_for_install">
                    <repository changeset_revision="b7ff4a8c58df" name="package_numpy_1_7" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="numpy" version="1.7.1" />
                    </repository>
                </action>     
                <action type="make_directory">$INSTALL_DIR/lib/python</action>
                <action type="shell_command">
                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
                    export PATH=$PATH:$PATH_NUMPY &amp;&amp; 
                    export PYTHONPATH=$PYTHONPATH:$PYTHONPATH_NUMPY &amp;&amp; 
                    python setup.py install --install-lib $INSTALL_DIR/lib/python --user --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin
                </action>
                <action type="set_environment">
                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable action="append_to" name="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
                    <environment_variable action="set_to" name="PYTHONPATH_HTSEQ">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
    </package>

    <package name="samtools" version="0.1.19">
        <install>
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/samtools/files/samtools/0.1.19/samtools-0.1.19.tar.bz2</action>
                <action type="shell_command">make</action>
                <action type="move_file">
                    <source>samtools</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
    </package>
    <package name="bwa" version="0.7.4">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/bio-bwa/files/bwa-0.7.4.tar.bz2 </action>
                <action type="shell_command">make</action>
                <action type="move_file">
                    <source>bwa</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
    </package>
    
    <package name="STAR" version="2.3.0" >
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://rna-star.googlecode.com/files/STAR_2.3.0e.tgz</action>
                <action type="move_file">
                    <source>STAR</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
    
    </package>
    <package name="lastz" version="1.02.00" >
        <install version="1.0">
            <actions>
                <action type="download_by_url" target_filename="lastz-distrib-1.02.00.tar.gz">http://www.bx.psu.edu/miller_lab/dist/lastz-1.02.00.tar.gz</action>
                <action type="shell_command">make</action>
                <action type="move_file">
                         <source>src/lastz</source>
                         <destination>$INSTALL_DIR/bin</destination>
                     </action>
                     <action type="move_file">
                         <source>src/lastz_D</source>
                         <destination>$INSTALL_DIR/bin</destination>
                     </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
    </package>
    <package name="jalview" version="2.8" >
        <install version="1.0">
            <actions>
                <action type="move_file">
                         <source>jalview/jalview.jar</source>
                         <destination>$INSTALL_DIR</destination>
                </action>
                <action type="move_directory_files">
                        <source_directory>jalview</source_directory>
                        <destination_directory>$INSTALL_DIR/lib</destination_directory>
                </action>
                <action type="set_environment">
                    <environment_variable name="JALVIEW_DIR" action="prepend_to">$INSTALL_DIR</environment_variable>
                </action>
            </actions>
        </install>
    </package>
   
</tool_dependency>