comparison execute_dwt_var_perFeature.xml @ 0:d56c5d2e1a29 draft

Imported from capsule None
author devteam
date Mon, 27 Jan 2014 09:26:33 -0500
parents
children cb1c59d69557
comparison
equal deleted inserted replaced
-1:000000000000 0:d56c5d2e1a29
1 <tool id="dwt_var1" name="Wavelet variance" version="1.0.0">
2 <description>using Discrete Wavelet Transfoms</description>
3
4 <command interpreter="perl">
5 execute_dwt_var_perFeature.pl $inputFile $feature $alpha $outputFile1 $outputFile2
6 </command>
7
8 <inputs>
9 <param format="tabular" name="inputFile" type="data" label="Select data"/>
10 <param name="feature" label="Feature column" type="data_column" data_ref="inputFile" multiple="true" help="Please select at least one column"/>
11 <param name="alpha" size="10" type="float" value="0.05" label="alpha (significance level)" />
12 </inputs>
13
14 <outputs>
15 <data format="tabular" name="outputFile1"/>
16 <data format="pdf" name="outputFile2"/>
17 </outputs>
18 <tests>
19 <test>
20 <param name="inputFile" value="discreteWavelet/dwt_var1/dwt_var_in.interval"/>
21 <param name="feature" value="4"/>
22 <param name="alpha" value="0.05"/>
23 <output name="outputFile1" file="discreteWavelet/dwt_var1/dwt_var_out1.tabular" compare="re_match"/>
24 <output name="outputFile2" file="discreteWavelet/dwt_var1/dwt_var_out2.pdf" compare="sim_size"/>
25 </test>
26 </tests>
27
28 <help>
29
30 .. class:: infomark
31
32 **What it does**
33
34 This tool computes the scale-specific variance in wavelet coeffients obtained from the discrete wavelet transform of a feature of interest.
35
36 Input data consists of an ordered series of data, S, equispaced and of sample size N, where N is of the form N = 2^k, and k is a positive integer and represents the number of levels of wavelet decomposition. S could be a time series, or a set of DNA sequences. The user calculates a statistic of interest for each feature in each interval of S: say, expression level of a particular gene in a time course, or the number of LINE elements per window across a chromosome. This tool then performs a discrete wavelet transform of the feature of interest, and plots the resulting variance in wavelet coefficients per wavelet scale. In addition, statistical significance of variances are determined by 1,000 random permutations of the intervals in S, to generate null bands (representing the user provided alpha value) corresponding to the empirical distribution of wavelet variances under the null hypothesis of no inherent order to the series in S.
37
38 This tool generates two output files:
39
40 - The first output file is a TABULAR format file representing the variances, p-values, and test orientation for the features at each wavelet scale based on a random permutation test.
41 - The second output file is a PDF image plotting the wavelet variances of each feature at each scale.
42
43 -----
44
45 .. class:: warningmark
46
47 **Note**
48 In order to obtain empirical p-values, a random perumtation scheme is implemented by the tool, such that the output may generate slightly variations in results each time it is run on the same input file.
49
50 -----
51
52
53 **Example**
54
55 </help>
56
57 </tool>