3
|
1 <tool id="SAPP_genbank_to_ttl" name="EMBL/GBK to RDF" version="0.1">
|
|
2 <requirements>
|
|
3 <requirement type='package' version="3.4">python</requirement>
|
|
4 <requirement type='package' version="1.0">rdflib</requirement>
|
|
5 </requirements>
|
|
6 <description>Genbank to RDF conversion</description>
|
|
7 <command interpreter="python3.4">gbktordf.py '-input' '$input' -output '$output' -sourcedb "$format" -format "$format"</command>
|
|
8 <inputs>
|
|
9 <param name="input" type="data" format="gbk,gb,genbank" label="Genbank file"/>
|
|
10 <param name="format" type="select" label="EMBL/GBK">
|
|
11 <option value="genbank" selected="true"> Genbank</option>
|
|
12 <option value="embl"> EMBL </option>
|
|
13 </param>
|
|
14 </inputs>
|
|
15
|
|
16 <outputs>
|
|
17 <data format="rdf" name="output" label="GBKttl: ${input.name}" />
|
|
18 </outputs>
|
|
19
|
|
20 <tests>
|
|
21 <test>
|
|
22 <param name="input" value="test-data/NC_010067.gbk"/>
|
|
23 <output name="$output" file="NC_010067.rdf"/>
|
|
24 <output name="$format" value="genbank"/>
|
|
25 <output name="$sourcedb" value="genbank"/>
|
|
26 </test>
|
|
27 </tests>
|
|
28
|
|
29 <help>
|
|
30 Genbank or EMBL to RDF conversion
|
|
31 </help>
|
|
32 </tool>
|