view degap.seqs.xml @ 5:a7fced14ce99 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 7f7605c2c8d8e92f3369dfdc290e5d8d06fa409a
author iuc
date Fri, 03 Aug 2018 14:23:34 -0400
parents f643cbd3a967
children
line wrap: on
line source

<tool profile="16.07" id="mothur_degap_seqs" name="Degap.seqs" version="@WRAPPER_VERSION@.0">
    <description>Remove gap characters from sequences</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <expand macro="stdio"/>
    <expand macro="version_command"/>
    <command><![CDATA[
@SHELL_OPTIONS@

## create symlinks to input datasets
ln -s '$fasta' fasta.dat &&

echo 'degap.seqs(
    fasta=fasta.dat
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    ]]></command>
    <inputs>
        <param name="fasta" type="data" format="fasta" label="fasta - Dataset"/>
        <expand macro="param-savelog"/>
    </inputs>
    <outputs>
        <expand macro="logfile-output"/>
        <data name="out_fasta" format_source="fasta" from_work_dir="fasta*.ng.fasta" label="${tool.name} on ${on_string}: fasta"/>
    </outputs>
    <tests>
        <test>
            <param name="fasta" value="Mock_S280_L001_R1_001_small.trim.contigs.good.align_head"/>
            <output name="out_fasta" file="Mock_S280_L001_R1_001_small.trim.contigs.good.ng.fasta"/>
            <param name="savelog" value="true"/>
            <expand macro="logfile-test"/>
        </test>
    </tests>
    <help>
<![CDATA[

@MOTHUR_OVERVIEW@

**Command Documentation**

The degap.seqs_ command reads a fasta file and outputs a fasta containing the sequences after all gap characters are removed.

.. _degap.seqs: https://www.mothur.org/wiki/Degap.seqs

v1.21.0: Updated to Mothur 1.33

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