Mercurial > repos > guerler > spring_mcc
annotate spring_mcc.xml @ 0:c3e9ffb4c98a draft
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
author | guerler |
---|---|
date | Tue, 23 Mar 2021 13:56:55 +0000 |
parents | |
children |
rev | line source |
---|---|
0
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
1 <tool id="spring_mcc" name="SPRING MCC" license="MIT" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
2 <description>plot generator</description> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
3 <macros> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
4 <import>macros.xml</import> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
5 </macros> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
8 spring_mcc.py |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
9 -i '$input' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
10 -b '$database' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
11 -e '$experiment' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
12 -l '$sampling.locations' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
13 -ra '$sampling.regiona' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
14 -rb '$sampling.regionb' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
15 -n '$sampling.negative' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
16 -o '$output' |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
17 ]]> </command> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
18 <inputs> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
19 <param name="experiment" type="text" label="Title" help="Experiment title" value="Results" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
20 <param name="input" type="data" format="tabular" label="Interacting Pairs" help="Prediction input containing UniProt Accession codes (2-columns)." /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
21 <conditional name="sampling"> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
22 <param name="type" type="select" label="Non-interacting Pairs" display="radio" help="Specify how to determine non-interacting pairs."> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
23 <option value="random">Random Sampling</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
24 <option value="uniprot">Sampling with UniProt Localization</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
25 <option value="negative">Specify non-interacting pairs</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
26 </param> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
27 <when value="uniprot"> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
28 <param name="locations" type="data" format="tabular" label="UniProt Localization Database" help="UniProt tabular export with localization column to sample non-interacting pairs." /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
29 <param name="negative" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
30 <param name="regiona" type="select" label="Choose First Subcellular Location"> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
31 <option value="Cell">Cell</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
32 <option value="Cytoplasm">Cytoplasm</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
33 <option value="Membrane" selected="True">Membrane</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
34 <option value="Mitochondrion" selected="True">Mitochondrion</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
35 <option value="Nucleus">Nucleus</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
36 <option value="Periplasm">Periplasm</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
37 <option value="Secreted">Secreted</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
38 </param> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
39 <param name="regionb" type="select" label="Choose Second Subcellular Location"> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
40 <option value="Cell">Cell</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
41 <option value="Cytoplasm">Cytoplasm</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
42 <option value="Membrane" selected="True">Membrane</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
43 <option value="Mitochondrion" selected="True">Mitochondrion</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
44 <option value="Nucleus">Nucleus</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
45 <option value="Periplasm">Periplasm</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
46 <option value="Secreted">Secreted</option> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
47 </param> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
48 </when> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
49 <when value="random"> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
50 <param name="locations" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
51 <param name="negative" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
52 <param name="regiona" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
53 <param name="regionb" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
54 </when> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
55 <when value="negative"> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
56 <param name="locations" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
57 <param name="negative" type="data" format="tabular" label="Non-interacting Pairs" help="Tabular file containing non-interacting pairs (2-columns)." /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
58 <param name="regiona" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
59 <param name="regionb" type="hidden" value="" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
60 </when> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
61 </conditional> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
62 <param name="database" type="data" format="tabular" label="BioGRID Database" help="BioGRID Database in TAB 3.0 format." /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
63 </inputs> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
64 <outputs> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
65 <data format="png" name="output" label="SPRING MCC Image" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
66 </outputs> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
67 <tests> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
68 <test> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
69 <param name="input" value="mcc/human_hv1h2.txt" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
70 <param name="database" value="mcc/biogrid_fret.txt" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
71 <output name="output" file="mcc/human_hv1h2.png" compare="sim_size" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
72 </test> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
73 </tests> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
74 <help><![CDATA[ |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
75 |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
76 **What it does** |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
77 |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
78 This tool generates a MCC plot for a given 2-column tabular prediction file containing UniProt Accession codes. The prediction is compared |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
79 to a given BioGRID database file in TAB 3.0 format. Non-interacting protein pairs are randomly sampled. |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
80 |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
81 ]]> </help> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
82 <expand macro="citations" /> |
c3e9ffb4c98a
"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff
changeset
|
83 </tool> |