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>
|
4
|
9 <param name="input" type="data" format="gbk,gb,genbank,embl" label="Genbank file"/>
|
3
|
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>
|
4
|
27 <test>
|
|
28 <param name="input" value="test-data/CP009049.embl"/>
|
|
29 <output name="$output" file="CP009049.rdf"/>
|
|
30 <output name="$format" value="embl"/>
|
|
31 <output name="$sourcedb" value="embl"/>
|
|
32 </test>
|
3
|
33 </tests>
|
|
34
|
|
35 <help>
|
|
36 Genbank or EMBL to RDF conversion
|
|
37 </help>
|
|
38 </tool>
|