1
|
1 <?xml version='1.1' encoding='utf-8'?>
|
|
2 <tool id="Matrix_Filters" name="Matrix Filters" version="2.1.12">
|
|
3 <description> rows or columns based on specified threshold</description>
|
|
4 <command interpreter="python">Matrix_Filters.py '$p_input' '$extra.choice' '$extra.thresh' '$axes' '$output_file'</command>
|
|
5 <inputs>
|
|
6 <param name="p_input" type="data" format="tabular" label="Input Matrix" />
|
|
7
|
|
8 <conditional name="extra">
|
|
9 <param name="choice" type="select" label="Choose Metric to Filter By">
|
|
10 <option value="LowerLimit">Remove row/column if any cell is less than threshold value</option>
|
|
11 <option value="UpperLimit">Remove row/column if any cell is greater than threshold value</option>
|
|
12 <option value="NANnumber">Remove row/column if number NAN cells exceeds threshold value </option>
|
|
13 <option value="NANpercent">Remove row/column if NAN cells exceeds threshold percent</option>
|
|
14 <option value="VarianceValue">Remove row/column if Variance is below threshold value</option>
|
|
15 <option value="VarianceCount">Remove row/column if Variance is not in top row/column count</option>
|
|
16 <option value="VariancePercent">Remove row/column if Variance is not in top percent</option>
|
|
17 <option value="MADcount">Remove row/column if Median Absolute Deviation (MAD) is not in top row/column count</option>
|
|
18 <option value="MADpercent">Remove row/column if Median Absolute Deviation (MAD) is not in top percent</option>
|
|
19 <!-- <option value="Covariance">Remove row/column if covariance exceeds threshold value</option>
|
|
20 <option value="Median">Remove row/column if Median is less than threshold value</option>
|
|
21 <option value="MADvalue">Remove row/column if Median Absolute Deviation (MAD) is below threshold value</option>
|
|
22 <option value="Mean">Remove row/column if Mean is less than threshold value</option>
|
|
23 <option value="Quantile">Remove row/column if less than Quantile_Cutoff</option>
|
|
24 <option value="GeneList">Keep only these genes</option>
|
|
25 <option value="Histogram">View filter histogram</option>
|
|
26 -->
|
|
27 </param>
|
|
28 <when value="LowerLimit">
|
|
29 <param name="thresh" type="float" size="5" value="0.01" label="Absolute minimum value" help="Lowest value allowed or row/col removed."/>
|
|
30 </when>
|
|
31 <when value="UpperLimit">
|
|
32 <param name="thresh" type="float" size="5" value="0.9" label="Absolute maximum value" help="Highest value allowed or row/col removed."/>
|
|
33 </when>
|
|
34 <when value="NANnumber">
|
|
35 <param name="thresh" type="float" size="5" value="50" label="Maximum number NANs" help="More NANs per row/col removed."/>
|
|
36 </when>
|
|
37 <when value="NANpercent">
|
|
38 <param name="thresh" type="float" size="5" value="20" label="Percent maximum" help="Above percent rows/cols removed."/>
|
|
39 </when>
|
|
40 <when value="Variance">
|
|
41 <param name="thresh" type="float" size="5" value="90" label="Percentile minimum" help="Below percentile rows/cols removed."/>
|
|
42 </when>
|
|
43 </conditional>
|
|
44 <!--
|
|
45 <param name="thresh" type="float" size="4" value=".05" label="Filter Threshold (Value above/below row/column will be Removed)" />
|
|
46 -->
|
|
47 <param name="axes" type="select" label="Choose Axes to Filter on (Rows or Columns)">
|
|
48 <option value="Row">Row</option>
|
|
49 <option value="Column">Column</option>
|
|
50 </param>
|
|
51
|
|
52
|
|
53 </inputs>
|
|
54 <outputs>
|
|
55 <data name="output_file" format="tabular" />
|
|
56 </outputs>
|
|
57
|
|
58 </tool> |