5
|
1 <tool id="sniplay_mdsplot" name="MDS plot" version="1.2.0">
|
3
|
2
|
|
3 <!-- [REQUIRED] Tool description displayed after the tool name -->
|
|
4 <description> IBS matrix / multi-dimensional scaling</description>
|
|
5
|
|
6 <!-- [OPTIONAL] 3rd party tools, binaries, modules... required for the tool to work -->
|
|
7 <requirements>
|
|
8 <requirement type="binary">perl</requirement>
|
8
|
9 <requirement type="package" version="1.6.924">perl-bioperl</requirement>
|
|
10 <requirement type="package" version="1.90b4">plink</requirement>
|
3
|
11 </requirements>
|
4
|
12
|
|
13 <!-- [STRONGLY RECOMMANDED] Exit code rules -->
|
|
14 <stdio>
|
|
15 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
|
|
16 <exit_code range="1:" level="fatal" />
|
|
17 </stdio>
|
|
18
|
3
|
19
|
|
20 <!-- [OPTIONAL] Command to be executed to get the tool's version string -->
|
|
21 <version_command>
|
|
22 <!--
|
|
23 tool_binary -v
|
|
24 -->
|
|
25 </version_command>
|
|
26
|
|
27 <!-- [REQUIRED] The command to execute -->
|
|
28 <command interpreter="bash">
|
8
|
29 mdsplot.sh $fileped $filemap $fileout_matrix $fileout_plot $fileout_log $groups
|
3
|
30 </command>
|
|
31
|
|
32 <!-- [REQUIRED] Input files and tool parameters -->
|
|
33 <inputs>
|
|
34 <param name="fileped" type="data" format="txt" optional="false" label="PED input" />
|
|
35 <param name="filemap" type="data" format="txt" optional="false" label="MAP input" help="4 columns tabular file: chromosome, snp id, genetic distance, bp position"/>
|
8
|
36 <param name="groups" type="data" format="txt" optional="true" label="Groups" help="Groups defined by sNMF"/>
|
3
|
37 <param name="fileout_label" type="text" value="analyse" label="Output name" help="Output name for tabular files" />
|
|
38 </inputs>
|
|
39
|
|
40 <!-- [REQUIRED] Output files -->
|
|
41 <outputs>
|
5
|
42 <data name="fileout_matrix" type="data" format="txt" label="${fileout_label}.ibs_matrix.txt" />
|
|
43 <data name="fileout_plot" type="data" format="txt" label="${fileout_label}.mds_plot.txt" />
|
3
|
44 <data name="fileout_log" type="data" format="txt" label="${fileout_label}.log" />
|
|
45 </outputs>
|
|
46
|
|
47 <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin -->
|
|
48 <tests>
|
|
49 <!-- [HELP] Test files have to be in the ~/test-data directory -->
|
|
50
|
|
51 <test>
|
4
|
52 <param name="fileped" value="MDSplot-input.ped" />
|
|
53 <param name="filemap" value="MDSplot-input.map" />
|
|
54 <output name="fileout_matrix" file="MDSplot-output.ibs_matrix.txt" />
|
|
55 <output name="fileout_plot" file="MDSplot-output.mds_plot.txt" />
|
3
|
56 </test>
|
|
57
|
|
58 <!-- [HELP] Multiple tests can be defined with different parameters -->
|
|
59 <!--
|
|
60 <test>
|
|
61 </test>
|
|
62 -->
|
|
63 </tests>
|
|
64
|
|
65 <!-- [OPTIONAL] Help displayed in Galaxy -->
|
|
66 <help>
|
|
67
|
|
68
|
|
69 .. class:: infomark
|
|
70
|
|
71 **Authors** plink_
|
|
72
|
|
73 .. _plink: http://pngu.mgh.harvard.edu/purcell/plink/
|
|
74
|
|
75 | "PLINK: a toolset for whole-genome association and population-based linkage analysis.", **Purcell S, Neale B, Todd-Brown K, Thomas L, Ferreira MAR, Bender D, Maller J, Sklar P, de Bakker PIW, Daly MJ, Sham PC.**, American Journal of Human Genetics, 81, 2007.
|
|
76
|
|
77
|
|
78 .. class:: infomark
|
|
79
|
|
80 **Galaxy integration** Andres Gwendoline, Institut Français de Bioinformatique.
|
|
81
|
|
82 .. class:: infomark
|
|
83
|
|
84 **Support** For any questions about Galaxy integration, please send an e-mail to support.abims@sb-roscoff.fr
|
|
85
|
|
86 .. class:: infomark
|
|
87
|
|
88 **Please cite** "SNiPlay3: a web-based application for exploration and large scale analyses of genomic variations", **Dereeper A. et al.**, Nucl. Acids Res. (1 july 2015) 43 (W1).
|
|
89
|
|
90 ---------------------------------------------------
|
|
91
|
|
92
|
|
93
|
|
94 ========
|
|
95 MDS plot
|
|
96 ========
|
|
97
|
|
98 -----------
|
|
99 Description
|
|
100 -----------
|
|
101
|
|
102 Compute an IBS matrix and a multi-dimensional scaling.
|
|
103
|
|
104
|
|
105 -----------------
|
|
106 Workflow position
|
|
107 -----------------
|
|
108
|
|
109 **Upstream tool**
|
|
110
|
|
111 =============== ========================== ===============
|
|
112 Name output file(s) format
|
|
113 =============== ========================== ===============
|
|
114 VCFtools Filter PED and MAP file tabular and MAP
|
|
115 =============== ========================== ===============
|
|
116
|
|
117
|
|
118
|
|
119 ----------
|
|
120 Input file
|
|
121 ----------
|
|
122
|
|
123 PED file
|
|
124
|
|
125 MAP file
|
|
126 4 columns tabular file: chromosome, snp id, genetic distance, bp position
|
|
127
|
|
128
|
|
129 ----------
|
|
130 Parameters
|
|
131 ----------
|
|
132
|
|
133 Output name
|
|
134 Output base name for the ouput files
|
|
135
|
|
136
|
|
137 ------------
|
|
138 Output files
|
|
139 ------------
|
|
140
|
|
141 Output_name.ibs_matrix.txt
|
|
142 Tabular file with IBS matrix
|
|
143
|
|
144 Output_name.mds_plot.txt
|
|
145 File to construct mds plot
|
|
146
|
|
147 Output_name.log
|
|
148 Log file
|
|
149
|
|
150 ------------
|
|
151 Dependencies
|
|
152 ------------
|
|
153 plink
|
|
154 version 1.07
|
|
155
|
|
156 ---------------------------------------------------
|
|
157
|
|
158 ---------------
|
|
159 Working example
|
|
160 ---------------
|
|
161
|
|
162 Input files
|
|
163 ===========
|
|
164
|
|
165 PED file
|
|
166 -----------
|
|
167
|
|
168 ::
|
|
169
|
|
170 IRAT112 1 0 0 1 1 1 1 4 4 ...
|
|
171 IAC25 1 0 0 1 1 1 1 4 4 ...
|
|
172 CIRAD409 1 0 0 1 1 3 3 1 1 ...
|
|
173
|
|
174
|
|
175 MAP file
|
|
176 -----------
|
|
177
|
|
178 ::
|
|
179
|
|
180 Chr1 Chr1:4299 0 4299
|
|
181 Chr1 Chr1:26710 0 26710
|
|
182 Chr1 Chr1:56184 0 56184
|
|
183 Chr1 Chr1:93272 0 93272
|
|
184
|
|
185
|
|
186
|
|
187 Parameters
|
|
188 ==========
|
|
189
|
|
190 Output name -> densities
|
|
191
|
|
192
|
|
193 Output files
|
|
194 ============
|
|
195
|
|
196 densities.ibs_matrix.txt
|
|
197 ------------------------
|
|
198
|
|
199 ::
|
|
200
|
|
201 Individuals IRAT112 IAC25 IAC165 KARASUKARASURANKASU DOURADOPRECOCE ...
|
|
202 IRAT112 1 0.93691 0.937407 0.734724 0.943368 ...
|
|
203 IAC25 0.93691 1 0.958768 0.723299 0.965723 ...
|
|
204
|
|
205
|
|
206 densities.mds_plot.txt
|
|
207 ----------------------
|
|
208
|
|
209 ::
|
|
210
|
|
211 IRAT112 -0.0969382 0.0376036
|
|
212 IAC25 -0.0918126 0.0501177
|
|
213
|
|
214
|
|
215
|
|
216 </help>
|
|
217 <citations>
|
|
218 <!-- [HELP] As DOI or BibTex entry -->
|
|
219 <citation type="bibtex">@article{Dereeper03062015,
|
|
220 author = {Dereeper, Alexis and Homa, Felix and Andres, Gwendoline and Sempere, Guilhem and Sarah, Gautier and Hueber, Yann and Dufayard, Jean-François and Ruiz, Manuel},
|
|
221 title = {SNiPlay3: a web-based application for exploration and large scale analyses of genomic variations},
|
|
222 year = {2015},
|
|
223 doi = {10.1093/nar/gkv351},
|
|
224 abstract ={SNiPlay is a web-based tool for detection, management and analysis of genetic variants including both single nucleotide polymorphisms (SNPs) and InDels. Version 3 now extends functionalities in order to easily manage and exploit SNPs derived from next generation sequencing technologies, such as GBS (genotyping by sequencing), WGRS (whole gre-sequencing) and RNA-Seq technologies. Based on the standard VCF (variant call format) format, the application offers an intuitive interface for filtering and comparing polymorphisms using user-defined sets of individuals and then establishing a reliable genotyping data matrix for further analyses. Namely, in addition to the various scaled-up analyses allowed by the application (genomic annotation of SNP, diversity analysis, haplotype reconstruction and network, linkage disequilibrium), SNiPlay3 proposes new modules for GWAS (genome-wide association studies), population stratification, distance tree analysis and visualization of SNP density. Additionally, we developed a suite of Galaxy wrappers for each step of the SNiPlay3 process, so that the complete pipeline can also be deployed on a Galaxy instance using the Galaxy ToolShed procedure and then be computed as a Galaxy workflow. SNiPlay is accessible at http://sniplay.southgreen.fr.},
|
|
225 URL = {http://nar.oxfordjournals.org/content/early/2015/06/03/nar.gkv351.abstract},
|
|
226 eprint = {http://nar.oxfordjournals.org/content/early/2015/06/03/nar.gkv351.full.pdf+html},
|
|
227 journal = {Nucleic Acids Research}
|
|
228 }
|
|
229
|
|
230 </citation>
|
|
231
|
|
232 </citations>
|
|
233
|
|
234 </tool>
|