Mercurial > repos > tduigou > rptools_rpranker
view rpranker.xml @ 2:f9f7670fd5a6 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
author | tduigou |
---|---|
date | Tue, 28 Mar 2023 12:10:40 +0000 |
parents | 8b05775f6c16 |
children |
line wrap: on
line source
<tool id="rptools_rpranker" name="Rank Pathways" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09"> <description>Rank heterologous pathways according to their global score</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"/> <stdio> <regex match="WARNING" level="warning" /> <regex match="ERROR" level="fatal" /> </stdio> <command detect_errors="exit_code"><![CDATA[ #for $file in $pathway_collection ln -s '$file' '$file.element_identifier' && #end for python -m rptools.rprank --pathways #for $file in $pathway_collection '$file.element_identifier' #end for > '$sorted_pathways' ]]></command> <inputs> <param name="pathway_collection" type="data" format="sbml" multiple="true" min="2" label="Pathways" /> </inputs> <outputs> <data name="sorted_pathways" format="csv" label="Ranked Pathways" /> </outputs> <tests> <test> <!-- test 1: check if identical outputs are produced with default parameters --> <param name="pathway_collection" value="rp_003_0261.xml,rp_003_0131.xml,rp_003_0001.xml"/> <output name="sorted_pathways" file="ranked_pathways.csv" ftype="csv" compare="diff" sort="true" /> </test> </tests> <help><![CDATA[ Rank Pathways ================ Sort a list of pathways according to their global score. Input ----- Required: * **Pathways**\ : List of pathway files (rpSBML) Output ------ * **Ranked Pathways**\ : Sorted names and scores of pathways ]]></help> <expand macro="creator"/> <citations> <citation type="doi">10.1038/s41467-022-32661-x</citation> </citations> </tool>