view tool_dependencies.xml @ 26:bac82f25d42a draft

Use repository dependency for samtools (from main toolshed)
author Jim Johnson <jj@umn.edu>
date Mon, 18 Feb 2013 11:13:47 -0600
parents 09e6427d3e6a
children b23ecdd665d0
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">
        <repository toolshed="http://toolshed.g2.bx.psu.edu" name="package_samtools_0_1_18" owner="devteam" changeset_revision="a7936f4ea405" />
    </package>
</tool_dependency>