comparison kplogo.xml @ 0:f6226f8823ce draft

Uploaded
author xuebing
date Thu, 23 Mar 2017 00:47:36 -0400
parents
children 3c13235a05f5
comparison
equal deleted inserted replaced
-1:000000000000 0:f6226f8823ce
1 <tool id="kplogo" name="kpLogo" version="1.0">
2 <description>for positional k-mer analysis</description>
3 <command>
4
5 kpLogo $input $inputtype -o $output -alphabet $alphabet $maxk -startPos $startPos $degenerate 2> tmp;
6 cp ${output}.most.significant.each.position.pdf $output;
7 cp ${output}.pdf $logo_prob;
8 cp ${output}.info.pdf $logo_info;
9 cp ${output}.freq.pdf $logo_freq;
10 cp ${output}.most.significant.each.position.txt $tab_most;
11 cp ${output}.pass.p.cutoff.txt $tab_all;
12
13 </command>
14 <inputs>
15 <page>
16 <param format="fasta" name="input" type="data" label="Fasta File" />
17
18 <param name="alphabet" type="select" label="Sequence type: DNA/RNA or Protein" >
19 <option value="dna" selected="True">DNA/RNA</option>
20 <option value="protein">Protein</option>
21 <option value="other">Other (not supported yet)</option>
22 </param>
23
24 <param name="inputtype" type="select" label="Weighted or Ranked" >
25 <option value="" selected="True">Unweighted (FASTA or Tab-delimited) </option>
26 <option value="-ranked">Ranked (FASTA or Tab-delimited)</option>
27 <option value="-weighted">Weighted (Tab-delimited)</option>
28 </param>
29
30 <param name="maxk" type="select" label="k-mer length"
31 help="k-mer length">
32 <option value="-max_k 4" selected="True">1,2,3,4</option>
33 <option value="-max_k 3">1,2,3</option>
34 <option value="-max_k 2">1,2</option>
35 <option value="-k 4">4</option>
36 <option value="-k 3">3</option>
37 <option value="-k 2">2</option>
38 <option value="-k 1">1</option>
39 </param>
40
41 <param name="degenerate" type="select" label="Degenerate residual (DNA/RNA only)">
42 <option value="-gapped" selected="True">ACGTN, i.e. gapped</option>
43 <option value="">None (no degenerate residuals)</option>
44 <option value="-degenerate all">all IUPAC residuals: ACGTRYMKWSBDHVN</option>
45 </param>
46
47 <param name="startPos" type="integer" value="1"/>
48
49
50 </page>
51 </inputs>
52 <outputs>
53 <data format="pdf" name="logo_info" label="${tool.name} on ${on_string}: info"/>
54 <data format="pdf" name="logo_freq" label="${tool.name} on ${on_string}: freq"/>
55 <data format="pdf" name="logo_prob" label="${tool.name} on ${on_string}: prob"/>
56 <data format="pdf" name="output" label="${tool.name} on ${on_string}: kmer"/>
57 <data format="tabular" name="tab_all" label="${tool.name} on ${on_string}: all_kmer"/>
58 <data format="tabular" name="tab_most" label="${tool.name} on ${on_string}: most_sig"/>
59
60
61 </outputs>
62 <help>
63
64 **Note**
65
66 This tool uses Weblogo3_ in Galaxy to generate a sequence logo. The input file must be a fasta file in your current history.
67
68 It is recommended for (eg) viewing multiple sequence alignments output from the clustalw tool - set the output to fasta and feed
69 it in to this tool.
70
71 A typical output looks like this
72
73 .. image:: ${static_path}/images/rgWebLogo3_test.jpg
74
75 ----
76
77 **Warning about input Fasta format files**
78
79 The Weblogo3 program used by this tool will fail if your fasta sequences are not all EXACTLY the same length. The tool will provide a warning
80 and refuse to call the weblogo3 executable if irregular length sequences are detected.
81
82 Fasta alignments from the companion ClustalW Galaxy tool will work but many other fasta files may cause this tool to fail - please do not file
83 a Galaxy bug report - this is a feature of the tool and a problem with your source data - not a tool error - please make certain all your fasta
84 sequences are the same length!
85
86 ----
87
88 **Attribution**
89
90 Weblogo attribution and associated documentation are available at Weblogo3_
91
92 This Galaxy wrapper was written by Ross Lazarus for the rgenetics project and the source code is licensed under the LGPL_ like other rgenetics artefacts
93
94 .. _Weblogo3: http://weblogo.berkeley.edu/
95
96 .. _LGPL: http://www.gnu.org/copyleft/lesser.html
97
98 </help>
99
100 </tool>
101
102