view tool_dependencies.xml @ 7:c9bd782f5342 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_samtools_0_1_19 commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
author iuc
date Sat, 25 Jun 2016 17:21:35 -0400
parents 96aab723499f
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="samtools" version="0.1.19">
        <install version="1.0">
            <actions_group>
                <actions architecture="x86_64" os="linux">
                    <action type="download_by_url" sha256sum="3cc457cd66e077b70887155435d8f563154371a61e7ac6714bc10b6aa19841bd" target_filename="samtools-0.1.19.tgz">https://depot.galaxyproject.org/software/samtools/samtools_0.1.19_linux_x64.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="set_environment">
                        <environment_variable name="BAM_INCLUDE" action="set_to">$INSTALL_DIR/include</environment_variable>
                    </action>
                </actions>
                <actions architecture="x86_64" os="darwin">
                    <action type="download_by_url" sha256sum="01e0a2cb38b1bcd433461cef43ff6555755a30dfbe83cb9c0a24cb028b104ac7" target_filename="samtools-0.1.19.tgz">https://depot.galaxyproject.org/software/samtools/samtools_0.1.19_darwin_x64.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="set_environment">
                        <environment_variable name="BAM_INCLUDE" action="set_to">$INSTALL_DIR/include</environment_variable>
                    </action>
                </actions>
                <actions>
                    <action type="download_by_url" sha256sum="d080c9d356e5f0ad334007e4461cbcee3c4ca97b8a7a5a48c44883cf9dee63d4">https://depot.galaxyproject.org/software/samtools/samtools_0.1.19_src_all.tar.bz2</action>
                    <action type="shell_command">sed -i.bak 's/-lcurses/-lncurses/' 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>bcftools/bcftools</source>
                        <destination>$INSTALL_DIR/bin</destination>
                    </action>
                    <action type="move_file">
                        <source>bcftools/vcfutils.pl</source>
                        <destination>$INSTALL_DIR/bin</destination>
                    </action>
                    <action type="move_file">
                        <source>libbam.a</source>
                        <destination>$INSTALL_DIR/lib</destination>
                    </action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR/include/bam</destination_directory>
                    </action>
                    <action type="set_environment">
                        <environment_variable name="BAM_INCLUDE" action="set_to">$INSTALL_DIR/include/bam</environment_variable>
                    </action>
                </actions>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable name="BAM_LIB_PATH" action="set_to">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable name="BAM_ROOT" action="set_to">$INSTALL_DIR</environment_variable>
                </action>
            </actions_group>
        </install>
        <readme>
Program: samtools (Tools for alignments in the SAM format)
Version: 0.1.19-44428cd

Usage:   samtools &lt;command&gt; [options]

Command: view        SAM&lt;-&gt;BAM conversion
         sort        sort alignment file
         mpileup     multi-way pileup
         depth       compute the depth
         faidx       index/extract FASTA
         tview       text alignment viewer
         index       index alignment
         idxstats    BAM index stats (r595 or later)
         fixmate     fix mate information
         flagstat    simple stats
         calmd       recalculate MD/NM tags and '=' bases
         merge       merge sorted alignments
         rmdup       remove PCR duplicates
         reheader    replace BAM header
         cat         concatenate BAMs
         bedcov      read depth per BED region
         targetcut   cut fosmid regions (for fosmid pool only)
         phase       phase heterozygotes
         bamshuf     shuffle and group alignments by name
        </readme>
    </package>
</tool_dependency>