annotate execute_dwt_cor_aVb_all.xml @ 2:e01e8a9a82f4 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
author devteam
date Mon, 06 Jul 2020 20:31:38 -0400
parents 8564f6927b87
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
1 <tool id="compute_p-values_correlation_coefficients_featureA_featureB_occurrences_between_two_datasets_using_discrete_wavelet_transfom" name="Compute P-values and Correlation Coefficients for Occurrences of Two Set of Features" version="1.0.1">
0
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
2 <description>between two datasets using Discrete Wavelet Transfoms</description>
2
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
3 <requirements>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
4 <requirement type="package" version="1.7.5">r-waveslim</requirement>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
5 <requirement type="package" version="4.6.8">r-wavethresh</requirement>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
6 </requirements>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
7 <command detect_errors="exit_code">
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
8 Rscript --vanilla '$__tool_directory__/execute_dwt_cor_aVb_all.R'
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
9 '$inputFile1'
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
10 '$inputFile2'
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
11 '$outputFile2'
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
12 '$outputFile1'
0
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
13 </command>
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
14 <inputs>
2
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
15 <param format="tabular" name="inputFile1" type="data" label="Select the first input file"/>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
16 <param format="tabular" name="inputFile2" type="data" label="Select the second input file"/>
0
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
17 </inputs>
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
18 <outputs>
2
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
19 <data format="tabular" name="outputFile1" label="${tool.name} on ${on_string}: statistics"/>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
20 <data format="pdf" name="outputFile2" label="${tool.name} on ${on_string}: pdf"/>
0
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
21 </outputs>
2
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
22 <tests>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
23 <test>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
24 <param ftype="tabular" name="inputFile1" value="in1.tsv"/>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
25 <param ftype="tabular" name="inputFile2" value="in2.tsv"/>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
26 <output name="outputFile1" ftype="tabular">
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
27 <assert_contents><has_line_matching expression="^motif1\tmotif2.*"/></assert_contents>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
28 <assert_contents><has_line_matching expression="^topoisomeraseCleavageSite\ttranslinTarget.*" /></assert_contents>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
29 </output>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
30 <output name="outputFile2" ftype="pdf" file="out2.pdf" compare="sim_size"/>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
31 </test>
e01e8a9a82f4 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_avb_all commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
32 </tests>
0
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
33 <help>
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
34
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
35 .. class:: infomark
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
36
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
37 **What it does**
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
38
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
39 This program generates plots and computes table matrix of coefficient correlations and p-values at multiple scales for the correlation between the occurrences of features in one dataset and their occurrences in another using multiscale wavelet analysis technique.
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
40
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
41 The program assumes that the user has two sets of DNA sequences, S1 and S1, each of which consists of one or more sequences of equal length. Each sequence in each set is divided into the same number of multiple intervals n such that n = 2^k, where k is a positive integer and k >= 1. Thus, n could be any value of the set {2, 4, 8, 16, 32, 64, 128, ...}. k represents the number of scales.
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
42
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
43 The program has two input files obtained as follows:
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
44
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
45 For a given set of features, say motifs, the user counts the number of occurrences of each feature in each interval of each sequence in S1 and S1, and builds two tabular files representing the count results in each interval of S1 and S1. These are the input files of the program.
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
46
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
47 The program gives two output files:
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
48
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
49 - The first output file is a TABULAR format file representing the coefficient correlations and p-values for each feature at each scale.
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
50 - The second output file is a PDF file consisting of as many figures as the number of features, such that each figure represents the values of the coefficient correlations for that feature at every scale.
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
51
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
52 -----
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
53
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
54 .. class:: warningmark
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
55
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
56 **Note**
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
57
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
58 In order to obtain empirical p-values, a random perumtation test is implemented by the program, which results in the fact that the program gives slightly different results each time it is run on the same input file.
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
59
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
60 -----
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
61
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
62 **Example**
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
63
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
64 Counting the occurrences of 5 features (motifs) in 16 intervals (one line per interval) of the DNA sequences in S1 gives the following tabular file::
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
65
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
66 deletionHoptspot insertionHoptspot dnaPolPauseFrameshift topoisomeraseCleavageSite translinTarget
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
67 82 162 158 79 459
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
68 111 196 154 75 459
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
69 98 178 160 79 475
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
70 113 201 170 113 436
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
71 113 173 147 95 446
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
72 107 150 155 84 436
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
73 106 166 175 96 448
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
74 113 176 135 106 514
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
75 113 170 152 87 450
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
76 95 152 167 93 467
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
77 91 171 169 118 426
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
78 84 139 160 100 459
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
79 92 154 164 104 440
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
80 100 145 154 98 472
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
81 91 161 152 71 461
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
82 117 164 139 97 463
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
83
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
84 And counting the occurrences of 5 features (motifs) in 16 intervals (one line per interval) of the DNA sequences in S2 gives the following tabular file::
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
85
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
86 deletionHoptspot insertionHoptspot dnaPolPauseFrameshift topoisomeraseCleavageSite translinTarget
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
87 269 366 330 238 1129
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
88 239 328 327 283 1188
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
89 254 351 358 297 1151
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
90 262 371 355 256 1107
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
91 254 361 352 234 1192
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
92 265 354 367 240 1182
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
93 255 359 333 235 1217
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
94 271 389 387 272 1241
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
95 240 305 341 249 1159
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
96 272 351 337 257 1169
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
97 275 351 337 233 1158
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
98 305 331 361 253 1172
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
99 277 341 343 253 1113
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
100 266 362 355 267 1162
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
101 235 326 329 241 1230
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
102 254 335 360 251 1172
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
103
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
104
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
105 We notice that the number of scales here is 4 because 16 = 2^4. Running the program on the above input files gives the following output:
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
106
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
107 The first output file::
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
108
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
109 motif1 motif2 1_cor 1_pval 2_cor 2_pval 3_cor 3_pval 4_cor 4_pval
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
110
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
111 deletionHoptspot insertionHoptspot -0.1 0.346 -0.214 0.338 1 0.127 1 0.467
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
112 deletionHoptspot dnaPolPauseFrameshift 0.167 0.267 -0.214 0.334 1 0.122 1 0.511
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
113 deletionHoptspot topoisomeraseCleavageSite 0.167 0.277 0.143 0.412 -0.667 0.243 1 0.521
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
114 deletionHoptspot translinTarget 0 0.505 0.0714 0.441 1 0.124 1 0.518
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
115 insertionHoptspot dnaPolPauseFrameshift -0.202 0.238 0.143 0.379 -1 0.122 1 0.517
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
116 insertionHoptspot topoisomeraseCleavageSite -0.0336 0.457 0.214 0.29 0.667 0.252 1 0.503
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
117 insertionHoptspot translinTarget 0.0672 0.389 0.429 0.186 -1 0.119 1 0.506
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
118 dnaPolPauseFrameshift topoisomeraseCleavageSite -0.353 0.101 0.357 0.228 0 0.612 -1 0.49
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
119 dnaPolPauseFrameshift translinTarget -0.151 0.303 -0.571 0.09 -0.333 0.37 -1 1
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
120 topoisomeraseCleavageSite translinTarget -0.37 0.077 -0.222 0.297 0.667 0.234 -1 0.471
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
121
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
122 The second output file:
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
123
1
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
124 .. image:: dwt_cor_aVb_all_1.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
125 .. image:: dwt_cor_aVb_all_2.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
126 .. image:: dwt_cor_aVb_all_3.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
127 .. image:: dwt_cor_aVb_all_4.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
128 .. image:: dwt_cor_aVb_all_5.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
129 .. image:: dwt_cor_aVb_all_6.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
130 .. image:: dwt_cor_aVb_all_7.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
131 .. image:: dwt_cor_aVb_all_8.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
132 .. image:: dwt_cor_aVb_all_9.png
8564f6927b87 Uploaded tool help images.
devteam
parents: 0
diff changeset
133 .. image:: dwt_cor_aVb_all_10.png
0
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
134
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
135
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
136 </help>
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
137
0f2eda4ea8dc Imported from capsule None
devteam
parents:
diff changeset
138 </tool>