Mercurial > repos > stemcellcommons > macs2
annotate macs2_wrapper.xml @ 1:c05f607d116c draft default tip
Replace simplejson with json. Add option to call broad peaks.
| author | stemcellcommons |
|---|---|
| date | Tue, 20 May 2014 12:10:38 -0400 |
| parents | 642c0da30ca6 |
| children |
| rev | line source |
|---|---|
| 0 | 1 <tool id="macs2_peakcalling" name="MACS2" version="2.0.10"> |
| 2 <description>Model-based Analysis of ChIP-Seq</description> | |
| 3 <command interpreter="python">macs2_wrapper.py $options_file $outputs_file</command> | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
4 <version_command>macs2 --version</version_command> |
| 0 | 5 <inputs> |
| 6 <!--experiment name and option of selecting paired or single end will always be present--> | |
| 7 <param name="experiment_name" type="text" value="MACS2 in Galaxy" size="50" label="Experiment Name"/> | |
| 8 | |
| 9 <!--select one of the 7 major commands offered by macs2--> | |
| 10 <conditional name="major_command"> | |
| 11 <param name="major_command_selector" type="select" label="Select action to be performed"> | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
12 <option value="callpeak">Peak Calling</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
13 <!--<option value="filterdup">filterdup</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
14 <option value="randsample">randsample</option>--> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
15 <option value="bdgcmp">Compare .bdg Files</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
16 <!--<option value="bdgdiff">bdgdiff</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
17 <option value="bdgpeakcall">bdgpeakcall</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
18 <option value="bdgbroadcall">bdgbroadcall</option>--> |
| 0 | 19 </param> |
| 20 <!--callpeak option of macs2--> | |
| 21 <when value="callpeak"> | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
22 <!--may need to add a few more formats at later time--> |
| 0 | 23 <param name="input_chipseq_file1" type="data" format="bam" label="ChIP-Seq Tag File" /> |
| 24 <param name="input_control_file1" type="data" format="bam" optional="True" label="ChIP-Seq Control File" /> | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
25 <param name="gsize" type="float" label="Effective genome size" value="2.7e+9" help="Human: 3.3e+9, Mouse: 3.0e+9, Fly: 1.9e+8, Worm: 1.3e+8 (--gsize)"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
26 <param name="bw" type="integer" label="Band width" value="300" help="(--bw)"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
27 <param name="xls_to_interval" label="Parse xls files into into distinct interval files" type="boolean" truevalue="True" falsevalue="False" checked="False"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
28 <param name="bdg" label="Save fragment pileup, control lambda, -log10pvalue/qvalue in bedGraph" type="boolean" truevalue="-B" falsevalue="" checked="False" help="files located in html report"/> |
| 0 | 29 |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
30 <conditional name="pq_options"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
31 <param name="pq_options_selector" type="select" label="Select p-value or q-value" help="default uses q-value"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
32 <option value="qvalue">q-value</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
33 <option value="pvalue">p-value</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
34 </param> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
35 <when value="pvalue"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
36 <param name="pvalue" type="float" label="p-value cutoff for peak detection" value="1e-2" help="default: 1e-2 (--pvalue)"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
37 </when> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
38 <when value="qvalue"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
39 <param name="qvalue" type="float" label="q-value cutoff for peak detection" value="5e-2" help="default: 5e-2 (--qvalue)"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
40 </when> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
41 </conditional> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
42 <conditional name="advanced_options"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
43 <param name="advanced_options_selector" type="select" label="Display advanced options"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
44 <option value="off">Hide</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
45 <option value="on">Display</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
46 </param> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
47 <when value="on"> |
| 0 | 48 <param name="mfoldlo" type="integer" label="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (lower-limit)" value="10" help="(--mfold)"/> |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
49 <param name="mfoldhi" type="integer" label="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (upper-limit)" value="30" help="(--mfold)"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
50 <param name="nolambda" label="Use fixed background lambda as local lambda for every peak region" type="boolean" truevalue="--nolambda" falsevalue="" checked="False" help="up to 9X more time consuming (--nolambda)"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
51 <conditional name="broad_options"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
52 <param name="broad_options_selector" type="select" label="Composite broad regions" help="put nearby highly enriched regions into a broad region with loose cutoff (--broad)"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
53 <option value="nobroad" selected="true">No broad regions</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
54 <option value="broad">Broad regions</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
55 </param> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
56 <when value="broad"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
57 <param name="broad_cutoff" type="float" label="Cutoff for broad region" value="0.1" help="value is either p-value or q-value as specified above (--broad-cutoff)"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
58 </when> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
59 <when value="nobroad"/> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
60 </conditional> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
61 </when> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
62 <when value="off"> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
63 <!--display nothing--> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
64 </when> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
65 </conditional> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
66 <conditional name="nomodel_type"> |
| 0 | 67 <param name="nomodel_type_selector" type="select" label="Build Model"> |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
68 <option value="nomodel">Do not build the shifting model (--nomodel enabled)</option> |
| 0 | 69 <option value="create_model" selected="true">Build the shifting model (--nomodel disabled)</option> |
| 70 </param> | |
| 71 <when value="nomodel"> | |
| 72 <param name="shiftsize" type="integer" label="Arbitrary shift size in bp" value="100" help="(--shiftsize)"/> | |
| 73 </when> | |
| 74 </conditional> | |
| 75 </when> | |
| 76 | |
| 77 <!--callpeak option of macs2--> | |
| 78 <when value="bdgcmp"> | |
| 79 <param name="input_chipseq_file1" type="data" format="bam" label="ChIP-Seq Tag File" /> | |
| 80 <param name="input_control_file1" type="data" format="bam" optional="True" label="ChIP-Seq Control File" /> | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
81 <param name="pseudocount" type="float" label="Set pseudocount" value="0.00001" help="default: 0.00001 (-p)"/> |
| 0 | 82 |
| 83 <conditional name="bdgcmp_options"> | |
| 84 <param name="bdgcmp_options_selector" type="select" label="Select action to be performed"> | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
85 <option value="ppois">ppois</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
86 <option value="qpois">qpois</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
87 <option value="subtract">subtract</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
88 <option value="logFE">logFE</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
89 <option value="FE">FE</option> |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
90 <option value="logLR">logLR</option> |
| 0 | 91 </param> |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
92 </conditional> |
| 0 | 93 </when> |
| 94 </conditional> | |
| 95 </inputs> | |
| 96 | |
| 97 <outputs> | |
| 98 <!--callpeaks output--> | |
| 99 <data name="output_bed_file" format="bed" label="${tool.name}: callpeak on ${on_string} (peaks: bed)"> | |
| 100 <filter>major_command['major_command_selector'] == 'callpeak'</filter> | |
| 101 </data> | |
| 102 <data name="output_extra_files" format="html" label="${tool.name}: callpeak on ${on_string} (html report)"> | |
| 103 <filter>major_command['major_command_selector'] == 'callpeak'</filter> | |
| 104 </data> | |
| 105 <data name="output_peaks_file" format="xls" label="${tool.name}: callpeak on ${on_string} (peaks: xls)"> | |
| 106 <filter>major_command['major_command_selector'] == 'callpeak'</filter> | |
| 107 </data> | |
| 108 <data name="output_narrowpeaks_file" format="txt" label="${tool.name}: callpeak on ${on_string} (peaks: encodePeak)"> | |
| 109 <filter>major_command['major_command_selector'] == 'callpeak'</filter> | |
| 110 </data> | |
| 111 <data name="output_xls_to_interval_peaks_file" format="interval" label="${tool.name}: callpeak on ${on_string} (peaks: interval)"> | |
| 112 <filter>major_command['xls_to_interval'] is True</filter> | |
| 113 <filter>major_command['major_command_selector'] == 'callpeak'</filter> | |
| 114 </data> | |
| 115 <data name="output_xls_to_interval_negative_peaks_file" format="interval" label="${tool.name}: callpeak on ${on_string} (negative peaks: interval)"> | |
| 116 <filter>major_command['xls_to_interval'] is True</filter> | |
| 117 <filter>major_command['input_control_file1'] is not None</filter> | |
| 118 <filter>major_command['major_command_selector'] == 'callpeak'</filter> | |
| 119 </data> | |
| 120 <!--bdgcmp output--> | |
| 121 <data name="output_bdgcmp_file" format="bdg" label="${tool.name}: bdgcmp on ${on_string} (bdg)"> | |
| 122 <filter>major_command['major_command_selector'] == 'bdgcmp'</filter> | |
| 123 </data> | |
| 124 </outputs> | |
| 125 <configfiles> | |
| 126 | |
| 127 <configfile name="outputs_file"><% | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
128 import json |
| 0 | 129 %> |
| 130 ##======================================================================================= | |
| 131 #set $__outputs = { 'command':str( $major_command.major_command_selector ) } | |
| 132 #if str( $major_command.major_command_selector ) == 'callpeak': | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
133 #set $__outputs['output_bed_file'] = str( $output_bed_file ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
134 #set $__outputs['output_extra_file'] = str( $output_extra_files ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
135 #set $__outputs['output_extra_file_path'] = str( $output_extra_files.files_path ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
136 #set $__outputs['output_peaks_file'] = str( $output_peaks_file ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
137 #set $__outputs['output_narrowpeaks_file'] = str( $output_narrowpeaks_file ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
138 #set $__outputs['output_xls_to_interval_peaks_file'] = str( $output_xls_to_interval_peaks_file ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
139 #set $__outputs['output_xls_to_interval_negative_peaks_file'] = str( $output_xls_to_interval_negative_peaks_file ) |
| 0 | 140 #end if |
| 141 ##======================================================================================= | |
| 142 #if str( $major_command.major_command_selector ) == 'bdgcmp': | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
143 #set $__outputs['output_bdgcmp_file'] = str( $output_bdgcmp_file ) |
| 0 | 144 #end if |
| 145 | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
146 ${ json.dumps( __outputs ) } |
| 0 | 147 </configfile> |
| 148 <configfile name="options_file"><% | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
149 import json |
| 0 | 150 %> |
| 151 ##======================================================================================= | |
| 152 #set $__options = { 'experiment_name':str( $experiment_name ) } | |
| 153 ##treatment/tag input files and format | |
| 154 #set $__options['input_chipseq'] = [ str( $major_command.input_chipseq_file1 ) ] | |
| 155 #set $__options['format'] = $major_command.input_chipseq_file1.extension.upper() | |
| 156 | |
| 157 ##control/input files | |
| 158 #set $__options['input_control'] = [] | |
| 159 #if str( $major_command.input_control_file1 ) != 'None': | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
160 #set $_hole = __options['input_control'].append( str( $major_command.input_control_file1 ) ) |
| 0 | 161 #end if |
| 162 | |
| 163 #if str( $major_command.major_command_selector ) == 'callpeak': | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
164 #set $__options['command'] = str( "callpeak" ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
165 #set $__options['gsize'] = int( $major_command.gsize ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
166 #set $__options['bw'] = str( $major_command.bw ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
167 #set $__options['bdg'] = str( $major_command.bdg ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
168 #set $__options['xls_to_interval'] = str( $major_command.xls_to_interval ) |
| 0 | 169 |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
170 ##advanced options |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
171 #if str( $major_command.advanced_options.advanced_options_selector ) == 'on': |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
172 #set $__options['mfoldlo'] = int( $major_command.advanced_options.mfoldlo ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
173 #set $__options['mfoldhi'] = int( $major_command.advanced_options.mfoldhi ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
174 #set $__options['nolambda'] = str( $major_command.advanced_options.nolambda ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
175 #if str($major_command.advanced_options.broad_options.broad_options_selector) == 'broad' |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
176 #set $__options['broad_cutoff'] = str($major_command.advanced_options.broad_options.broad_cutoff) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
177 #end if |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
178 #else: |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
179 #set $__options['mfoldlo'] = int( "10" ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
180 #set $__options['mfoldhi'] = int( "30" ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
181 #set $__options['nolambda'] = str( "" ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
182 #end if |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
183 |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
184 ##enable xls file options |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
185 ##if str( $major_command.xls_to_interval ) == 'create': |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
186 ##set $__options['xls_to_interval'] = { 'peaks_file': str( $output_xls_to_interval_peaks_file ), 'negative_peaks_file': str( $output_xls_to_interval_negative_peaks_file ) } |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
187 ##end if |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
188 |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
189 ##pq value select options |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
190 #if str( $major_command.pq_options.pq_options_selector ) == 'qvalue': |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
191 #set $__options['qvalue'] = str( $major_command.pq_options.qvalue ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
192 #else: |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
193 #set $__options['pvalue'] = str( $major_command.pq_options.pvalue ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
194 #end if |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
195 |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
196 ##model options |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
197 #if str( $major_command.nomodel_type.nomodel_type_selector ) == 'nomodel': |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
198 #set $__options['nomodel'] = str( $major_command.nomodel_type.shiftsize ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
199 #end if |
| 0 | 200 #end if |
| 201 ##======================================================================================= | |
| 202 #if str( $major_command.major_command_selector ) == 'bdgcmp': | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
203 #set $__options['command'] = str( "bdgcmp" ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
204 #set $__options['pseudocount'] = float( str( $major_command.pseudocount ) ) |
|
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
205 #set $__options['m'] = str( $major_command.bdgcmp_options.bdgcmp_options_selector ) |
| 0 | 206 #end if |
| 207 ##======================================================================================= | |
| 208 | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
209 ${ json.dumps( __options ) } |
| 0 | 210 </configfile> |
| 211 </configfiles> | |
| 212 <tests> | |
|
1
c05f607d116c
Replace simplejson with json. Add option to call broad peaks.
stemcellcommons
parents:
0
diff
changeset
|
213 <!--none yet for macs2--> |
| 0 | 214 </tests> |
| 215 <help> | |
| 216 **What it does** | |
| 217 | |
| 218 With the improvement of sequencing techniques, chromatin immunoprecipitation followed by high throughput sequencing (ChIP-Seq) | |
| 219 is getting popular to study genome-wide protein-DNA interactions. To address the lack of powerful ChIP-Seq analysis method, we present a novel algorithm, named Model-based Analysis of ChIP-Seq (MACS), for | |
| 220 identifying transcript factor binding sites. MACS captures the influence of genome complexity to evaluate the significance of enriched ChIP regions, and MACS improves the spatial resolution of | |
| 221 binding sites through combining the information of both sequencing tag position and orientation. MACS can be easily used for ChIP-Seq data alone, or with control sample with the increase of specificity. | |
| 222 | |
| 223 View the original MACS2 documentation: https://github.com/taoliu/MACS/blob/master/README | |
| 224 | |
| 225 ------ | |
| 226 | |
| 227 **Usage** | |
| 228 | |
| 229 **Peak Calling**: Main MACS2 Function to Call peaks from alignment results. | |
| 230 | |
| 231 **Compare .bdg files**: Deduct noise by comparing two signal tracks in bedGraph. | |
| 232 | |
| 233 | |
| 234 ------ | |
| 235 | |
| 236 **Citation** | |
| 237 | |
| 238 For the underlying tool, please cite Zhang Y, Liu T, Meyer CA, Eeckhoute J, Johnson DS, Bernstein BE, Nusbaum C, Myers RM, Brown M, Li W, Liu XS. Model-based analysis of ChIP-Seq (MACS). Genome Biol. 2008;9(9):R137. | |
| 239 | |
| 240 Integration of MACS2 with Galaxy performed by Ziru Zhou ( ziruzhou@gmail.com ). Please send your comments/questions to modENCODE DCC at help@modencode.org. | |
| 241 </help> | |
| 242 </tool> |
