Mercurial > repos > devteam > clustalw
comparison rgClustalw.xml @ 3:d6694932c5e0 draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/clustalw commit 31dd2ec1d105282421df5d6801c65cdcfd589f59
author | devteam |
---|---|
date | Mon, 22 May 2017 21:02:45 -0400 |
parents | f8aad74cc8c1 |
children | d9c2b2fde6a3 |
comparison
equal
deleted
inserted
replaced
2:f8aad74cc8c1 | 3:d6694932c5e0 |
---|---|
1 <tool id="clustalw" name="ClustalW" version="0.1"> | 1 <tool id="clustalw" name="ClustalW" version="2.1"> |
2 <requirements> | 2 <description>multiple sequence alignment program for DNA or proteins</description> |
3 <requirement type="package" version="2.1">clustalw2</requirement> | 3 <requirements> |
4 </requirements> | 4 <requirement type="package" version="2.1">clustalw</requirement> |
5 <description>multiple sequence alignment program for DNA or proteins</description> | 5 </requirements> |
6 <command interpreter="python"> | 6 <command detect_errors="exit_code"><![CDATA[ |
7 rgClustalw.py -i "$input" -o "$output" -s "$out_order" -l "$outlog" -t "$outname" -d "$dnarna" | 7 ln -s '$input' input.fasta && |
8 #if ($range.mode=="part") | 8 clustalw2 -INFILE=input.fasta -OUTFILE='$output' -OUTORDER=$out_order -TYPE=$dnarna |
9 -b "$range.seq_range_start" -e "$range.seq_range_end" | 9 #if $outcontrol.outform == "clustal" |
10 -OUTPUT=CLUSTAL | |
11 #if $outcontrol.out_seqnos == "ON" | |
12 -SEQNOS=ON | |
10 #end if | 13 #end if |
11 #if ($outcontrol.outform=="clustal") | 14 #end if |
12 -f "CLUSTAL" | 15 #if $outcontrol.outform == "phylip" |
13 #if ($outcontrol.out_seqnos=="ON") | 16 -OUTPUT=PHYLIP |
14 -q "ON" | 17 #end if |
15 #end if | 18 #if $outcontrol.outform == "fasta" |
16 #end if | 19 -OUTPUT=FASTA |
17 #if ($outcontrol.outform=="phylip") | 20 #end if |
18 -f "PHYLIP" | 21 #if $range.mode == "part" |
19 #end if | 22 -RANGE=${range.seq_range_start},${range.seq_range_end} |
20 #if ($outcontrol.outform=="fasta") | 23 #end if |
21 -f "FASTA" | 24 ]]></command> |
22 #end if | 25 <inputs> |
23 </command> | 26 <param name="input" type="data" format="fasta" label="FASTA file" /> |
24 <inputs> | 27 <param name="dnarna" type="select" label="Data type"> |
25 <page> | 28 <option value="DNA" selected="True">DNA nucleotide sequences</option> |
26 <param format="fasta" name="input" type="data" label="Fasta File" /> | 29 <option value="PROTEIN">Protein sequences</option> |
27 <param name="outname" label="Name for output files to make it easy to remember what you did" type="text" value="Clustal_run" /> | |
28 <param name="dnarna" type="select" label="Data Type"> | |
29 <option value="DNA" selected="True">DNA nucleotide sequences</option> | |
30 <option value="PROTEIN">Protein sequences</option> | |
31 </param> | |
32 <conditional name="outcontrol"> | |
33 <param name="outform" type="select" label="Output alignment format"> | |
34 <option value="clustal" selected="True">Native Clustal output format</option> | |
35 <option value="phylip">Phylip format</option> | |
36 <option value="fasta">Fasta format</option> | |
37 </param> | |
38 <when value="fasta" /> | |
39 <when value="phylip" /> | |
40 <when value="clustal"> | |
41 <param name="out_seqnos" type="select" label="Show residue numbers in clustal format output"> | |
42 <option value="ON">yes</option> | |
43 <option value="OFF" selected="true">no</option> | |
44 </param> | |
45 </when> | |
46 </conditional> | |
47 <param name="out_order" type="select" label="Output Order"> | |
48 <option value="ALIGNED">aligned</option> | |
49 <option value="INPUT">same order as input file</option> | |
50 </param> | |
51 | |
52 <conditional name="range"> | |
53 <param name="mode" type="select" label="Output complete alignment (or specify part to output)"> | |
54 <option value="complete">complete alignment</option> | |
55 <option value="part">only part of the alignment</option> | |
56 </param> | 30 </param> |
57 <when value="complete"> | 31 <conditional name="outcontrol"> |
58 </when> | 32 <param name="outform" type="select" label="Output alignment format"> |
59 <when value="part"> | 33 <option value="clustal" selected="True">Native Clustal output format</option> |
60 <param name="seq_range_start" type="integer" value="1" label="start point" help="sequence range to write"> | 34 <option value="phylip">PHYLIP format</option> |
61 </param> | 35 <option value="fasta">FASTA format</option> |
62 <param name="seq_range_end" type="integer" value="99999" label="end point" > | 36 </param> |
63 </param> | 37 <when value="fasta" /> |
64 </when> | 38 <when value="phylip" /> |
65 </conditional> | 39 <when value="clustal"> |
66 </page> | 40 <param name="out_seqnos" type="boolean" truevalue="ON" falsevalue="OFF" label="Show residue numbers in clustal format output" /> |
67 </inputs> | 41 </when> |
68 <outputs> | 42 </conditional> |
69 <data format="clustal" name="output" label="${outname}_output.${outcontrol.outform}"> | 43 <param name="out_order" type="select" label="Output order"> |
70 <change_format> | 44 <option value="ALIGNED">Aligned</option> |
71 <when input="outcontrol.outform" value="phylip" format="phylip" /> | 45 <option value="INPUT">Same order as input file</option> |
72 <when input="outcontrol.outform" value="fasta" format="fasta" /> | 46 </param> |
73 </change_format> | 47 <conditional name="range"> |
74 </data> | 48 <param name="mode" type="select" label="Output complete alignment (or specify part to output)"> |
75 <data format="txt" name="outlog" label="${outname}_clustal_log.txt"/> | 49 <option value="complete">Complete alignment</option> |
76 </outputs> | 50 <option value="part">Only part of the alignment</option> |
77 <tests> | 51 </param> |
78 <test> | 52 <when value="complete" /> |
79 <param name="input" value="rgClustal_testin.fasta" /> | 53 <when value="part"> |
80 <param name="outname" value="" /> | 54 <param name="seq_range_start" type="integer" value="1" label="Start point" help="Sequence range to write" /> |
81 <param name="outform" value="fasta" /> | 55 <param name="seq_range_end" type="integer" value="99999" label="End point" /> |
82 <param name="dnarna" value="DNA" /> | 56 </when> |
83 <param name="mode" value="complete" /> | 57 </conditional> |
84 <param name="out_order" value="ALIGNED" /> | 58 </inputs> |
85 <output name="output" file="rgClustal_testout.fasta" ftype="fasta" /> | 59 <outputs> |
86 <output name="outlog" file="rgClustal_testout.log" ftype="txt" lines_diff="5" /> | 60 <data name="output" format="clustal" label="${tool.name} on ${on_string}: ${outcontrol.outform}"> |
87 </test> | 61 <change_format> |
88 </tests> | 62 <when input="outcontrol.outform" value="phylip" format="phylip" /> |
89 <help> | 63 <when input="outcontrol.outform" value="fasta" format="fasta" /> |
90 | 64 </change_format> |
65 </data> | |
66 <data name="dnd" format="nhx" label="${tool.name} on ${on_string}: dnd" from_work_dir="input.dnd" /> | |
67 </outputs> | |
68 <tests> | |
69 <test> | |
70 <param name="input" value="rgClustal_testin.fasta" /> | |
71 <param name="outform" value="fasta" /> | |
72 <param name="dnarna" value="DNA" /> | |
73 <param name="mode" value="complete" /> | |
74 <param name="out_order" value="ALIGNED" /> | |
75 <output name="output" file="rgClustal_testout.fasta" ftype="fasta" /> | |
76 <output name="dnd" file="rgClustal_testin.dnd" ftype="nhx" /> | |
77 </test> | |
78 </tests> | |
79 <help><![CDATA[ | |
91 **Note** | 80 **Note** |
92 | 81 |
93 This tool allows you to run a multiple sequence alignment with ClustalW2 (see Clustsrc_) using the default options. | 82 This tool allows you to run a multiple sequence alignment with ClustalW_ using the default options. |
94 | |
95 For a tutorial introduction, see ClustalW2_ | |
96 | 83 |
97 You can align DNA or protein sequences in the input file which should be multiple sequences to be aligned in a fasta file | 84 You can align DNA or protein sequences in the input file which should be multiple sequences to be aligned in a FASTA file. |
98 | 85 |
99 A log will be output to your history showing the output Clustal would normally write to standard output. | 86 The alignments will appear as a clustal format file or optionally, as PHYLIP or FASTA format files in your history. If you choose FASTA as |
100 | |
101 The alignments will appear as a clustal format file or optionally, as phylip or fasta format files in your history. If you choose fasta as | |
102 the output format, you can create a 'Logo' image using the Sequence Logo tool. | 87 the output format, you can create a 'Logo' image using the Sequence Logo tool. |
103 | 88 |
104 If Clustal format is chosen, you have the option of adding basepair counts to the output | 89 If Clustal format is chosen, you have the option of adding basepair counts to the output. |
105 | 90 |
106 A subsequence of the alignment can be output by setting the Output complete parameter to "Partial" and defining the offset and end of the subsequence to be output | 91 A subsequence of the alignment can be output by setting the Output complete parameter to "Partial" and defining the offset and end of the subsequence to be output. |
107 | 92 |
108 ---- | 93 ---- |
109 | 94 |
110 **Attribution** | 95 **Attribution** |
111 | 96 |
112 Clustal attribution and associated documentation are available at Clustsrc_ | 97 The first iteration of this Galaxy wrapper was written by Hans-Rudolf Hotz. |
113 | 98 |
114 The first iteration of this Galaxy wrapper was written by Hans-Rudolf Hotz - see Clustfirst_ | 99 It was modified by Ross Lazarus for the rgenetics project - tests and some additional parameters were added. |
115 | 100 |
116 It was modified by Ross Lazarus for the rgenetics project - tests and some additional parameters were added | 101 This wrapper is released licensed under the LGPL_. |
117 | 102 |
118 This wrapper is released licensed under the LGPL_ | 103 .. _ClustalW: http://www.clustal.org/clustal2/ |
119 | 104 |
120 .. _ClustalW2: http://www.ebi.ac.uk/2can/tutorials/protein/clustalw.html | 105 .. _LGPL: https://www.gnu.org/copyleft/lesser.html |
121 | 106 ]]></help> |
122 .. _Clustsrc: http://www.clustal.org | |
123 | |
124 .. _Clustfirst: http://lists.bx.psu.edu/pipermail/galaxy-dev/2010-November/003732.html | |
125 | |
126 .. _LGPL: http://www.gnu.org/copyleft/lesser.html | |
127 | |
128 </help> | |
129 <citations> | 107 <citations> |
130 <citation type="doi">10.1093/bioinformatics/btm404</citation> | 108 <citation type="doi">10.1093/bioinformatics/btm404</citation> |
131 </citations> | 109 </citations> |
132 </tool> | 110 </tool> |
133 |