view remove_chimera_macros.xml @ 2:76ff9af5c0a3 draft default tip

planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e987ae3594883fb3b12d2999c6ad7fccd0b1b64
author frogs
date Fri, 06 Feb 2026 22:05:51 +0000
parents cd7675c5b15a
children
line wrap: on
line source

<?xml version="1.0"?>
<macros>
    <token name="@REMOVE_CHIMERA_CMD_LINE@">
        remove_chimera.py
            @CPUS@
            --input-fasta '$input_fasta' 
            --input-biom '$input_biom'
            #if $long_read == "yes"
            --long-reads
            #end if
            
            --output-biom '$output_biom'
            --output-fasta '$output_fasta'
            --html '$html'

    </token>

    <xml name="remove_chimera_inputs">
        <!-- Files -->
        <param argument="--input-fasta" type="data" format="fasta" label="Sequence file (.fasta)" help="The sequence file to filter." />
        <param argument="--input-biom" type="data" format="biom1" label="Abundance file (.biom)" help="The abundance file to filter." />
        <!-- Parameter -->
        <param argument="--long-read" type="select" display="radio" label="The data originally comes from long-read sequencing" help="For long reads sequencing, chimera will be detected using chimeras_denovo algorithm of vsearch (instead of uchime_denovo for short reads sequencing).">
            <option value="yes" >Yes</option>
            <option value="no" selected="true" >No</option>
		</param>
    </xml>

    <!-- Test -->
    <xml name="remove_chimera_test_input">
        <param name="input_fasta" value="references/01-reads_processing-swarm-vsearch.fasta" />
        <param name="input_biom" value="references/01-reads_processing-swarm-vsearch.biom" />
    </xml>

    <xml name="remove_chimera_test_output">
        <output name="output_fasta" file="references/03-chimera.fasta" compare="diff" lines_diff="0" />
        <output name="output_biom" file="references/03-chimera.biom" compare="sim_size" delta="0" />
        <output name="html" file="references/03-chimera.html" compare="diff" lines_diff="0" />
    </xml>
</macros>