view filter/ob_remIons.xml @ 4:d7bf9b4e3183

Uploaded
author bgruening
date Fri, 26 Apr 2013 10:00:49 -0400
parents 6493d130f018
children d051544e94da
line wrap: on
line source

<tool id="ctb_remIons" name="Remove counterions and fragments" version="1.0">
    <description></description>
    <parallelism method="multi" split_inputs="infile" split_mode="to_size" split_size="10000" shared_inputs="" merge_outputs="outfile"></parallelism>
    <requirements>
        <requirement type="package" version="2.3.2">openbabel</requirement>
    </requirements>
    <command interpreter="python">
    ob_remIons.py
      -i "${infile}"
      -iformat "${infile.ext}"
      -o "${outfile}"
    </command>
    <inputs>
        <param name="infile" type="data" format="sdf,mol,mol2,cml,inchi,smi" label="Select input file with multiple molecules"/>
    </inputs>
    <outputs>
        <data format_source="infile" name="outfile"/>
    </outputs>
    <tests>
        <test>
            <param name="infile" ftype="smi" value="2_mol.smi"/>
            <output name="outfile" ftype="smi" file="obrmions_on_2_mol.smi" />
        </test>
    </tests>
    <help>

.. class:: infomark

**What does this tool do?**

  This tool parses a multiple molecules file and deletes any counter ion or fragment present in the file.

-----

.. class:: infomark

  ... Only the **largest fragment** on every molecule is extracted.

  ... Only molecules with more than 5 heavy atoms are parsed.

-----

**This tool uses Pybel:** N. M. O'Boyle, C. Morley and G. R. Hutchison. Pybel: a Python wrapper for the OpenBabel cheminformatics toolkit Chem. Cent. J. 2008, 2, 5.

    </help>
</tool>