view chira_collapse.xml @ 14:2b2bfeda00d0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chira commit 0e230c23b17e07ec624c9c3a4f6f92268d1c06ab"
author iuc
date Sat, 15 Aug 2020 19:07:21 -0400
parents 872249f5495a
children 00187b27f5e5
line wrap: on
line source

<tool id="chira_collapse" name="ChiRA collapse" version="@WRAPPER_VERSION@0">
    <description>deduplicate fastq reads</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />    
    <command><![CDATA[
        chira_collapse.py
        -i '$in'
        -u '$umi_len'
        -o '$out'
    ]]></command>

    <inputs>
        <param format="fastq" 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" />
            <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>