view tools/SADI-Docker/SADI-Docker-RDFSyntaxConverter.xml @ 0:54c48f9ca32b default tip

first release
author Mikel Egana <mikel.egana.aranguren@gmail.com>
date Fri, 04 Sep 2015 23:24:45 +0200
parents
children
line wrap: on
line source

<tool id="SADI-Docker-RDFSyntaxConverter" name="SADI - RDF Syntax Converter" version="0.1">
	<description>Converts RDF to N3, N-TRIPLE or TAB format</description>	
	<requirements>
	  <container type="docker">mikeleganaaranguren/sadi:v6</container>
	</requirements>

	<command>java -jar sadi/RDFSyntaxConverter.jar $input $format > $output 2>/dev/null</command>
		
	<inputs>
		<param name="input" type="data" format="rdf" label="RDF input file"/>	
		<param name="format" type="select" label="Choose RDF output format">
			<option value="N3">N3</option>
			<option value="N-TRIPLE">N-TRIPLE</option>
			<option value="TAB" selected="true">Tab separated columns</option>
		</param>
	</inputs>
	<outputs>
		<data format="text" name="output" />
	</outputs>
	
	 <tests>
		<test>
			<param name="input" value="hello-input.rdf"/>
			<param name="format" value="N3"/>
			<output name="output" file="RDFSyntaxConverter_N3_test_hello_output"/>
		</test>
		<test>
			<param name="input" value="hello-input.rdf"/>
			<param name="format" value="N-TRIPLE"/>
			<output name="output" file="RDFSyntaxConverter_N-TRIPLE_test_hello_output"/>
		</test>
		<test>
			<param name="input" value="hello-input.rdf"/>
			<param name="format" value="TAB"/>
			<output name="output" file="RDFSyntaxConverter_TAB_test_hello_output"/>
		</test>
	</tests>
	<help>
	  
	  **What it does** 
	  
	  Given an RDF input file, it converts it to N3, N-TRIPLE or TAB (A tab delimited file containing three columns -subjects, predicates and objects- for other Galaxy tools to consume).
	  
	  **About**
	  
	  More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy.
	  
	</help>
</tool>