view macros.xml @ 14:ecb9f4854617 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit b76fe0b833d61c5161ed033ce1f57e3881bf336f
author iuc
date Mon, 11 Nov 2024 14:53:41 +0000
parents dbfc505896e9
children
line wrap: on
line source

<macros>
    <token name="@TOOL_VERSION@">0.24.0</token>
    <xml name="biotools">
        <xrefs>
            <xref type="bio.tools">
                fastp
            </xref>
        </xrefs>
    </xml>
    <xml name="adapter_trimming_options">
        <section name="adapter_trimming_options" title="Adapter Trimming Options" expanded="False">
            <param name="disable_adapter_trimming" argument="-A" type="boolean" truevalue="-A" falsevalue="" checked="false" label="Disable adapter trimming" help="Adapter trimming is enabled by default. If this option is specified, adapter trimming is disabled."/>
            <expand macro="adapter_sequence" read_number="1" />
            <yield />
        </section>
    </xml>

    <xml name="global_trimming_options">
        <section name="global_trimming_options" title="Global trimming options" expanded="False">
            <param name="trim_front1" argument="-f" type="integer" optional="true" label="Trim front for input 1" help="Trimming how many bases in front for read1, default is 0."/>
            <param name="trim_tail1" argument="-t" type="integer" optional="true" label="Trim tail for input 1" help="Trimming how many bases in tail for read1, default is 0."/>
            <yield/>
        </section>
    </xml>

    <xml name="global_trimming_options_paired">
        <expand macro="global_trimming_options">
            <param name="trim_front2" argument="-F" type="integer" optional="true" label="Trim front for input 2" help="Trimming how many bases in front for read2. If it's not specified, it will follow read1's settings."/>
            <param name="trim_tail2" argument="-T" type="integer" optional="true" label="Trim tail for input 2" help="Trimming how many bases in tail for read2. If it's not specified, it will follow read1's settings."/>
        </expand>
    </xml>

    <xml name="adapter_sequence" token_read_number="1">
        <param argument="--adapter_sequence@READ_NUMBER@" type="text" optional="true" label="Adapter sequence for input @READ_NUMBER@" help="The adapter for read@READ_NUMBER@. For SE data, if not specified, the adapter will be auto-detected. For PE data, this is used if R1/R2 are found not overlapped.">
            <sanitizer>
                <valid>
                    <add value="A"/>
                    <add value="T"/>
                    <add value="C"/>
                    <add value="G"/>
                </valid>
            </sanitizer>
        </param>
    </xml>

    <xml name="merge_reads">
        <conditional name="merge_reads">
            <param argument="--merge" type="select" label="Merge forward and revese reads?">
                    <option value="">No</option>
                    <option value="--merge">Yes</option>
            </param>
            <when value="--merge">
                <param argument="--include_unmerged" type="boolean" truevalue="--include_unmerged" falsevalue="" checked="false" label="Include unmerged outputs into merged output file" />
            </when>
            <when value="" />
        </conditional>
    </xml>

    <xml name="detect_adapter_for_pe">
        <param argument="--detect_adapter_for_pe" type="boolean" truevalue="--detect_adapter_for_pe" falsevalue="" checked="false" label="Adapter sequence auto-detection for paired-end" />
    </xml>

    <xml name="in" token_read_number="1" token_argument="-i">
        <param name="in@READ_NUMBER@" argument="@ARGUMENT@" type="data" format="fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz" label="Input @READ_NUMBER@" help="Input FASTQ file #@READ_NUMBER@"/>
    </xml>

    <xml name="poly_g_min_len">
        <param argument="--poly_g_min_len" type="integer" optional="true" label="PolyG minimum length"
            help="The minimum length to detect polyG in the read tail. 10 by default."/>
    </xml>
</macros>