Repository 'vgx_converter'
hg clone https://toolshed.g2.bx.psu.edu/repos/computationaltranscriptomics/vgx_converter

Changeset 6:eb471a967693 (2016-02-23)
Previous changeset 5:d5b37e4fcf55 (2016-02-23) Next changeset 7:006d30548237 (2016-05-10)
Commit message:
Uploaded
added:
vgx_converter.xml
b
diff -r d5b37e4fcf55 -r eb471a967693 vgx_converter.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/vgx_converter.xml Tue Feb 23 09:18:55 2016 -0500
b
@@ -0,0 +1,37 @@
+<tool id="vgx_converter" name="SIF-to-VGX" version="0.0.1">
+ <description>Converts a SIF file to a JSON file in node-link format for visualization in VisualGraphX</description>
+ <command interpreter="python">vgx_converter.py $input1 $delimiter $input2 $output</command>
+ <inputs>
+ <param format="txt" name="input1" type="data" label="Network"/>
+ <param format="tabular" name="input2" type="data" optional="true" label="Attributes"/>
+ <param name="delimiter" type="select" label="Delimiter">
+ <option value="tab" selected="true">tab-delimited</option>
+ <option value="space">space-delimited</option>
+ </param>
+ </inputs>
+ <outputs>
+ <data format="json" name="output"/>
+ </outputs>
+
+ <help>
+ This tool converts the simple interaction format (.sif) to the JavaScript Object Notation (.json) 
+ that can be visualized using VisualGraphX. Furthermore, a attributes list can be provided to enhance 
+ the information of the nodes in the graph.
+ </help>
+
+ <tests>
+ <test>
+ <param name="input1" value="cvt_network.sif"/>
+ <param name="delimiter" value="space"/>
+ <param name="input2" value="cvt_attributes.venn"/>
+ <param name="output" value="cvt_nodelink.json"/>
+ </test>
+ <test>
+ <param name="input1" value="angiogenesis_network.sif"/>
+ <param name="delimiter" value="tab"/>
+ <param name="output" value="angiogenesis_nodelink.json"/>
+ </test>
+ </tests>
+
+</tool>
+