annotate MDSplot/mdsplot.xml @ 0:3e19d0dfcf3e draft

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:57:27 -0400
parents
children 420b57c3c185
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
1 <tool id="sniplay_mdsplot" name="MDS plot" version="1.1.1">
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
2
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
3 <!-- [REQUIRED] Tool description displayed after the tool name -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
4 <description> IBS matrix / multi-dimensional scaling</description>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
5
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
6 <!-- [OPTIONAL] 3rd party tools, binaries, modules... required for the tool to work -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
7 <requirements>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
8 <requirement type="binary">perl</requirement>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
9 <requirement type="package" version="0.1.13">plink</requirement>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
10 </requirements>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
11
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
12 <!-- [OPTIONAL] Command to be executed to get the tool's version string -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
13 <version_command>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
14 <!--
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
15 tool_binary -v
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
16 -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
17 </version_command>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
18
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
19 <!-- [REQUIRED] The command to execute -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
20 <command interpreter="bash">
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
21 mdsplot.sh $fileped $filemap $fileout_label $fileout_matrix $fileout_plot $fileout_log
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
22 </command>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
23
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
24 <!-- [REQUIRED] Input files and tool parameters -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
25 <inputs>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
26 <param name="fileped" type="data" format="txt" optional="false" label="PED input" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
27 <param name="filemap" type="data" format="txt" optional="false" label="MAP input" help="4 columns tabular file: chromosome, snp id, genetic distance, bp position"/>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
28 <param name="fileout_label" type="text" value="analyse" label="Output name" help="Output name for tabular files" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
29 </inputs>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
30
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
31 <!-- [REQUIRED] Output files -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
32 <outputs>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
33 <data name="fileout_matrix" type="data" format="tabular" label="${fileout_label}.ibs_matrix.txt" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
34 <data name="fileout_plot" type="data" format="tabular" label="${fileout_label}.mds_plot.txt" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
35 <data name="fileout_log" type="data" format="txt" label="${fileout_label}.log" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
36 </outputs>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
37
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
38 <!-- [STRONGLY RECOMMANDED] Exit code rules -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
39 <stdio>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
40 <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
41 <exit_code range="1:" level="fatal" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
42 </stdio>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
43
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
44 <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
45 <tests>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
46 <!-- [HELP] Test files have to be in the ~/test-data directory -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
47
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
48 <test>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
49 <param name="fileped" value="input.ped" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
50 <param name="filemap" value="input.map" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
51 <output name="fileout_matrix" file="output.ibs_matrix.txt" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
52 <output name="fileout_plot" file="output.mds_plot.txt" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
53 <output name="fileout_log" file="output.log" />
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
54 </test>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
55
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
56 <!-- [HELP] Multiple tests can be defined with different parameters -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
57 <!--
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
58 <test>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
59 </test>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
60 -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
61 </tests>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
62
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
63 <!-- [OPTIONAL] Help displayed in Galaxy -->
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
64 <help>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
65
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
66 .. class:: infomark
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
67
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
68 **Authors**
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
69
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
70 ---------------------------------------------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
71
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
72 .. class:: infomark
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
73
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
74 **Please cite** If you use this tool, please cite dereeper et al. 2015 in prep.
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
75
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
76 ---------------------------------------------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
77
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
78 ========
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
79 MDS plot
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
80 ========
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
81
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
82 -----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
83 Description
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
84 -----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
85
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
86 Compute an IBS matrix and a multi-dimensional scaling.
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
87
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
88
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
89 -----------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
90 Workflow position
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
91 -----------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
92
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
93 **Upstream tools**
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
94
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
95 =========== ========================== =======
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
96 Name output file(s) format
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
97 =========== ========================== =======
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
98 =========== ========================== =======
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
99
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
100
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
101 **Downstream tools**
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
102
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
103 =========== ========================== =======
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
104 Name output file(s) format
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
105 =========== ========================== =======
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
106 =========== ========================== =======
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
107
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
108
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
109 ----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
110 Input file
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
111 ----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
112
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
113 PED file
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
114
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
115 MAP file
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
116 4 columns tabular file: chromosome, snp id, genetic distance, bp position
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
117
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
118
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
119 ----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
120 Parameters
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
121 ----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
122
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
123 Output name
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
124 Output base name for the ouput files
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
125
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
126
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
127 ------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
128 Output files
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
129 ------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
130
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
131 Output_name.ibs_matrix.txt
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
132 Tabular file with IBS matrix
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
133
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
134 Output_name.mds_plot.txt
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
135 File to construct mds plot
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
136
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
137 Output_name.log
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
138 Log file
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
139
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
140
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
141 ---------------------------------------------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
142
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
143 ---------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
144 Working example
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
145 ---------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
146
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
147 Input files
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
148 ===========
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
149
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
150 PED file
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
151 -----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
152
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
153 ::
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
154
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
155 IRAT112 1 0 0 1 1 1 1 4 4 ...
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
156 IAC25 1 0 0 1 1 1 1 4 4 ...
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
157 CIRAD409 1 0 0 1 1 3 3 1 1 ...
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
158
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
159
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
160 MAP file
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
161 -----------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
162
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
163 ::
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
164
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
165 Chr1 Chr1:4299 0 4299
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
166 Chr1 Chr1:26710 0 26710
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
167 Chr1 Chr1:56184 0 56184
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
168 Chr1 Chr1:93272 0 93272
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
169
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
170
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
171
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
172 Parameters
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
173 ==========
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
174
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
175 Output name -> densities
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
176
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
177
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
178 Output files
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
179 ============
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
180
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
181 densities.ibs_matrix.txt
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
182 ------------------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
183
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
184 ::
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
185
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
186 Individuals IRAT112 IAC25 IAC165 KARASUKARASURANKASU DOURADOPRECOCE ...
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
187 IRAT112 1 0.93691 0.937407 0.734724 0.943368 ...
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
188 IAC25 0.93691 1 0.958768 0.723299 0.965723 ...
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
189
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
190
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
191 densities.mds_plot.txt
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
192 ----------------------
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
193
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
194 ::
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
195
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
196 IRAT112 -0.0969382 0.0376036
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
197 IAC25 -0.0918126 0.0501177
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
198
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
199
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
200
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
201 </help>
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
202
3e19d0dfcf3e Uploaded
dereeper
parents:
diff changeset
203 </tool>