0
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
1 <tool id="SADI-Docker-RDFSyntaxConverter" name="SADI - RDF Syntax Converter" version="0.1">
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
2 <description>Converts RDF to N3, N-TRIPLE or TAB format</description>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
3 <requirements>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
4 <container type="docker">mikeleganaaranguren/sadi:v6</container>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
5 </requirements>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
6
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
7 <command>java -jar sadi/RDFSyntaxConverter.jar $input $format > $output 2>/dev/null</command>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
8
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
9 <inputs>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
10 <param name="input" type="data" format="rdf" label="RDF input file"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
11 <param name="format" type="select" label="Choose RDF output format">
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
12 <option value="N3">N3</option>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
13 <option value="N-TRIPLE">N-TRIPLE</option>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
14 <option value="TAB" selected="true">Tab separated columns</option>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
15 </param>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
16 </inputs>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
17 <outputs>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
18 <data format="text" name="output" />
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
19 </outputs>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
20
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
21 <tests>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
22 <test>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
23 <param name="input" value="hello-input.rdf"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
24 <param name="format" value="N3"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
25 <output name="output" file="RDFSyntaxConverter_N3_test_hello_output"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
26 </test>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
27 <test>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
28 <param name="input" value="hello-input.rdf"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
29 <param name="format" value="N-TRIPLE"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
30 <output name="output" file="RDFSyntaxConverter_N-TRIPLE_test_hello_output"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
31 </test>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
32 <test>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
33 <param name="input" value="hello-input.rdf"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
34 <param name="format" value="TAB"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
35 <output name="output" file="RDFSyntaxConverter_TAB_test_hello_output"/>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
36 </test>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
37 </tests>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
38 <help>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
39
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
40 **What it does**
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
41
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
42 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).
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
43
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
44 **About**
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
45
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
46 More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy.
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
47
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
48 </help>
|
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff
changeset
|
49 </tool> |