view vgx_converter.xml @ 13:75763eea6d2b draft

Uploaded
author computationaltranscriptomics
date Wed, 01 Jun 2016 10:24:00 -0400
parents 2faeb500052d
children cb4dce1042ef
line wrap: on
line source

<tool id="vgx_converter" name="SIF-to-VGX" version="0.0.3">
	<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>