view get_clusters.xml @ 2:e0ecaf2d05fb draft default tip

"planemo upload for repository commit f1c3c88c7395f2e84cbc533199406aadb79c5c07"
author chemteam
date Fri, 13 Nov 2020 19:39:27 +0000
parents ad49025ba90d
line wrap: on
line source

<tool id="biomd_extract_clusters" name="Extract clusters of MD trajectories" version="0.@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
    <description>from linkage matrix data</description>
        <token name="@TOOL_VERSION@">1.5.2</token>
        <token name="@GALAXY_VERSION@">1</token>
        <requirement type="package" version="@TOOL_VERSION@">scipy</requirement>
        <requirement type="package" version="1.19.1">numpy</requirement>
        <requirement type="package" version="3.3.1">matplotlib</requirement>
        python '$__tool_directory__/'
            --Z '$Z'
            --threshold '$threshold'
            --min-members '$min_members'
            --output '$output'
        <param label="Clustering linkage array" format="tabular" type="data" name="Z" argument="--Z"/>
        <param label="Distance cutoff" value="0" type="float" name="threshold" argument="--threshold"/>
        <param label="Minimum number of members of the cluster" value="0" type="integer" name="min_members" argument="--min-members"/>
        <data label="Cluster members (JSON)" format="json" name="output"/>
            <param name="Z" value="Z.tabular"/>
            <param name="threshold" value="2"/>
            <param name="min_members" value="2"/>
            <output name="output" value="clusters.json"/>
.. class:: infomark

**What it does**

This tool takes the hierarchical clustering linkage array (in tabular format) produced by the 'Hierarchical clustering' tool and returns a list of clusters and their members in JSON format.


.. class:: infomark


       - Clustering linkage array.
       - User-selected distance threshold for clustering and minimum number of members a cluster must have to be returned.


.. class:: infomark


       - JSON file containing a list of clusters and their members.

        <citation type="doi">10.1038/s41592-019-0686-2</citation>
        <citation type="doi">{10.1109/MCSE.2007.55</citation>