|
0
|
1 <tool id="EBGeneTwoCondTest" name="Gene level DE test across two conditions" version="1.0.1">
|
|
|
2 <description>Runs EBSeq to find DE genes across two conditions</description>
|
|
|
3
|
|
|
4 <macros>
|
|
|
5 <import>macros.xml</import>
|
|
|
6 </macros>
|
|
|
7
|
|
|
8 <expand macro="requirements"/>
|
|
|
9 <expand macro="stdio"/>
|
|
|
10
|
|
|
11 <command>R --quiet --slave --file=$__tool_directory__/EBGeneTwoCondTest.R --args $Gene_Expression $First_Row_Sample_Names $Conditions $Target_FDR $Output $Sorted_Output $Sorted_Output_with_target_FDR $Sizes 1>NUL 2>NUL</command>
|
|
|
12 <inputs>
|
|
|
13 <param name="Gene_Expression" type="data" format="tabular" label="Gene Expression (tab delimited, please use the unnormalized values, e.g. expected counts from RSEM)"/>
|
|
|
14 <param name="First_Row_Sample_Names" type="select" format="text">
|
|
|
15 <label>The First Row is Sample Names?</label>
|
|
|
16 <option value="y">Yes</option>
|
|
|
17 <option value="n">No</option>
|
|
|
18 </param>
|
|
|
19 <param name="Conditions" type="text" size="60" value="C1,C2" label="Enter which condition each
|
|
|
20 sample belongs to (separated by comma, no space please)."
|
|
|
21 help="Sample with condition that comes first alphabetically will be in numerator (C1 relative to C2)."/>
|
|
|
22 <param name="Target_FDR" type="text" format="tabular" value="0.05" label="Target FDR"
|
|
|
23 />
|
|
|
24 </inputs>
|
|
|
25 <outputs>
|
|
|
26 <data format="tabular" name="Output" label="Output"/>
|
|
|
27 <data format="tabular" name="Sorted_Output" label="Output sorted by PPDE"/>
|
|
|
28 <data format="tabular" name="Sorted_Output_with_target_FDR" label="Sorted output with FDR cutoff"/>
|
|
|
29 <data format="tabular" name="Sizes" label="Normalization factors"/>
|
|
|
30 </outputs>
|
|
|
31
|
|
|
32 <help>
|
|
|
33 The input Conditions should have exactly two levels. The length of the Condition vector should be exactly the same as the number of
|
|
|
34 columns in the data file (except the gene names column).
|
|
|
35
|
|
|
36 Four output files will be generated. Each of the first 3 files contains Posterior probability of being
|
|
|
37 DE (PPDE), Fold Change (RealFC), Posterior Fold Change (PostFC) and normalized gene expressions.
|
|
|
38 The Four files are:
|
|
|
39 Genes with the same order as in input file;
|
|
|
40 Genes sorted by PPDE; DE Genes under target FDR (PPDE>=TargetFDR)
|
|
|
41 and sorted by PPDE;
|
|
|
42 Library size factor for each sample.
|
|
|
43
|
|
|
44 </help>
|
|
|
45
|
|
|
46 <expand macro="citation" />
|
|
|
47
|
|
|
48 </tool>
|