view tool_dependencies.xml @ 6:c4565b289e7d draft

Uploaded
author fcaramia
date Mon, 17 Jun 2013 01:14:36 -0400
parents b1135c4060d9
children a6ed5ad78070
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="python" version="2.7">
        <readme>
        	Contra requires Python >= 2.6
        </readme>
    </package>
    <package name="R" version="1.0">
        <readme>
        	Contra requires any version of R
        </readme>
    </package>

    
    <package name="samtools" version="0.1.18">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/samtools/files/samtools/0.1.18/samtools-0.1.18.tar.bz2</action>
                <action type="shell_command">sed -i.bak -e 's/-lcurses/-lncurses/g' Makefile</action>
                <action type="shell_command">make</action>
                <action type="move_file">
                    <source>samtools</source>
                    <destination>$INSTALL_DIR/bin</destination>
                </action>
                <action type="move_file">
                    <source>misc/maq2sam-long</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>
        <readme>
            Compiling SAMtools requires the ncurses and zlib development libraries.
        </readme>
    </package>


   <package name="bedtools" version="2.17.0">
       <install version="1.0">
           <actions>
		<action type="download_by_url" target_filename="bedtools-2.17.0.tar.gz" >http://bedtools.googlecode.com/files/BEDTools.v2.17.0.tar.gz</action>
		<action type="shell_command">make all</action>
		<action type="set_environment">
		   <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
		</action>
           </actions>
       </install>
       <readme>
		GCC version 4.1 or greater is recommended. 3.x versions will typically not compile BEDTools
       </readme>
   </package>
   <package name="contra" version="2.0.4">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://downloads.sourceforge.net/project/contra-cnv/CONTRA.V2.0/CONTRA.v2.0.4.tar.gz</action>
                <action type="shell_command">rm -rf bedtools_installation_guide.txt</action>
                <action type="shell_command">rm -rf BEDTools-User-Manual.v4.pdf</action>
                <action type="shell_command">rm -rf BEDTools.v2.11.2.tar.gz</action>
		<action type="shell_command">rm -rf CONTRA_User_Guide.2.0.pdf</action>                                
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            Contra requires Samtools, Bedtools, Python and R
        </readme>
    </package>
</tool_dependency>