view xcos.xml @ 1:9b6210854c8c draft default tip

"planemo upload for repository commit d1d0ec4ebc97b2274b18a0aab99f41addd5357ae"
author bgruening
date Mon, 27 Jul 2020 11:30:49 -0400
parents 73164cea9b60
line wrap: on
line source

<tool id="ctb_im_xcos" name="XCos" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
        <token name="@GALAXY_VERSION@">0</token>
    <expand macro="requirements" />
    <command detect_errors="exit_code">

    -if sdf
    --fragments-format sdf
    -of sdf
    -f '$fragments'
    -i '$poses'
    -o output
        <param name="poses" format="sdf" type="data" label="Poses to score" help="In SDF format"/>
        <param name="fragments" format="sdf" type="data" label="Fragments to compare" help="In SDF format"/>
        <data format="sdf" name="output" from_work_dir="output.sdf" />
            <param name="poses" ftype='sdf' value="poses.sdf" />
            <param name="fragments" ftype='sdf' value="hits-17.sdf" />
            <output name="output" ftype='sdf'>
                    <has_text text="XCos_RefMols" />
                    <has_text text="XCos_NumHits" />
                    <has_text text="XCos_Score1" />
                    <has_n_lines n="734" />

.. class:: infomark

**What this tool does**

XCos is a reverse shape and feature overlap score for a pose compared to a set of ligands that identifies which ligands
best overlap.
The molecule is fragmented using the BRICS algorithm and each fragment (bit) is compared to the ligands using the SuCOS
methodology. The resulting scores are the combined scores of the bits.

XCos_RefMols - The fragments that the ligand overlays
XCos_NumHits - the number of fragments the ligand overlays
XCos_Score1 - The sum of each bit's feature and shape overlay score scaled by the number of heavy bit atoms.

XCos was conceived and implemented by Warren Thompson <>.
The original code can be found here:


.. class:: infomark


- poses: SD-file of ligand poses to score
- fragments: SD-file of fragments to compare the poses


.. class:: infomark


SD-file with the XCos scores added.

    <expand macro="citations" />