annotate protein2rdf/protein_to_ttl.xml @ 14:41bfc53ee550

removal of rnaseq
author jjkoehorst <jasperkoehorst@gmail.com>
date Sat, 21 Feb 2015 17:12:28 +0100
parents 0773b11fb822
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
1 <tool id="SAPP_protein_rdf" name="Protein FASTA to RDF" version="0.1">
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
2 <requirements>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
3 <requirement type='package' version="3.4">python</requirement>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
4 <requirement type='package' version="1.0">rdflib</requirement>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
5 </requirements>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
6 <description></description>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
7 <command interpreter="python3.4">protein_to_ttl.py '-input' '$input' '-output' '$output' '-organism' '$organism' '-ncbi_taxid' '$ncbi_taxid' '-idtag' '$identification_tag' '-diagnosis' '$diagnosis' '-country' '$country' '-location' '$location' '-date' '$date' -sourcedb SAPP
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
8 #for $index, $id in enumerate( $ids )
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
9 '-ids' '$id.id_tag'
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
10 #end for
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
11 '-id_alternative' '$input.name'
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
12 </command>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
13 <inputs>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
14 <param size="60" name="input" type="data" format="fasta,fa" label="File for annotation, file types used fasta,fa"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
15 <param size="60" name="organism" type="text" format="text" label="organism name"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
16 <param size="60" name="diagnosis" type="text" format="text" label="Diagnosis of host if applicable"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
17 <param size="60" name="ncbi_taxid" type="text" format="text" label="NCBI taxonomy ID"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
18 <param size="60" name="country" type="text" format="text" label="Country of sample"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
19 <param size="60" name="location" type="text" format="text" label="Location of sample e.g., river, city, hospital"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
20 <param size="60" name="date" type="text" format="text" label="Sample date"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
21 <param size="60" name="identification_tag" type="text" format="text" label="An identification tag used for RDF storage !Needs to be very unique!"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
22 <repeat name="ids" title="Identification tags">
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
23 <param size="60" name="id_tag" type="text" format="text" label="An identification tag used by other consortiums"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
24 </repeat>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
25 </inputs>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
26
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
27 <outputs>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
28 <data format="rdf" name="output" label="proteinTTL: ${input.name}" />
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
29 </outputs>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
30 <tests>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
31 <test>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
32 <param name="input" value="test-data/NC_017117.faa"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
33 <output name="$output" file="NC_017117.rdf"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
34 <output name="$ncbi_taxid" value="634455"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
35 <output name="$idtag" value="Acetobacter pasteurianus IFO 3283-22"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
36 <output name="$organism" value="Acetobacter pasteurianus IFO 3283-22"/>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
37 </test>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
38 </tests>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
39 <help>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
40 RDF creation from a multi protein fasta file
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
41 </help>
0773b11fb822 cutadapters added
jjkoehorst <jasperkoehorst@gmail.com>
parents:
diff changeset
42 </tool>