annotate fasta2rdf.xml @ 36:2201c5d61f16 draft default tip

planemo upload commit 16d0bc526ad02361a7c13231d4c50479c42d8d0f-dirty
author jjkoehorst
date Mon, 04 Jul 2016 10:53:52 -0400
parents fa736576c7ed
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
1 <tool id="DFASTA2RDF" name="FASTA to RDF" version="0.1">
35
fa736576c7ed planemo upload commit 16d0bc526ad02361a7c13231d4c50479c42d8d0f-dirty
jjkoehorst
parents: 34
diff changeset
2 <description></description>
34
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
3 <requirements>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
4 <container type="docker">jjkoehorst/sappdocker:FASTA2RDF</container>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
5 </requirements>
35
fa736576c7ed planemo upload commit 16d0bc526ad02361a7c13231d4c50479c42d8d0f-dirty
jjkoehorst
parents: 34
diff changeset
6 <command interpreter="docker">java -jar /fasta2rdf/FASTA2RDF-0.1-jar-with-dependencies.jar
34
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
7 '--type' '$source.fastaType' '--ignorestop' '$IgnoreStopCodon'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
8 '--input' '$input' '--output' '$output' '-organism' '$organism'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
9 '--ncbi_taxid' '$ncbi_taxid'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
10 #if len(str($identification_tag))==0
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
11 '--idtag' ${input.name}
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
12 #else
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
13 '--idtag' '$identification_tag'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
14 #end if
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
15 --source SAPP
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
16
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
17 #for $index, $id in enumerate( $ids )
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
18 '--id_alternative' '$id.id_tag'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
19 #end for
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
20 '--id_alternative' '$input.name'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
21 '--codon' '$table'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
22 </command>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
23 <inputs>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
24 <param size="60" name="input" type="data" format="fasta" label="Fasta file for conversion" />
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
25
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
26 <conditional name="source">
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
27 <param name="fastaType" type="select"
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
28 label="Select if it is a Genome/Gene/Protein or program wont start!">
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
29 <option value="">To be chosen</option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
30 <option value="genome"> Genome </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
31 <option value="gene"> Gene</option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
32 <option value="protein"> Protein </option>
35
fa736576c7ed planemo upload commit 16d0bc526ad02361a7c13231d4c50479c42d8d0f-dirty
jjkoehorst
parents: 34
diff changeset
33 <validator type="empty_field"
fa736576c7ed planemo upload commit 16d0bc526ad02361a7c13231d4c50479c42d8d0f-dirty
jjkoehorst
parents: 34
diff changeset
34 message="Please select if it is a Genome, Gene or Protein" />
34
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
35 </param>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
36 </conditional>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
37
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
38 <param name="table" type="select" label="Codon table">
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
39 <option value="1"> 1 - UNIVERSAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
40 <option value="2"> 2 - VERTEBRATE_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
41 <option value="3"> 3 - YEAST_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
42 <option value="4"> 4 - MOLD_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
43 <option value="5"> 5 - INVERTEBRATE_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
44 <option value="6"> 6 - CILIATE_NUCLEAR </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
45 <option value="9"> 9 - ECHINODERM_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
46 <option value="10"> 10 - EUPLOTID_NUCLEAR </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
47 <option value="11" selected="true"> 11 - BACTERIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
48 <option value="12"> 12 - ALTERNATIVE_YEAST_NUCLEAR </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
49 <option value="13"> 13 - ASCIDIAN_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
50 <option value="14"> 14 - FLATWORM_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
51 <option value="15"> 15 - BLEPHARISMA_MACRONUCLEAR </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
52 <option value="16"> 16 - 2CHLOROPHYCEAN_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
53 <option value="21"> 21 - TREMATODE_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
54 <option value="23"> 23 - SCENEDESMUS_MITOCHONDRIAL </option>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
55 </param>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
56 <param size="60" name="organism" type="text" format="text"
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
57 label="organism name" />
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
58 <param name='IgnoreStopCodon' type='boolean'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
59 label='Ignore if stop codon within protein sequence' truevalue='true'
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
60 falsevalue='false' checked="false" help='' />
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
61
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
62 <param size="60" name="ncbi_taxid" type="integer" value="0"
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
63 label="NCBI taxonomy ID" optional="False">
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
64 <validator type="in_range" min="1"
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
65 message="Minimum taxonomy value is 1" />
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
66 </param>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
67 <param size="60" name="identification_tag" type="text" format="text"
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
68 label="An identification tag used for RDF storage !Needs to be very unique!"
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
69 optional="True" />
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
70 <repeat name="ids" title="Identification tags">
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
71 <param size="60" name="id_tag" type="text" format="text"
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
72 label="An identification tag used by other consortiums" />
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
73 </repeat>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
74 </inputs>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
75 <outputs>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
76 <data format="ttl" name="output" label="FASTA2RDF: ${input.name}" />
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
77 </outputs>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
78 <help>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
79 RDF creation from a multi (gene/protein/genome) fasta file
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
80 </help>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
81 </tool>
f2cbf1230026 Uploaded
jjkoehorst
parents:
diff changeset
82