view tool_dependencies.xml @ 1:00e17a794a2e

Also install bcftools and misc utility commands when installing samtools.
author Jim Johnson <jj@umn.edu>
date Tue, 17 Sep 2013 11:36:59 -0500
parents cb87eae7fc3e
children b471600c8a3b
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="samtools" version="0.1.19">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://downloads.sourceforge.net/project/samtools/samtools/0.1.19/samtools-0.1.19.tar.bz2</action>
                <action type="shell_command">sed -i.bak 's/-lcurses/-lncurses/' Makefile</action>
                <action type="shell_command">make</action>
                <action type="shell_command">chmod ugo+rx misc/*.p?</action>
                <action type="shell_command">mkdir misc/bin</action>
                <action type="shell_command">cp -p `find misc -type f -perm -555` misc/bin/</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_directory_files">
                    <source_directory>misc/bin</source_directory>
                    <destination_directory>$INSTALL_DIR/bin</destination_directory>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
Program: samtools (Tools for alignments in the SAM format)
Version: 0.1.19

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
         targetcut   cut fosmid regions (for fosmid pool only)
         phase       phase heterozygotes

This also installs bcftools and misc utility commands:
        bcftools
        vcfutils.pl
        ace2sam
        bamcheck
        blast2sam.pl
        bowtie2sam.pl
        export2sam.pl
        interpolate_sam.pl
        maq2sam-long
        maq2sam-short
        md5fa
        md5sum-lite
        novo2sam.pl
        psl2sam.pl
        sam2vcf.pl
        samtools.pl
        soap2sam.pl
        varfilter.py
        wgsim
        wgsim_eval.pl
        zoom2sam.pl
        </readme>
    </package>
</tool_dependency>