23
|
1 <!--Compare Matrices - developed by Jocelyn Brayet <jocelyn.brayet@curie.fr>
|
|
2 Copyright (C) 2015 Institut Curie
|
|
3
|
|
4 This program is free software: you can redistribute it and/or modify
|
|
5 it under the terms of the GNU General Public License as published by
|
|
6 the Free Software Foundation, either version 3 of the License, or
|
|
7 (at your option) any later version.
|
|
8
|
|
9 This program is distributed in the hope that it will be useful,
|
|
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12 GNU General Public License for more details.
|
|
13
|
|
14 You should have received a copy of the GNU General Public License
|
|
15 along with this program. If not, see <http://www.gnu.org/licenses/>.-->
|
|
16 <tool id="rsat_compare_matrices" name="RSAT Compare Matrices" version="1.0">
|
|
17 <description>Comparison between two collections of position-specific scoring matrices</description>
|
|
18 <requirements>
|
37
|
19 <requirement type="package" version="0.6">python_suds</requirement>
|
23
|
20 </requirements>
|
|
21 <command interpreter="python">
|
|
22 compareMatrices_wrapper.py -matrix_1 $matrixFile_1 -format1 $matrix_format_1 -matrix_2 $matrixFile_2 -format2 $matrix_format_2 -outGalaxy $txtFile -server $server
|
|
23 #if $advanced_parameters.adv_param == "show":
|
|
24 #if $advanced_parameters.allReturn.all_return == "no":
|
|
25 -returnResults $advanced_parameters.allReturn.return
|
|
26 #else:
|
|
27 -returnResults all
|
|
28 #end if
|
|
29 #end if
|
|
30 </command>
|
|
31 <inputs>
|
|
32 <param name="server" type="select" label="RSAT server (if Time out error, change server)" >
|
|
33 <option value="fr_ens" selected="true">RSAT Protists</option>
|
|
34 <option value="fr_mrs" >RSAT Fungis</option>
|
|
35 <option value="fr_ro" >RSAT Metazoa</option>
|
|
36 <option value="fr_mrs_2" >RSAT Teaching</option>
|
|
37 <option value="es" >RSAT Plants</option>
|
|
38 <option value="mx" >RSAT Prokaryotes</option>
|
|
39 </param>
|
|
40 <param name="matrixFile_1" type="data" format="txt" label="Matrix (or matrices) (TXT file)" />
|
|
41 <param name="matrix_format_1" type="select" label="Matrix 1 format" help="" >
|
|
42 <option value="tab" selected="true">tab</option>
|
|
43 <option value="cb" >cb</option>
|
|
44 <option value="transfac" >transfac</option>
|
|
45 <option value="jaspar" >jaspar</option>
|
|
46 <option value="consensus" >consensus</option>
|
|
47 <option value="gibbs" >gibbs</option>
|
|
48 <option value="meme" >meme</option>
|
|
49 <option value="assembly" >assembly</option>
|
|
50 </param>
|
|
51 <param name="matrixFile_2" type="data" format="txt" label="Matrix (or matrices) (TXT file)" />
|
|
52 <param name="matrix_format_2" type="select" label="Matrix 2 format" help="" >
|
|
53 <option value="tab" selected="true">tab</option>
|
|
54 <option value="cb" >cb</option>
|
|
55 <option value="transfac" >transfac</option>
|
|
56 <option value="jaspar" >jaspar</option>
|
|
57 <option value="consensus" >consensus</option>
|
|
58 <option value="gibbs" >gibbs</option>
|
|
59 <option value="meme" >meme</option>
|
|
60 <option value="assembly" >assembly</option>
|
|
61 </param>
|
|
62 <conditional name="advanced_parameters" >
|
|
63 <param name="adv_param" type="select" label="Advanced Parameters" help="" >
|
|
64 <option value="hide" selected="true">Hide</option>
|
|
65 <option value="show">Show</option>
|
|
66 </param>
|
|
67 <when value="hide" />
|
|
68 <when value="show">
|
|
69 <conditional name="allReturn" >
|
|
70 <param name="all_return" type="select" label="All supported output fields, including all metrics" >
|
|
71 <option value="yes" selected="true">Yes</option>
|
|
72 <option value="no">No</option>
|
|
73 </param>
|
|
74 <when value="yes" />
|
|
75 <when value="no">
|
|
76 <param name="return" type="select" display="checkboxes" multiple="True" label="Fields to return">
|
|
77 <option value="offset">offset</option>
|
|
78 <option value="cor">cor</option>
|
|
79 <option value="Ncor" selected="true">Ncor</option>
|
|
80 <option value="cov">cov</option>
|
|
81 <option value="SSD">SSD</option>
|
|
82 <option value="NSW">NSW</option>
|
|
83 <option value="SW">SW</option>
|
|
84 <option value="dEucl">dEucl</option>
|
|
85 <option value="NdEucl">NdEucl</option>
|
|
86 <option value="NsEucl">NsEucl</option>
|
|
87 <option value="dKL">dKL</option>
|
|
88 <option value="matrix_number">matrix_number</option>
|
|
89 <option value="matrix_id">matrix_id</option>
|
|
90 <option value="matrix_name">matrix_name</option>
|
|
91 <option value="matrix_ac">matrix_ac</option>
|
|
92 <option value="width">width</option>
|
|
93 <option value="strand" selected="true">strand</option>
|
|
94 <option value="pos">pos</option>
|
|
95 <option value="consensus">consensus</option>
|
|
96 <option value="offset_rank">offset_rank</option>
|
|
97 <option value="match_rank">match_rank</option>
|
|
98 <option value="offset_rank">offset_rank</option>
|
|
99 <option value="alignments_pairwise">alignments_pairwise</option>
|
|
100 <option value="alignments_1ton">alignments_1ton</option>
|
|
101 <option value="alignments">alignments</option>
|
|
102 </param>
|
|
103 </when>
|
|
104 </conditional>
|
|
105 </when>
|
|
106 </conditional>
|
|
107 </inputs>
|
|
108 <outputs>
|
|
109 <data format="txt" name="txtFile" label="RSAT output - compareMatrices results" />
|
|
110 </outputs>
|
|
111 <help>
|
|
112
|
|
113 **What it does**
|
|
114
|
|
115 .. class:: infomark
|
|
116
|
|
117 Compare two collections of position-specific scoring matrices (PSSM), and return various similarity statistics + matrix alignments (pairwise, one-to-n).
|
|
118
|
|
119 </help>
|
|
120 <citations>
|
|
121 <citation type="bibtex">@article{Medina-Rivera22042015,
|
|
122 author = {Medina-Rivera, Alejandra and Defrance, Matthieu and Sand, Olivier and Herrmann, Carl and Castro-Mondragon, Jaime A. and Delerce, Jeremy and Jaeger, Sébastien and Blanchet, Christophe and Vincens, Pierre and Caron, Christophe and Staines, Daniel M. and Contreras-Moreira, Bruno and Artufel, Marie and Charbonnier-Khamvongsa, Lucie and Hernandez, Céline and Thieffry, Denis and Thomas-Chollier, Morgane and van Helden, Jacques},
|
|
123 title = {RSAT 2015: Regulatory Sequence Analysis Tools},
|
|
124 year = {2015},
|
|
125 doi = {10.1093/nar/gkv362},
|
|
126 URL = {http://nar.oxfordjournals.org/content/early/2015/04/21/nar.gkv362.abstract},
|
|
127 eprint = {http://nar.oxfordjournals.org/content/early/2015/04/21/nar.gkv362.full.pdf+html},
|
|
128 journal = {Nucleic Acids Research}
|
|
129 }</citation>
|
|
130 </citations>
|
|
131 </tool>
|