annotate cytoscape.xml @ 19:d928c656a8f3 draft

Uploaded
author enios
date Sat, 22 May 2021 07:35:58 +0000
parents 9ad10a3a5759
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
1 <tool id="Cytoscape" name="Cytoscape" version="1.0.0">
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
2
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
3 <!-- [REQUIRED] Tool description displayed after the tool name -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
4 <description>Visualize interaction networks from JSON file</description>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
5
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
6 <!-- [OPTIONAL] 3rd party tools, binaries, modules... required for the tool to work -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
7 <requirements>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
8 <!--requirement type="binary">perl</requirement-->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
9 <container type="docker" >bianca7/lncrna:cytoscape</container>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
10 </requirements>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
11
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
12
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
13 <!-- [STRONGLY RECOMMANDED] Exit code rules -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
14 <stdio>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
15 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
16 <exit_code range="1:" level="fatal" />
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
17 </stdio>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
18
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
19 <!-- [REQUIRED] The command to execute -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
20 <command>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
21 perl /code/Cytoscape.sh $input $cytoscape_html $filelog
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
22 </command>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
23 <!-- [REQUIRED] Input files and tool parameters -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
24 <inputs>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
25 <param name="input" type="data" format="json" optional="false" label="Cytoscape JSON file" />
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
26 </inputs>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
27
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
28 <!-- [REQUIRED] Output files -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
29 <outputs>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
30 <data name="cytoscape_html" format="html" label="Cytoscape network" />
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
31 <data name="filelog" format="txt" label="Logfile" />
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
32 </outputs>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
33
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
34 <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
35 <tests>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
36 <!-- [HELP] Test files have to be in the ~/test-data directory -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
37 <test>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
38 <param name="input" value="input.json" />
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
39 <output name="cytoscape_html" file="network.html"/>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
40 </test>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
41 </tests>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
42
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
43 <!-- [OPTIONAL] Help displayed in Galaxy -->
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
44 <help><![CDATA[
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
45
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
46 .. class:: infomark
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
47
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
48 **Authors** Max Franz : Cytoscape.js_
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
49
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
50 .. _Cytoscape.js: http://js.cytoscape.org/
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
51
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
52 .. class:: infomark
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
53
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
54 **Galaxy integration** Provided by Southgreen & Dereeper Alexis (IRD) & Marcon Valentin (IFB & INRA)
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
55
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
56 .. class:: infomark
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
57
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
58 **Support** For any questions about Galaxy integration, please send an e-mail to alexis.dereeper@ird.fr
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
59
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
60 ---------------------------------------------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
61
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
62 ================
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
63 Cytoscape
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
64 ================
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
65
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
66 -----------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
67 Description
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
68 -----------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
69
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
70 | Create a Cytoscape network from Cytoscape JSON file
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
71
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
72 ----------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
73 Input file
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
74 ----------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
75
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
76 JSON file for Cytoscape
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
77
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
78 ------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
79 Output files
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
80 ------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
81
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
82 Cytoscape network
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
83
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
84 Log file
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
85
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
86 ---------------------------------------------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
87
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
88 ---------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
89 Working example
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
90 ---------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
91
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
92 Input file
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
93 ==========
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
94
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
95 input.json
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
96 ----------------------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
97
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
98 ::
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
99
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
100 {"elements": {"nodes": [{ "data": { "id": "MV1", "width": 0.1} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
101 { "data": { "id": "MV2", "width": 0.1} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
102 { "data": { "id": "MV3", "width": 0.1} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
103 { "data": { "id": "haplo1", "width": 1.2000000000000002 } },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
104 { "data": { "id": "haplo2", "width": 0.8 } },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
105 { "data": { "id": "haplo3", "width": 5.0 } },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
106 { "data": { "id": "haplo4", "width": 0.8 } },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
107 { "data": { "id": "haplo5", "width": 0.8 } },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
108 { "data": { "id": "haplo6", "width": 0.8 } },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
109 { "data": { "id": "haplo7", "width": 0.8 } },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
110 { "data": { "id": "haplo8", "width": 0.8 } }],
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
111 "edges": [
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
112 { "data": { "id": "haplo4MV1", "weight": 1, "source": "haplo4", "target": "MV1"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
113 { "data": { "id": "haplo3haplo4", "weight": 1, "source": "haplo3", "target": "haplo4"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
114 { "data": { "id": "haplo4haplo6", "weight": 1, "source": "haplo4", "target": "haplo6"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
115 { "data": { "id": "haplo1MV1", "weight": 1, "source": "haplo1", "target": "MV1"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
116 { "data": { "id": "haplo1haplo2", "weight": 1, "source": "haplo1", "target": "haplo2"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
117 { "data": { "id": "haplo7MV2", "weight": 1, "source": "haplo7", "target": "MV2"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
118 { "data": { "id": "MV2MV3", "weight": 1, "source": "MV2", "target": "MV3"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
119 { "data": { "id": "haplo5MV3", "weight": 1, "source": "haplo5", "target": "MV3"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
120 { "data": { "id": "MV1MV2", "weight": 1, "source": "MV1", "target": "MV2"} },
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
121 { "data": { "id": "haplo8MV3", "weight": 1, "source": "haplo8", "target": "MV3"} }]}}
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
122
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
123 Output file
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
124 ===========
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
125
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
126 Cytoscape network
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
127 ----------------------------
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
128
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
129 .. image:: $PATH_TO_IMAGES/network.png
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
130 :width: 500 px
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
131
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
132 ]]></help>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
133
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
134 </tool>
9ad10a3a5759 Uploaded
enios
parents:
diff changeset
135