|
39 | 39 | <inputs> |
40 | 40 | <param name="primus" argument="--samples" type="data" format="bed,gff" label="First set of peaks in GFF or BED format" /> |
41 | 41 | <param name="secundus" argument="--samples" type="data" format="bed,gff" label="Second set of peaks in GFF or BED format" /> |
42 | | - <param name="peak_list" argument="--peak-list" type="data" format="bed,gff" optional="True" label="List of peaks to filter by" /> |
43 | | - <param name="input_file_type" argument="--input-file-type" type="select" label="Input BED format" help="This option is ignored if the input file is GFF"> |
| 42 | + <param argument="--peak-list" type="data" format="bed,gff" optional="True" label="List of peaks to filter by" /> |
| 43 | + <param argument="--input-file-type" type="select" label="Input BED format" help="This option is ignored if the input file is GFF"> |
44 | 44 | <option value="" selected="true">Vanilla BED</option> |
45 | 45 | <option value="gff">GFF</option> |
46 | 46 | <option value="broadPeak">ENCODE broadPeak</option> |
|
52 | 52 | <option value="p.value">p value</option> |
53 | 53 | <option value="q.value">q value</option> |
54 | 54 | </param> |
55 | | - <param name="idr_threshold" argument="--idr-threshold" type="float" optional="true" value="" /> |
56 | | - <param name="soft_idr_threshold" argument="--soft-idr-threshold" type="float" value="0.05" /> |
| 55 | + <param argument="--idr-threshold" type="float" optional="true" value="" /> |
| 56 | + <param argument="--soft-idr-threshold" type="float" value="0.05" /> |
57 | 57 | <param argument="--plot" type="boolean" truevalue="--plot" falsevalue="" label="Output PNG plot of peaks" /> |
58 | | - <param name="use_nonoverlapping_peaks" argument="--use-nonoverlapping-peaks" type="boolean" truevalue="--use-nonoverlapping-peaks" falsevalue="" label="Use peaks without an overlapping match and set the value to 0" /> |
59 | | - <param name="peak_merge_method" argument="--peak-merge-method" type="select" label="Method to use for merging peaks"> |
| 58 | + <param argument="--use-nonoverlapping-peaks" type="boolean" truevalue="--use-nonoverlapping-peaks" falsevalue="" label="Use peaks without an overlapping match and set the value to 0" /> |
| 59 | + <param argument="--peak-merge-method" type="select" label="Method to use for merging peaks"> |
60 | 60 | <option value="sum">Sum</option> |
61 | 61 | <option value="avg">Average</option> |
62 | 62 | <option value="min">Min</option> |
63 | 63 | <option value="max">Max</option> |
64 | 64 | </param> |
65 | | - <param name="initial_mu" argument="--initial-mu" type="float" value="0.1" label="Initial value of mu" /> |
66 | | - <param name="initial_sigma" argument="--initial-sigma" type="float" value="1.0" label="Initial value of sigma" /> |
67 | | - <param name="initial_rho" argument="--initial-rho" type="float" value="0.2" label="Initial value of rho" /> |
68 | | - <param name="initial_mix_param" argument="--initial-mix-param" type="float" value="0.5" label="Initial value of the mixture parameters" /> |
69 | | - <param name="fix_mu" argument="--fix-mu" type="boolean" truevalue="--fix-mu" falsevalue="" label="Fix mu to the starting point and do not let it vary" /> |
70 | | - <param name="fix_sigma" argument="--fix-sigma" type="boolean" truevalue="--fix-sigma" falsevalue="" label="Fix sigma to the starting point and do not let it vary" /> |
71 | | - <param name="dont_filter_peaks_below_noise_mean" argument="--dont-filter-peaks-below-noise-mean" type="boolean" truevalue="--dont-filter-peaks-below-noise-mean" falsevalue="" label="Allow signal points that are below the noise mean" /> |
| 65 | + <param argument="--initial-mu" type="float" value="0.1" label="Initial value of mu" /> |
| 66 | + <param argument="--initial-sigma" type="float" value="1.0" label="Initial value of sigma" /> |
| 67 | + <param argument="--initial-rho" type="float" value="0.2" label="Initial value of rho" /> |
| 68 | + <param argument="--initial-mix-param" type="float" value="0.5" label="Initial value of the mixture parameters" /> |
| 69 | + <param argument="--fix-mu" type="boolean" truevalue="--fix-mu" falsevalue="" label="Fix mu to the starting point and do not let it vary" /> |
| 70 | + <param argument="--fix-sigma" type="boolean" truevalue="--fix-sigma" falsevalue="" label="Fix sigma to the starting point and do not let it vary" /> |
| 71 | + <param argument="--dont-filter-peaks-below-noise-mean" type="boolean" truevalue="--dont-filter-peaks-below-noise-mean" falsevalue="" label="Allow signal points that are below the noise mean" /> |
72 | 72 | <param name="use_best_multisummit_idr" argument="--use-best-multisummit-IDR" type="boolean" truevalue="--use-best-multisummit-IDR" falsevalue="" label="Set the IDR value for a group of multi summit peaks" help="A group of peaks with the same chr/start/stop but different summits" /> |
73 | | - <param name="allow_negative_scores" argument="--allow-negative-scores" type="boolean" truevalue="--allow-negative-scores" falsevalue="" label="Allow negative values for scores" /> |
74 | | - <param name="random_seed" argument="--random-seed" type="integer" value="0" label="The random seed value" /> |
75 | | - <param name="max_iter" argument="--max-iter" type="integer" value="3000" label="The maximum number of optimization iterations" /> |
76 | | - <param name="convergence_eps" argument="--convergence-eps" type="float" value="0.000001" label="The maximum change in parameter value changes for convergence" /> |
77 | | - <param name="only_merge_peaks" argument="--only-merge-peaks" type="boolean" truevalue="--only-merge-peaks" falsevalue="" label="Only return the merged peak list" /> |
| 73 | + <param argument="--allow-negative-scores" type="boolean" truevalue="--allow-negative-scores" falsevalue="" label="Allow negative values for scores" /> |
| 74 | + <param argument="--random-seed" type="integer" value="0" label="The random seed value" /> |
| 75 | + <param argument="--max-iter" type="integer" value="3000" label="The maximum number of optimization iterations" /> |
| 76 | + <param argument="--convergence-eps" type="float" value="0.000001" label="The maximum change in parameter value changes for convergence" /> |
| 77 | + <param argument="--only-merge-peaks" type="boolean" truevalue="--only-merge-peaks" falsevalue="" label="Only return the merged peak list" /> |
78 | 78 | </inputs> |
79 | 79 | <outputs> |
80 | 80 | <data format="bed" name="idr_values" from_work_dir="idrValues.bed" label="${tool.name} on ${on_string}: IDR Values"> |
|
89 | 89 | </data> |
90 | 90 | </outputs> |
91 | 91 | <tests> |
92 | | - <test> |
| 92 | + <test expect_num_outputs="2"> |
93 | 93 | <param name="primus" value="idr_input1.1.bed" ftype="bed" /> |
94 | 94 | <param name="secundus" value="idr_input1.2.bed" ftype="bed" /> |
95 | 95 | <param name="rank" value="default" /> |
96 | 96 | <param name="plot" value="True" /> |
97 | 97 | <output name="idr_values" file="idr_out1.bed" ftype="bed" /> |
98 | 98 | <output name="idr_plot" file="idr_out1.png" ftype="png" compare="sim_size" delta="1000"/> |
99 | 99 | </test> |
100 | | - <test> |
| 100 | + <test expect_num_outputs="2"> |
101 | 101 | <param name="primus" value="idr_input2.1.bed" ftype="bed" /> |
102 | 102 | <param name="secundus" value="idr_input2.2.bed" ftype="bed" /> |
103 | 103 | <param name="rank" value="default" /> |
104 | 104 | <param name="plot" value="True" /> |
105 | 105 | <output name="idr_values" file="idr_out2.bed" ftype="bed" /> |
106 | 106 | <output name="idr_plot" file="idr_out2.png" ftype="png" compare="sim_size" delta="1000"/> |
107 | 107 | </test> |
108 | | - <test> |
| 108 | + <test expect_num_outputs="2"> |
109 | 109 | <param name="primus" value="idr_input3.1.bed" ftype="bed" /> |
110 | 110 | <param name="secundus" value="idr_input3.2.bed" ftype="bed" /> |
111 | 111 | <param name="peak_list" value="idr_input3.3.bed" ftype="bed" /> |
|
114 | 114 | <output name="idr_values" file="idr_out3.bed" ftype="bed" /> |
115 | 115 | <output name="idr_plot" file="idr_out3.png" ftype="png" compare="sim_size" delta="1000"/> |
116 | 116 | </test> |
117 | | - <test> |
| 117 | + <test expect_num_outputs="2"> |
118 | 118 | <param name="primus" value="idr_input4.1.gff" ftype="gff" /> |
119 | 119 | <param name="secundus" value="idr_input4.2.gff" ftype="gff" /> |
120 | 120 | <param name="input_file_type" value="gff" /> |
|
0 commit comments