view dram_strainer.xml @ 3:f081f73cc0be draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dram commit 3234c3d93fa294fa9c2c5148eae4b399d42904d8
author iuc
date Fri, 23 Aug 2024 08:18:27 +0000
parents 9c8f2cfb70ba
children
line wrap: on
line source

<tool id="dram_strainer" name="DRAM strain annotations" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
    <description>down to genes of interest</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements"/>
    <command detect_errors="exit_code"><![CDATA[
DRAM.py strainer
--input_tsv '$input_tsv'
--input_fasta '$input_fasta'
--output_fasta '$output_fasta'
#if $advanced.fastas:
    --fastas '$advanced.fastas'
#end if
#if $advanced.scaffolds:
    --scaffolds '$advanced.scaffolds'
#end if
#if $advanced.genes:
    --genes '$advanced.genes'
#end if
#if $advanced.identifiers:
    --identifiers '$advanced.identifiers'
#end if
#if $advanced.categories:
    --categories '$advanced.categories'
#end if
#if $advanced.custom_distillate:
    --custom_distillate '$advanced.custom_distillate'
#end if
    ]]></command>
    <inputs>
        <param argument="--input_tsv" type="data" format="tabular" label="Annotations file" help="Produced by the DRAM annotate tool"/>
        <param argument="--input_fasta" type="data" format="fasta,fasta.gz" label="FASTA file to filter"/>
        <section name="advanced" title="Advanced options" expanded="false">
            <param argument="--fastas" type="text" value="" label="Space-separated list of fastas to keep" help="Optional, leave blank to ignore">
                <expand macro="sanitizer"/>
            </param>
            <param argument="--scaffolds" type="text" value="" label="Space-separated list of scaffolds to keep" help="Optional, leave blank to ignore">
                <expand macro="sanitizer"/>
            </param>
            <expand macro="genes_param"/>
            <expand macro="identifiers_param"/>
            <expand macro="custom_distillate_param"/>
            <expand macro="categories_param"/>
        </section>
    </inputs>
    <outputs>
        <data name="output_fasta" format="fasta"/>
    </outputs>
    <tests>
        <test expect_num_outputs="1">
            <param name="input_tsv" value="annotated1.tabular" ftype="tabular"/>
            <param name="input_fasta" value="strainer_input_fasta1.fasta.gz" ftype="fasta.gz"/>
            <param name="fastas" value="dataset_"/>
            <param name="scaffolds" value="scaffold_"/>
            <param name="identifiers" value="K15023"/>
            <param name="custom_distillate" value="distill_custom.tabular" ftype="tabular"/>
            <output name="output_fasta" ftype="fasta" value="strainer_output1.fasta"/>
       </test>
    </tests>
    <help>
**What it does**
 
@WHATITDOESHEADER@

This tool accepts a tabular file with all gene annotations from Pfam, UniProt, dbCAN and MEROPS databases produced by the
DRAM annotate tool and strains them, further analyzing genes of interest by making trees of functional models.

@CUSTOMDISTILLATEFILES@

**Options**

 * **Space-separated list of fastas to keep** - space-separated list of fastas to keep
 * **Space-separated list of scaffolds to keep** - space-separated list of scaffolds to keep
 * **Space-separated list of genes to keep** - space-separated list of genes to keep
 * **Database identifiers** - database identifiers to keep

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