view tool_dependencies.xml @ 23:2f9bf8bf42b7 draft

Replace covariate DinucCovariate with ContextCovariate
author Jim Johnson <jj@umn.edu>
date Fri, 28 Dec 2012 12:34:05 -0600
parents 7533db8dfb5b
children 09e6427d3e6a
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="gatk" version="2.3">
        <install version="1.0">
            <actions>
                <action type="download_by_url">ftp://ftp.broadinstitute.org/pub/gsa/GenomeAnalysisTK/GenomeAnalysisTKLite-2.3-4-gb8f1308.tar.bz2</action>
                <action type="move_file">
                    <source>GenomeAnalysisTKLite.jar</source>
                    <destination>$INSTALL_DIR</destination>
                </action>
                <action type="shell_command">ln -s GenomeAnalysisTKLite.jar GenomeAnalysisTK.jar</action>
                <action type="move_file">
                    <source>GenomeAnalysisTK.jar</source>
                    <destination>$INSTALL_DIR</destination>
                </action>
                <action type="set_environment">
                    <environment_variable name="GATK2_PATH" action="set_to">$INSTALL_DIR</environment_variable>
                    <environment_variable name="GATK2_SITE_OPTIONS" action="set_to">"--phone_home STANDARD"</environment_variable>
                    <environment_variable name="GATK2_THREAD_OPTIONS" action="set_to">"--num_threads 4 --num_cpu_threads_per_data_thread 3"</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
The following GATK2 analysis types require a License for commercial use and the full GATK2 build will need to be manually installed:

 haplotypecaller                 
   HaplotypeCaller               Call SNPs and indels simultaneously via local de-novo assembly of haplotypes in an 
                                 active region.
   HaplotypeResolver             Haplotype-based resolution of variants in 2 different eval files.

 reducereads                     
   CompareBAM                    Given two BAMs with different read groups, it compares them based on ReduceReads 
                                 metrics.
   ReduceReads                   Reduces the BAM file using read based compression that keeps only essential information 
                                 for variant calling
                                 

See: http://www.appistry.com/gatk/gatk-faqs-static for Licensing details.
The full GATK build can be acquired from:  http://www.broadinstitute.org/gatk/download 
and GenomeAnalysisTK.jar need to be manually installed into the GATK2_PATH set for the GenomeAnalysisTKLite.jar

The GATK2_SITE_OPTIONS environment variable can be modified in the env.sh in the tool_dependencies path can be modified 
for the local installation.  

        </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>
</tool_dependency>