annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
1 <tool id="rptools_rpranker" name="Rank Pathways" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09">
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
2 <description>Rank heterologous pathways according to their global score</description>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
3 <macros>
2
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
4 <import>macros.xml</import>
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
5 </macros>
2
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
6 <expand macro="requirements"/>
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
7 <stdio>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
8 <regex match="WARNING" level="warning" />
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
9 <regex match="ERROR" level="fatal" />
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
10 </stdio>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
2
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
12 #for $file in $pathway_collection
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
13 ln -s '$file' '$file.element_identifier' &&
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
14 #end for
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
15
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
16 python -m rptools.rprank
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
17 --pathways
2
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
18
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
19 #for $file in $pathway_collection
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
20 '$file.element_identifier'
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
21 #end for
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
22
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
23 > '$sorted_pathways'
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
24 ]]></command>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
25 <inputs>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
26 <param name="pathway_collection" type="data" format="sbml" multiple="true" min="2" label="Pathways" />
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
27 </inputs>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
28 <outputs>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
29 <data name="sorted_pathways" format="csv" label="Ranked Pathways" />
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
30 </outputs>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
31 <tests>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
32 <test>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
33 <!-- test 1: check if identical outputs are produced with default parameters -->
2
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
34 <param name="pathway_collection" value="rp_003_0261.xml,rp_003_0131.xml,rp_003_0001.xml"/>
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
35 <output name="sorted_pathways" file="ranked_pathways.csv" ftype="csv" compare="diff" sort="true" />
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
36 </test>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
37 </tests>
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
38 <help><![CDATA[
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
39 Rank Pathways
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
40 ================
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
41
2
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
42 Sort a list of pathways according to their global score.
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
43
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
44 Input
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
45 -----
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
46
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
47 Required:
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
48
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
49 * **Pathways**\ : List of pathway files (rpSBML)
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
50
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
51 Output
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
52 ------
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
53
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
54 * **Ranked Pathways**\ : Sorted names and scores of pathways
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
55 ]]></help>
2
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
56 <expand macro="creator"/>
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
57 <citations>
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
58 <citation type="doi">10.1038/s41467-022-32661-x</citation>
f9f7670fd5a6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
59 </citations>
0
8b05775f6c16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
60 </tool>