annotate execute_dwt_cor_aVa_perClass.xml @ 2:b87bbe6bc044 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
author devteam
date Mon, 06 Jul 2020 20:28:54 -0400
parents a0defff5cf89
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
1 <tool id="compute_p-values_correlation_coefficients_feature_occurrences_between_two_datasets_using_discrete_wavelet_transfom" name="Compute P-values and Correlation Coefficients for Feature Occurrences" version="1.0.1">
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
2 <description>between two datasets using Discrete Wavelet Transfoms</description>
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
3 <requirements>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
4 <requirement type="package" version="1.7.5">r-waveslim</requirement>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
5 <requirement type="package" version="4.6.8">r-wavethresh</requirement>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
6 </requirements>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
7 <command detect_errors="exit_code">
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
8 Rscript --vanilla '$__tool_directory__/execute_dwt_cor_aVa_perClass.R'
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
9 '$inputFile1'
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
10 '$inputFile2'
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
11 '$outputFile2'
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
12 '$outputFile1'
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
13 </command>
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
14 <inputs>
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
15 <param format="tabular" name="inputFile1" type="data" label="Select the first input file"/>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
16 <param format="tabular" name="inputFile2" type="data" label="Select the second input file"/>
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
17 </inputs>
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
18 <outputs>
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
19 <data format="tabular" name="outputFile1" label="${tool.name} on ${on_string}: statistics"/>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
20 <data format="pdf" name="outputFile2" label="${tool.name} on ${on_string}: pdf"/>
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
21 </outputs>
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
22 <tests>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
23 <test>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
24 <param ftype="tabular" name="inputFile1" value="in1.tsv"/>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
25 <param ftype="tabular" name="inputFile2" value="in2.tsv"/>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
26 <output name="outputFile1" ftype="tabular">
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
27 <assert_contents><has_line_matching expression="^translinTarget.*"/></assert_contents>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
28 <assert_contents><has_line_matching expression="^deletionHoptspot.*" /></assert_contents>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
29 </output>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
30 <output name="outputFile2" ftype="pdf" file="out2.pdf" compare="sim_size"/>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
31 </test>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
32 </tests>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
33 <help>
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
34 .. class:: infomark
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
35
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
36 **What it does**
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
37
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
38 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.
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
39
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
40 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.
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
41
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
42 The program has two input files obtained as follows:
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
43
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
44 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.
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
45
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
46 The program gives two output files:
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
47
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
48 - The first output file is a TABULAR format file representing the coefficient correlations and p-values for each feature at each scale.
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
49 - 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 correlation for that feature at every scale.
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
50
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
51 -----
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
52
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
53 .. class:: warningmark
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
54
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
55 **Note**
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
56
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
57 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.
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
58
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
59 -----
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
60
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
61 **Example**
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
62
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
63 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::
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
64
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
65 deletionHoptspot insertionHoptspot dnaPolPauseFrameshift topoisomeraseCleavageSite translinTarget
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
66 269 366 330 238 1129
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
67 239 328 327 283 1188
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
68 254 351 358 297 1151
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
69 262 371 355 256 1107
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
70 254 361 352 234 1192
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
71 265 354 367 240 1182
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
72 255 359 333 235 1217
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
73 271 389 387 272 1241
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
74 240 305 341 249 1159
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
75 272 351 337 257 1169
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
76 275 351 337 233 1158
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
77 305 331 361 253 1172
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
78 277 341 343 253 1113
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
79 266 362 355 267 1162
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
80 235 326 329 241 1230
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
81 254 335 360 251 1172
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
82
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
83 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::
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
84
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
85 deletionHoptspot insertionHoptspot dnaPolPauseFrameshift topoisomeraseCleavageSite translinTarget
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
86 104 146 142 113 478
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
87 89 146 151 94 495
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
88 100 176 151 88 435
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
89 96 163 128 114 468
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
90 99 138 144 91 513
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
91 112 126 162 106 468
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
92 86 127 145 83 491
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
93 104 145 171 110 496
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
94 91 121 147 104 469
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
95 103 141 145 98 458
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
96 92 134 142 117 468
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
97 97 146 145 107 471
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
98 115 121 136 109 470
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
99 113 135 138 101 491
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
100 111 150 138 102 451
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
101 94 128 151 138 481
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
102
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
103
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
104 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:
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
105
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
106 The first output file::
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
107
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
108 motif 1_cor 1_pval 2_cor 2_pval 3_cor 3_pval 4_cor 4_pval
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
109
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
110 deletionHoptspot 0.4 0.072 0.143 0.394 -0.667 0.244 1 0.491
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
111 insertionHoptspot 0.343 0.082 -0.0714 0.446 -1 0.12 1 0.502
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
112 dnaPolPauseFrameshift 0.617 0.004 -0.5 0.13 0.667 0.234 1 0.506
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
113 topoisomeraseCleavageSite -0.183 0.242 -0.286 0.256 0.333 0.353 -1 0.489
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
114 translinTarget 0.0167 0.503 -0.0714 0.469 1 0.136 1 0.485
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
115
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
116 The second output file:
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
117
1
a0defff5cf89 Uploaded tool help images.
devteam
parents: 0
diff changeset
118 .. image:: dwt_cor_aVa_1.png
a0defff5cf89 Uploaded tool help images.
devteam
parents: 0
diff changeset
119 .. image:: dwt_cor_aVa_2.png
a0defff5cf89 Uploaded tool help images.
devteam
parents: 0
diff changeset
120 .. image:: dwt_cor_aVa_3.png
a0defff5cf89 Uploaded tool help images.
devteam
parents: 0
diff changeset
121 .. image:: dwt_cor_aVa_4.png
a0defff5cf89 Uploaded tool help images.
devteam
parents: 0
diff changeset
122 .. image:: dwt_cor_aVa_5.png
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
123
2
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
124 </help>
b87bbe6bc044 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_cor_ava_perclass commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
devteam
parents: 1
diff changeset
125
0
6708501767b6 Imported from capsule None
devteam
parents:
diff changeset
126 </tool>