0
|
1 <tool id="extract_wrapper" name="Extract" version="0.2">
|
|
2 <description></description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="3.02">glimmer</requirement>
|
|
5 </requirements>
|
|
6 <command interpreter="python">
|
|
7 extract_wrapper.py --exSequence $exSequence --exCoords $exCoords
|
|
8 #if $ex2Fields
|
|
9 --ex2Fields
|
|
10 #end if
|
|
11 #if $exDir
|
|
12 --exDir
|
|
13 #end if
|
|
14 #if str($exMinLen)
|
|
15 --exMinLen=$exMinLen
|
|
16 #end if
|
|
17 #if $exNoStart
|
|
18 --exNoStart
|
|
19 #end if
|
|
20 #if $exNoStop
|
|
21 --exNoStop
|
|
22 #end if
|
|
23 #if $exNoWrap
|
|
24 --exNoWrap
|
|
25 #end if
|
|
26 --exOutput $exOutput --logfile $logfile
|
|
27 </command>
|
|
28
|
|
29 <inputs>
|
|
30 <param name="exSequence" type="data" format="fasta" label="DNA sequence to be analyzed" help="FASTA format" />
|
|
31
|
|
32 <param name="exCoords" type="data" format="glimmer_coords" label="Coordinates produced by Long-ORFs" />
|
|
33
|
|
34 <param name="ex2Fields" type="boolean" checked="false" label="Output sequence in 2 fields (-2, --2_fields)" help="Output each sequence as 2 fields (tag and sequence) on a single line." />
|
|
35
|
|
36 <param name="exDir" type="boolean" checked="false" label="Specify sequence direction (-d, --dir)" help="Use the 4th column of each input line to specify the direction of the sequence. Positive is forward, negative is reverse. The input sequence is assumed to be circular." />
|
|
37
|
|
38 <param name="exMinLen" type="integer" value="" optional="true" label="Minimum length of sequence (-l, --minlen)" help="Don't output any sequence shorter than n characters." />
|
|
39
|
|
40 <param name="exNoStart" type="boolean" checked="false" label="Omit first characters (-s, --nostart)" help="Omit the first 3 characters of each output string." />
|
|
41
|
|
42 <param name="exNoStop" type="boolean" checked="false" label="Omit last characters (-t, --nostop)" help="Omit the last 3 characters of each output string." />
|
|
43
|
|
44 <param name="exNoWrap" type="boolean" checked="false" label="No wraparound (-w, --nowrap)" help="Use the actual input coordinates without any wraparound that would be needed by a circular genome. Without this option, the output sequence is the shorter of the two ways around the circle. Tick 'Specify sequence direction' to specify direction explicitly." />
|
|
45 </inputs>
|
|
46
|
|
47 <outputs>
|
|
48 <data name="logfile" format="txt" label="${tool.name} on ${on_string}: log" />
|
|
49 <data name="exOutput" format="fasta" label="${tool.name} on ${on_string}: output" />
|
|
50 </outputs>
|
|
51
|
|
52 <tests>
|
|
53
|
|
54 </tests>
|
|
55 <help>
|
|
56 **What it does**
|
|
57
|
|
58 Read FASTA-format *sequence-file* and extract from it the subsequences specified by *coords*. By default, *coords* is the name of a file containing lines of the form *tag* *start* *stop* [*frame*] ...
|
|
59 Coordinates are inclusive counting from 1, e.g. *1 3* represents the 1st 3 characters of the sequence. For each line the corresponding region of *sequence-file* is extracted and output (after reverse-complementing if necessary).
|
|
60
|
|
61
|
|
62 **License and citation**
|
|
63
|
|
64 This Galaxy tool is Copyright © 2013 `CRS4 Srl.`_ and is released under the `MIT license`_.
|
|
65
|
|
66 .. _CRS4 Srl.: http://www.crs4.it/
|
|
67 .. _MIT license: http://opensource.org/licenses/MIT
|
|
68
|
|
69 If you use this tool in Galaxy, please cite |Cuccuru2013|_.
|
|
70
|
|
71 .. |Cuccuru2013| replace:: Cuccuru, G., Orsini, M., Pinna, A., Sbardellati, A., Soranzo, N., Travaglione, A., Uva, P., Zanetti, G., Fotia, G. (2013) Orione, a web-based framework for NGS analysis in microbiology. *Submitted*
|
|
72 .. _Cuccuru2013: http://orione.crs4.it/
|
|
73
|
|
74 This tool uses `Glimmer`_, which is licensed separately. Please cite |Delcher2007|_.
|
|
75
|
|
76 .. _Glimmer: http://ccb.jhu.edu/software/glimmer/index.shtml
|
|
77 .. |Delcher2007| replace:: Delcher, A. L., Bratke, K. A., Powers, E. C., Salzberg, S. L. (2007) Identifying bacterial genes and endosymbiont DNA with Glimmer. *Bioinformatics* 23(6), 673-679
|
|
78 .. _Delcher2007: http://bioinformatics.oxfordjournals.org/content/23/6/673
|
|
79 </help>
|
|
80 </tool>
|