annotate tools/discreteWavelet/execute_dwt_var_perClass.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="compute_p-values_max_variances_feature_occurrences_in_one_dataset_using_discrete_wavelet_transfom" name="Compute P-values and Max Variances for Feature Occurrences" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>in one dataset using Discrete Wavelet Transfoms</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <command interpreter="perl">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 execute_dwt_var_perClass.pl $inputFile $outputFile1 $outputFile2 $outputFile3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <param format="tabular" name="inputFile" type="data" label="Select the input file"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <data format="tabular" name="outputFile1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <data format="tabular" name="outputFile2"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <data format="pdf" name="outputFile3"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 .. class:: infomark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 This program generates plots and computes table matrix of maximum variances, p-values, and test orientations at multiple scales for the occurrences of a class of features in one dataset of DNA sequences using multiscale wavelet analysis technique.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 The program assumes that the user has one set of DNA sequences, S, which consists of one or more sequences of equal length. Each sequence in S 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.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 The program has one input file obtained as follows:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 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 S, and builds a tabular file representing the count results in each interval of S. This is the input file of the program.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 The program gives three output files:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 - The first output file is a TABULAR format file giving the scales at which each features has a maximum variances.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 - The second output file is a TABULAR format file representing the variances, p-values, and test orientation for the occurrences of features at each scale based on a random permutation test and using multiscale wavelet analysis technique.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 - The third output file is a PDF file plotting the wavelet variances of each feature at each scale.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 **Note**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 - If the number of features is greater than 12, the program will divide each output file into subfiles, such that each subfile represents the results of a group of 12 features except the last subfile that will represents the results of the rest. For example, if the number of features is 17, the p-values file will consists of two subfiles, the first for the features 1-12 and the second for the features 13-17. As for the PDF file, it will consists of two pages in this case.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 - 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.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 Counting the occurrences of 8 features (motifs) in 16 intervals (one line per interval) of set of DNA sequences in S gives the following tabular file::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 deletionHoptspot insertionHoptspot dnaPolPauseFrameshift indelHotspot topoisomeraseCleavageSite translinTarget vDjRecombinationSignal x-likeSite
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 226 403 416 221 1165 832 749 1056
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 236 444 380 241 1223 746 782 1207
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 242 496 391 195 1116 643 770 1219
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 243 429 364 191 1118 694 783 1223
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 244 410 371 236 1063 692 805 1233
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 230 386 370 217 1087 657 787 1215
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 275 404 402 214 1044 697 831 1188
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 265 443 365 231 1086 694 782 1184
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 255 390 354 246 1114 642 773 1176
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 281 384 406 232 1102 719 787 1191
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 263 459 369 251 1135 643 810 1215
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 280 433 400 251 1159 701 777 1151
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 278 385 382 231 1147 697 707 1161
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 248 393 389 211 1162 723 759 1183
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 251 403 385 246 1114 752 776 1153
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 239 383 347 227 1172 759 789 1141
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 We notice that the number of scales here is 4 because 16 = 2^4. Runnig the program on the above input file gives the following 3 output files:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 The first output file::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 motifs max_var at scale
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 deletionHoptspot NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 insertionHoptspot NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 dnaPolPauseFrameshift NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 indelHotspot NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 topoisomeraseCleavageSite 3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 translinTarget NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 vDjRecombinationSignal NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 x.likeSite NA
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 The second output file::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 motif 1_var 1_pval 1_test 2_var 2_pval 2_test 3_var 3_pval 3_test 4_var 4_pval 4_test
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 deletionHoptspot 0.457 0.048 L 1.18 0.334 R 1.61 0.194 R 3.41 0.055 R
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 insertionHoptspot 0.556 0.109 L 1.34 0.272 R 1.59 0.223 R 2.02 0.157 R
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 dnaPolPauseFrameshift 1.42 0.089 R 0.66 0.331 L 0.421 0.305 L 0.121 0.268 L
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 indelHotspot 0.373 0.021 L 1.36 0.254 R 1.24 0.301 R 4.09 0.047 R
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 topoisomeraseCleavageSite 0.305 0.002 L 0.936 0.489 R 3.78 0.01 R 1.25 0.272 R
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95 translinTarget 0.525 0.061 L 1.69 0.11 R 2.02 0.131 R 0.00891 0.069 L
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96 vDjRecombinationSignal 0.68 0.138 L 0.957 0.46 R 2.35 0.071 R 1.03 0.357 R
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97 x.likeSite 0.928 0.402 L 1.33 0.261 R 0.735 0.431 L 0.783 0.422 R
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99 The third output file:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 .. image:: ./static/operation_icons/dwt_var_perClass.png
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 </tool>