Mercurial > repos > cpt > cpt_gbk_adjacent
comparison adjacent_features.xml @ 1:e29c36ee61e0 draft
planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
author | cpt |
---|---|
date | Mon, 05 Jun 2023 02:42:35 +0000 |
parents | |
children | e2531f4dcdde |
comparison
equal
deleted
inserted
replaced
0:1311f97dccfa | 1:e29c36ee61e0 |
---|---|
1 <tool id="edu.tamu.cpt2.gbk.adjacent_features" name="Find adjacent Genbank features" version="RC4"> | |
2 <description>Searches a Genbank file for a given FASTA sequence, then outputs a file with adjacent upstream features, and another with adjacent downstream features.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 <import>cpt-macros.xml</import> | |
6 </macros> | |
7 <expand macro="requirements"/> | |
8 <command detect_errors="aggressive"><![CDATA[ | |
9 python '$__tool_directory__/adjacent_features.py' | |
10 #set repeat_var_1 = '" "'.join([ str('$var') for '$var' in '$gbkIn' ]) | |
11 #set repeat_var_2 = '" "'.join([ str('$var') for '$var' in '$fastaIn' ]) | |
12 -genbankFiles "$repeat_var_1" | |
13 -fastaFiles "$repeat_var_2" | |
14 -tTable '$tTable' | |
15 -fTable '$fTable' | |
16 -upOut '$upstreamOut' | |
17 -downOut '$downstreamOut' | |
18 '$translate' | |
19 '$forceID' | |
20 '$mode' | |
21 --forward '$ahead' | |
22 --behind '$back' | |
23 ]]></command> | |
24 <inputs> | |
25 <param label="Genbank file" name="gbkIn" type="data" format="genbank" multiple="True"/> | |
26 <param label="Fasta file" name="fastaIn" type="data" format="fasta" multiple="True"/> | |
27 <param label="Translation table to use on Fasta input:" name="fTable" type="select"> | |
28 <option value="0" selected="true">[0] Do not translate/ Fasta already translated</option> | |
29 <option value="1">[1] The Standard Code</option> | |
30 <option value="2">[2] The Vertebrate Mitochondrial Code</option> | |
31 <option value="3">[3] The Yeast Mitochondrial Code</option> | |
32 <option value="4">[4] The Mold, Protozoan, and Coelenterate Mitochondrial Code and the Mycoplasma/Spiroplasma Code</option> | |
33 <option value="5">[5] The Invertebrate Mitochondrial Code </option> | |
34 <option value="6">[6] The Ciliate, Dasycladacean and Hexamita Nuclear Code</option> | |
35 <option value="9">[9] The Echinoderm and Flatworm Mitochondrial Code</option> | |
36 <option value="10">[10] The Euplotid Nuclear Code</option> | |
37 <option value="11">[11] The Bacterial, Archaeal and Plant Plastid Code</option> | |
38 <option value="12">[12] The Alternative Yeast Nuclear Code</option> | |
39 <option value="13">[13] The Ascidian Mitochondrial Code</option> | |
40 <option value="14">[14] The Alternative Flatworm Mitochondrial Code</option> | |
41 <option value="15">[15] Blepharisma Nuclear Code</option> | |
42 <option value="16">[16] Chlorophycean Mitochondrial Code</option> | |
43 <option value="21">[21] Trematode Mitochondrial Code</option> | |
44 <option value="22">[22] Scenedesmus Obliquus Mitochondrial Code</option> | |
45 <option value="23">[23] Thraustochytrium Mitochondrial Code</option> | |
46 <option value="24">[24] Pterobranchia Mitochondrial Code</option> | |
47 <option value="25">[25] Candidate Division SR1 and Gracilibacteria Code</option> | |
48 </param> | |
49 <param label="Translation table to use on Genbank features:" name="tTable" type="select"> | |
50 <option value="0">[0] Do not translate (Use nucleotide sequence of features)</option> | |
51 <option value="1">[1] The Standard Code</option> | |
52 <option value="2">[2] The Vertebrate Mitochondrial Code</option> | |
53 <option value="3">[3] The Yeast Mitochondrial Code</option> | |
54 <option value="4">[4] The Mold, Protozoan, and Coelenterate Mitochondrial Code and the Mycoplasma/Spiroplasma Code</option> | |
55 <option value="5">[5] The Invertebrate Mitochondrial Code </option> | |
56 <option value="6">[6] The Ciliate, Dasycladacean and Hexamita Nuclear Code</option> | |
57 <option value="9">[9] The Echinoderm and Flatworm Mitochondrial Code</option> | |
58 <option value="10">[10] The Euplotid Nuclear Code</option> | |
59 <option value="11" selected="true">[11] The Bacterial, Archaeal and Plant Plastid Code</option> | |
60 <option value="12">[12] The Alternative Yeast Nuclear Code</option> | |
61 <option value="13">[13] The Ascidian Mitochondrial Code</option> | |
62 <option value="14">[14] The Alternative Flatworm Mitochondrial Code</option> | |
63 <option value="15">[15] Blepharisma Nuclear Code</option> | |
64 <option value="16">[16] Chlorophycean Mitochondrial Code</option> | |
65 <option value="21">[21] Trematode Mitochondrial Code</option> | |
66 <option value="22">[22] Scenedesmus Obliquus Mitochondrial Code</option> | |
67 <option value="23">[23] Thraustochytrium Mitochondrial Code</option> | |
68 <option value="24">[24] Pterobranchia Mitochondrial Code</option> | |
69 <option value="25">[25] Candidate Division SR1 and Gracilibacteria Code</option> | |
70 </param> | |
71 <param label="Number of features upstream to return" name="ahead" type="integer" value="1"/> | |
72 <param label="Number of features downstream to return" name="back" type="integer" value="1"/> | |
73 <param label="Translate output to protein sequence" name="translate" type="boolean" truevalue="--outProt" falsevalue=""/> | |
74 <param label="Genbank Protein's ID must also match Fasta Sequence's ID " name="forceID" type="boolean" truevalue="--forceSeqID" falsevalue="" checked="true"/> | |
75 <param name="mode" type="select" label="Mode"> | |
76 <option value="--genesOnly">Search only Gene-type features</option> | |
77 <option value="--cdsOnly">Search only CDS-type features</option> | |
78 <option value="">Search all features (Will most likely cause duplicate results, as this will include sub-features)</option> | |
79 </param> | |
80 </inputs> | |
81 <outputs> | |
82 <data name="upstreamOut" format="fasta" label="upOut"/> | |
83 <data name="downstreamOut" format="fasta" label="downOut"/> | |
84 </outputs> | |
85 <help><![CDATA[ | |
86 Currently Experimental: Uploaded for review purposes | |
87 | |
88 **What it does** | |
89 | |
90 For a given Fasta file, this tool searches through the features of a Genbank file for one that matches the sequence in the Fasta. If found, it will then output a specified number of features upstream from the hit and a specified number of features downstream as a multifasta file. | |
91 | |
92 The drop down menus provide a selection of translation tables for the Fasta and Genbank inputs. If "translate output to protein sequence" | |
93 is selected, the output will be translated using the table selected for the Genbank translation. | |
94 | |
95 It is currently recommended to select either the Gene only or CDS only options for mode, as searching all features will include sub-features of neighbors (ie, selecting 2 for upstream will give you the neighboring gene and then its CDS sub feature, rather than 2 proper neighbors) as well as the sub-features of the search hit itself. | |
96 | |
97 | |
98 ]]></help> | |
99 <citations> | |
100 <citation type="doi">10.1371/journal.pcbi.1008214</citation> | |
101 <citation type="bibtex"> | |
102 @unpublished{galaxyTools, | |
103 author = {A. Criscione}, | |
104 title = {CPT Galaxy Tools}, | |
105 year = {2019-2021}, | |
106 note = {https://github.com/tamu-cpt/galaxy-tools/} | |
107 } | |
108 </citation> | |
109 </citations> | |
110 </tool> |