15
|
1 <tool id="vgx_converter" name="SIF-to-JGF" version="0.0.4">
|
|
2 <description>Converts a SIF file to a JSON Graph Format (JGF) file for visualization in VisualGraphX</description>
|
1
|
3 <command interpreter="python">vgx_converter.py $input1 $delimiter $input2 $output</command>
|
|
4 <inputs>
|
|
5 <param format="txt" name="input1" type="data" label="Network"/>
|
|
6 <param format="tabular" name="input2" type="data" optional="true" label="Attributes"/>
|
|
7 <param name="delimiter" type="select" label="Delimiter">
|
|
8 <option value="tab" selected="true">tab-delimited</option>
|
|
9 <option value="space">space-delimited</option>
|
|
10 </param>
|
|
11 </inputs>
|
|
12 <outputs>
|
15
|
13 <data format="jgf" name="output"/>
|
1
|
14 </outputs>
|
|
15
|
|
16 <help>
|
15
|
17 This tool converts the simple interaction format (.sif) to the JavaScript Graph Format JGF (.jgf)
|
1
|
18 that can be visualized using VisualGraphX. Furthermore, a attributes list can be provided to enhance
|
|
19 the information of the nodes in the graph.
|
|
20 </help>
|
|
21
|
|
22 <tests>
|
|
23 <test>
|
|
24 <param name="input1" value="cvt_network.sif"/>
|
|
25 <param name="delimiter" value="space"/>
|
|
26 <param name="input2" value="cvt_attributes.venn"/>
|
|
27 <param name="output" value="cvt_nodelink.json"/>
|
|
28 </test>
|
|
29 <test>
|
|
30 <param name="input1" value="angiogenesis_network.sif"/>
|
|
31 <param name="delimiter" value="tab"/>
|
|
32 <param name="output" value="angiogenesis_nodelink.json"/>
|
|
33 </test>
|
|
34 </tests>
|
|
35
|
|
36 </tool>
|
|
37
|