view filter_compounds.xml @ 1:686850eb1e64 draft

"planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/filter_compounds commit 9bc547872c98a9c13c561d15e8990fe82bdc0e72"
author recetox
date Fri, 28 Jan 2022 16:21:21 +0000
parents 987357c6941c
children 8eb6e392c92b
line wrap: on
line source

<tool id="filter_orgmet_anorg" name="Filter organometallics and/or anorganics" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
    <description>from a library of compounds</description>
    <!--parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="50000" shared_inputs="" merge_outputs="outfile"></parallelism-->
    <macros>
        <import>macros.xml</import>
        <token name="@GALAXY_VERSION@">0</token>
    </macros>
    <expand macro="creator"/>
    <expand macro="requirements"/>
    <command detect_errors="aggressive">
        <![CDATA[
            python '$__tool_directory__/filter_compounds.py'
              -i '${infile}'
              -o '${outfile}'
              $metorg
              $anorg
        ]]>
    </command>
    <inputs>
        <param name="infile" type="data" format="smi" label="Select input file"
               help="Currently only SMILES identifiers are allowed as an input."/>
        <param name="metorg" type="boolean" checked="false" truevalue="-m" falsevalue=""
               label="Filter out organometallic compounds?"/>
        <param name="anorg" type="boolean" checked="false" truevalue="-a" falsevalue=""
               label="Filter out anorganic compounds?"/>
    </inputs>
    <outputs>
        <data format="smi" name="outfile"/>
    </outputs>
    <tests>
        <test>
            <param name="infile" ftype="smi" value="input_all.smi"/>
            <param name="metorg" value="true"/>
            <param name="anorg" value="true"/>
            <output name="outfile" ftype="smi" file="output_all.smi"/>
        </test>
        <test>
            <param name="infile" ftype="smi" value="input_all_table.smi"/>
            <param name="metorg" value="true"/>
            <param name="anorg" value="true"/>
            <output name="outfile" ftype="smi" file="output_all_table.smi"/>
        </test>
    </tests>
    <help>
        <![CDATA[
            @HELP@
        ]]>
    </help>
</tool>