view clust_to_gff.xml @ 1:8ef59dde4389 draft default tip

planemo upload for repository https://github.com/genouest/galaxy-tools/tree/master/tools/peptimapper commit 040d09319fb0f43fafb1d3ebd99af41bce0f6bfd
author genouest
date Thu, 18 Jul 2024 10:26:15 +0000
parents 691d8f3aeb1a
children
line wrap: on
line source

<tool id="peptimapper_clust_to_gff" name="ClustToGFF" version="2.1">
    <description>add clusters locations into GFF files to be integrated into a genome viewer</description>
    <requirements>
        <container type="docker">dockerprotim/peptimapper@sha256:d3eb807d7d5aa155f7b39d05a47420e0a0a9191d5fa867b6ca1be763f8a23bf1</container>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
unzip '${gffdir}' -d gff &&
mkdir "outputdir" &&
LXClust2Gff gff/* outputdir '${clustersfile}' &&
mv *.gff outputdir/ &&
zip -r outputdir2 outputdir/* &&
mv outputdir2.zip '${gfffiles}'
    ]]></command>
    <inputs>
        <param name="clustersfile" type="data" format="txt" label="Clusters file" help="Clusters file generated by PepMatch" />
        <param name="gffdir" type="data" format="zip" label="GFF files repository" help="Zipped repository containing all organism GFF files" />
    </inputs>
    <outputs>
        <data name="gfffiles" format="zip" label="GFF files including clusters locations" />
    </outputs>
    <tests>
        <test>
            <param name="clustersfile" value="clusttogff/Gamete.5.3.2.5000.clust"/>
            <param name="gffdir" value="clusttogff/gff3_files_repository.zip"/>
            <output name="gfffiles" file="clusttogff/out.zip" compare="sim_size"/>
        </test>
    </tests>
    <help><![CDATA[
**Description**

ClustToGFF : run LXClust2Gff from the "peptimapper" docker.
ClustToGFF adds clusters locations, generated by PepMatch, into GFF annotation files to be integrated into a genome viewer.

**Integrated by**

Laetitia Guillot Cloarec
PROTIM Biogenouest proteomics Core Facility, Rennes
July,2017
    ]]></help>
    <citations>
        <citation type="bibtex">
            @misc{renameTODO,
            author = {Protim Core facility},
            year = {2017},
            title = {ClustToGFF},
            url = {protim.eu},
            }
        </citation>
    </citations>
</tool>