view macros.xml @ 0:629a0066003d draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/delly commit 86ada42b811af0262618636f2d8d1788274f9884"
author iuc
date Mon, 28 Sep 2020 07:45:41 +0000
parents
children d5124d5c8131
line wrap: on
line source

<?xml version="1.0"?>
<macros>
    <token name="@TOOL_VERSION@">0.8.3</token>
    <token name="@DESCRIPTION@"></token>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="@TOOL_VERSION@">delly</requirement>
            <requirement type="package" version="1.10.2">bcftools</requirement>
        </requirements>
    </xml>
    <xml name="version_command">
        <version_command><![CDATA[delly -v 2>&1 | grep 'Delly version' | cut -f 3 -d ' ']]></version_command>
    </xml>
	<xml name="citations">
        <citations>
            <citation type="doi">10.1093/bioinformatics/bts378</citation>
        </citations>
    </xml>
	
    <!--
        input 
    -->

    <xml name="exclude">
        <param argument="--exclude" type="data" format="tabular" optional="true" label="Select file with regions to exclude"/>
    </xml>
    <xml name="genome">
        <param argument="--genome" type="data" format="fasta" label="Select genome"/>
    </xml>
    <xml name="genoqual">
        <param name="genoqual" type="integer" value="5" label="Set minimum mapping quality for genotyping" help="(--geno-qual)"/>
    </xml>
    <xml name="minclip">
        <param argument="--minclip" type="integer" value="25" label="Set minimum clipping length"/>
    </xml>
    <xml name="maxreadsep">
        <param argument="--maxreadsep" type="integer" value="40" label="Set maximum read separation"/>
    </xml>
    <xml name="minrefsep">
        <param argument="--minrefsep" type="integer" value="25" label="Set minimum reference separation"/>
    </xml>
    <xml name="samples" token_format="bam" token_multiple="true" token_label="Select sample file(s)">
        <param name="samples" type="data" format="@FORMAT@" multiple="@MULTIPLE@" label="@LABEL@"/>
    </xml>
    <xml name="svtype">
        <param argument="--svtype" type="select" label="Select type(s) of structural variants to detect">
            <option value="ALL" selected="true">All types (ALL)</option>
            <option value="DEL">Deletion (DEL)</option>
            <option value="INS">Insertion (INS)</option>
            <option value="DUP">Duplication (DUP)</option>
            <option value="INV">Inversion (INV)</option>
            <option value="BND">Translocation (BND)</option>
        </param>
    </xml>
    <xml name="vcffile">
        <param argument="--vcffile" type="data" format="vcf,bcf" optional="true" label="Select genotyping file"/>
    </xml>

    <!--
        output 
    -->

    <xml name="vcf">
        <data name="out_vcf" format="vcf" from_work_dir="result.vcf" label="${tool.name} on ${on_string}: Result (VCF)">
            <filter>'vcf' in oo['out']</filter>
        </data>
    </xml>
     <xml name="bcf">
        <data name="out_bcf" format="bcf" from_work_dir="result.bcf" label="${tool.name} on ${on_string}: Result (BCF)">
            <filter>'bcf' in oo['out']</filter>
        </data>
    </xml>
    <xml name="dump">
        <data name="out_dump" format="tabular" from_work_dir="dump.tsv" label="${tool.name} on ${on_string}: SV-reads">
            <filter>'dump' in oo['out']</filter>
        </data>
    </xml>
    <xml name="log">
        <data name="out_log" format="txt" from_work_dir="log.txt" label="${tool.name} on ${on_string}: Log">
            <filter>'log' in oo['out']</filter>
        </data>
    </xml>

    <!--
        Help
    -->

    <token name="@WID@"><![CDATA[
Delly is an integrated structural variant (SV) prediction method that can discover, genotype and visualize deletions, tandem duplications, inversions and translocations at single-nucleotide resolution in short-read massively parallel sequencing data. It uses paired-ends, split-reads and read-depth to sensitively and accurately delineate genomic rearrangements throughout the genome.
    ]]></token>
    <token name="@REFERENCES@"><![CDATA[
More information are available on `github <https://github.com/dellytools/delly>`_.
    ]]></token>
</macros>