changeset 6:eb471a967693 draft

Uploaded
author computationaltranscriptomics
date Tue, 23 Feb 2016 09:18:55 -0500
parents d5b37e4fcf55
children 006d30548237
files vgx_converter.xml
diffstat 1 files changed, 37 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vgx_converter.xml	Tue Feb 23 09:18:55 2016 -0500
@@ -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>
+