annotate sappDocker/fasta2rdf.xml @ 31:957156367442 draft

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