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

Changeset 1:f009d54be92b (2016-02-23)
Previous changeset 0:fb26ae916886 (2016-02-23) Next changeset 2:f5e05d6382c8 (2016-02-23)
Commit message:
Uploaded
added:
vgx_converter.xml
b
diff -r fb26ae916886 -r f009d54be92b vgx_converter.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/vgx_converter.xml Tue Feb 23 09:03:17 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>
+