view chira_collapse.xml @ 17:05996586c8b3 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 8064fa653fe73c9432c76783d6c635d86548d538"
author iuc
date Sun, 19 Dec 2021 15:47:57 +0000
parents 75342b9ef628
children
line wrap: on
line source

<tool id="chira_collapse" name="ChiRA collapse" version="@TOOL_VERSION@1">
    <description>deduplicate fastq reads</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements" />    
    <command><![CDATA[
        chira_collapse.py
        -i 
        #if $in.ext.endswith(".gz")
            <(gunzip -c '$in')
        #else
            '$in'
        #end if
        -u '$umi_len'
        -o '$out'
    ]]></command>

    <inputs>
        <param format="fastq,fastq.gz" name="in" type="data" label="Input FASTQ file"/>
        <param name="umi_len" type="integer" value="0"
               label="Length of the UMI if present at the 5' end of your reads"/>
    </inputs>
    <outputs>
        <data format="fasta" name="out" label="ChiRA collapse FASTQ on ${on_string}"/>
    </outputs>

    <tests>
        <test expect_num_outputs="1">
            <param name="in" value="reads.fastq.gz" ftype="fastq.gz"/>
            <output name="out" file="reads.fasta" />
        </test>
    </tests>

    <help>

.. class:: infomark

**What it does**

This tool deduplicates the reads from the FASTQ file and writes into a fasta each read once with it's read count.

**Inputs**

* Quality and adapter trimmed FASTQ file

**Outputs**

* FASTA file with unique sequences. The headers of the sequence are in the following format: >sequence_id|UMI|read_count

    </help>
    <expand macro="citations" />
</tool>