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