Mercurial > repos > tduigou > rptools_rpranker
annotate rpranker.xml @ 4:1593c526737a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
author | tduigou |
---|---|
date | Thu, 23 Nov 2023 14:27:22 +0000 |
parents | f9f7670fd5a6 |
children |
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> |