annotate tools/peak_calling/macs_wrapper.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="peakcalling_macs" name="MACS" version="1.0.1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>Model-based Analysis of ChIP-Seq</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">macs_wrapper.py $options_file $output_bed_file $output_extra_files $output_extra_files.files_path</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <requirement type="python-module">macs</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <requirement type="package">macs</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <param name="experiment_name" type="text" value="MACS in Galaxy" size="50" label="Experiment Name"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <conditional name="input_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <param name="input_type_selector" type="select" label="Paired End Sequencing">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <option value="paired_end">Paired End (requires elandmulti format)</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <option value="single_end" selected="true">Single End</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <when value="paired_end">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <param name="input_chipseq_file1" type="data" format="elandmulti" label="ChIP-Seq Tag File 1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <param name="input_chipseq_file2" type="data" format="elandmulti" label="ChIP-Seq Tag File 2" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="input_control_file1" type="data" format="elandmulti" optional="True" label="ChIP-Seq Control File 1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <param name="input_control_file2" type="data" format="elandmulti" optional="True" label="ChIP-Seq Control File 2" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <param name="petdist" type="integer" label="Best distance between Pair-End Tags" value="200"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <when value="single_end">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <param name="input_chipseq_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Tag File" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <param name="input_control_file1" type="data" format="bed,sam,bam,eland,elandmulti" optional="True" label="ChIP-Seq Control File" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <param name="gsize" type="float" label="Effective genome size" value="2.7e+9" help="default: 2.7e+9"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <param name="tsize" type="integer" label="Tag size" value="25"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <param name="bw" type="integer" label="Band width" value="300"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <param name="pvalue" type="float" label="Pvalue cutoff for peak detection" value="1e-5" help="default: 1e-5"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 <param name="mfold" type="integer" label="Select the regions with MFOLD high-confidence enrichment ratio against background to build model" value="32"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <param name="xls_to_interval" label="Parse xls files into into distinct interval files" type="boolean" truevalue="create" falsevalue="do_not_create" checked="False"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <conditional name="wig_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <param name="wig_type_selector" type="select" label="Save shifted raw tag count at every bp into a wiggle file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 <option value="wig">Save</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 <option value="no_wig" selected="true">Do not create wig file (faster)</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 <when value="wig">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 <param name="wigextend" type="integer" label="Extend tag from its middle point to a wigextend size fragment." value="-1" help="Use value less than 0 for default (modeled d)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 <param name="space" type="integer" label="Resolution for saving wiggle files" value="10"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <when value="no_wig">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 <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"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 <param name="lambdaset" type="text" label="3 levels of regions around the peak region to calculate the maximum lambda as local lambda" value="1000,5000,10000" size="50"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 <conditional name="nomodel_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 <param name="nomodel_type_selector" type="select" label="Build Model">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 <option value="nomodel">Do not build the shifting model</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 <option value="create_model" selected="true">Build the shifting model</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 <when value="nomodel">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 <param name="shiftsize" type="integer" label="Arbitrary shift size in bp" value="100"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 <when value="create_model">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 <conditional name="diag_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 <param name="diag_type_selector" type="select" label="Diagnosis report" help="up to 9X more time consuming">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 <option value="diag">Produce a diagnosis report</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 <option value="no_diag" selected="true">Do not produce report (faster)</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 <when value="diag">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 <param name="fe-min" type="integer" label="Min fold enrichment to consider" value="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 <param name="fe-max" type="integer" label="Max fold enrichment to consider" value="32"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 <param name="fe-step" type="integer" label="Fold enrichment step" value="20"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 <when value="no_diag">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 <!-- do nothing here -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 <param name="futurefdr" label="Perform the new peak detection method (futurefdr)" type="boolean" truevalue="--futurefdr" falsevalue="" checked="False" help="The default method only consider the peak location, 1k, 5k, and 10k regions in the control data; whereas the new future method also consider the 5k, 10k regions in treatment data to calculate local bias."/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 <data name="output_bed_file" format="bed" label="${tool.name} on ${on_string} (peaks: bed)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 <data name="output_xls_to_interval_peaks_file" format="interval" label="${tool.name} on ${on_string} (peaks: interval)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 <filter>xls_to_interval is True</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 <data name="output_xls_to_interval_negative_peaks_file" format="interval" label="${tool.name} on ${on_string} (negative peaks: interval)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 <filter>xls_to_interval is True</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 <filter>input_type['input_control_file1'] is not None</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 <data name="output_treatment_wig_file" format="wig" label="${tool.name} on ${on_string} (treatment: wig)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 <filter>wig_type['wig_type_selector']=='wig'</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 <data name="output_control_wig_file" format="wig" label="${tool.name} on ${on_string} (control: wig)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 <filter>wig_type['wig_type_selector'] == 'wig'</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 <filter>input_type['input_control_file1'] is not None</filter>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 <data name="output_extra_files" format="html" label="${tool.name} on ${on_string} (html report)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 <configfiles>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95 <configfile name="options_file">&lt;%
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96 import simplejson
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97 %&gt;
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98 #set $__options = { 'experiment_name':str( $experiment_name ), 'gsize':int( float( str( $gsize ) ) ), 'tsize':str( $tsize ), 'bw':str( $bw ), 'pvalue':str( $pvalue ), 'mfold':str( $mfold ), 'nolambda':str( $nolambda ), 'lambdaset': str( $lambdaset ), 'futurefdr':str( $futurefdr ) }
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99 #if str( $xls_to_interval ) == 'create':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 #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 ) }
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 #else:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102 #set $__options['xls_to_interval'] = False
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104 ##treatment/tag input files and format
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 #set $__options['input_chipseq'] = [ str( $input_type['input_chipseq_file1'] ) ]
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
106 #if $input_type['input_type_selector'] == 'paired_end':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
107 #set $_hole = __options['input_chipseq'].append( str( $input_type['input_chipseq_file2'] ) )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
108 #set $__options['format'] = 'ELANDMULTIPET'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
109 #else:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
110 #set $__options['format'] = $input_type['input_chipseq_file1'].extension.upper()
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
111 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
112 ##control/input files
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
113 #set $__options['input_control'] = []
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
114 #if str( $input_type['input_control_file1'] ) != 'None':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
115 #set $_hole = __options['input_control'].append( str( $input_type['input_control_file1'] ) )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
116 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
117 #if $input_type['input_type_selector'] == 'paired_end' and str( $input_type['input_control_file2'] ) != 'None':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
118 #set $_hole = __options['input_control'].append( str( $input_type['input_control_file2'] ) )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
119 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
120 ##wig options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
121 #if $wig_type['wig_type_selector'] == 'wig':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
122 #set $__options['wig'] = {}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
123 #set $__options['wig']['wigextend'] = str( $wig_type['wigextend'] )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
124 #set $__options['wig']['space'] = str( $wig_type['space'] )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
125 #set $__options['wig']['output_treatment_file'] = str( $output_treatment_wig_file )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
126 #if $input_type['input_control_file1'] is not None:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
127 #set $__options['wig']['output_control_file'] = str( $output_control_wig_file )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
128 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
129 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
130 ##model options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
131 #if $nomodel_type['nomodel_type_selector'] == 'nomodel':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
132 #set $__options['nomodel'] = str( $nomodel_type['shiftsize'] )
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
133 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
134 ##diag options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
135 #if $diag_type['diag_type_selector'] == 'diag':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
136 #set $__options['diag'] = { 'fe-min':str( $diag_type['fe-min'] ), 'fe-max':str( $diag_type['fe-max'] ), 'fe-step':str( $diag_type['fe-step'] ) }
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
137 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
138 ${ simplejson.dumps( __options ) }
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
139 </configfile>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
140 </configfiles>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
141 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
142 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
143 <param name="input_type_selector" value="single_end" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
144 <param name="input_chipseq_file1" value="chipseq_enriched.bed.gz" ftype="bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
145 <param name="input_control_file1" value="chipseq_input.bed.gz" ftype="bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
146 <param name="experiment_name" value="Galaxy Test Run" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
147 <param name="tsize" value="36" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
148 <param name="mfold" value="13" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
149 <param name="gsize" value="2.7e+9" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
150 <param name="bw" value="300" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
151 <param name="pvalue" value="1e-5" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
152 <param name="xls_to_interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
153 <param name="wig_type_selector" value="no_wig" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
154 <param name="nolambda"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
155 <param name="lambdaset" value="1000,5000,10000"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
156 <param name="nomodel_type_selector" value="create_model" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
157 <param name="diag_type_selector" value="no_diag" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
158 <param name="futurefdr"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
159 <output name="output_bed_file" file="peakcalling_macs/macs_test_1_out.bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
160 <output name="output_html_file" file="peakcalling_macs/macs_test_1_out.html" compare="re_match" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
161 <extra_files type="file" name="Galaxy_Test_Run_model.pdf" value="peakcalling_macs/test2/Galaxy_Test_Run_model.pdf" compare="re_match"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
162 <extra_files type="file" name="Galaxy_Test_Run_model.r" value="peakcalling_macs/test2/Galaxy_Test_Run_model.r" compare="re_match"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
163 <extra_files type="file" name="Galaxy_Test_Run_model.r.log" value="peakcalling_macs/test2/Galaxy_Test_Run_model.r.log"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
164 <extra_files type="file" name="Galaxy_Test_Run_negative_peaks.xls" value="peakcalling_macs/test2/Galaxy_Test_Run_negative_peaks.xls" compare="re_match"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
165 <extra_files type="file" name="Galaxy_Test_Run_peaks.xls" value="peakcalling_macs/test2/Galaxy_Test_Run_peaks.xls" compare="re_match"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
166 </output>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
167 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
168 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
169 <param name="input_type_selector" value="single_end" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
170 <param name="input_chipseq_file1" value="chipseq_enriched.bed.gz" ftype="bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
171 <param name="input_control_file1" value="chipseq_input.bed.gz" ftype="bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
172 <param name="experiment_name" value="Galaxy Test Run" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
173 <param name="tsize" value="36" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
174 <param name="mfold" value="13" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
175 <param name="gsize" value="2.7e+9" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
176 <param name="bw" value="300" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
177 <param name="pvalue" value="1e-5" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
178 <param name="xls_to_interval" value="true" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
179 <param name="wig_type_selector" value="no_wig" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
180 <param name="nolambda"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
181 <param name="lambdaset" value="1000,5000,10000"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
182 <param name="nomodel_type_selector" value="create_model" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
183 <param name="diag_type_selector" value="no_diag" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
184 <param name="futurefdr"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
185 <output name="output_bed_file" file="peakcalling_macs/macs_test_1_out.bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
186 <output name="output_xls_to_interval_peaks_file" file="peakcalling_macs/macs_test_2_peaks_out.interval" lines_diff="4" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
187 <output name="output_xls_to_interval_negative_peaks_file" file="peakcalling_macs/macs_test_2_neg_peaks_out.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
188 <output name="output_html_file" file="peakcalling_macs/macs_test_1_out.html" compare="re_match" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
189 <extra_files type="directory" value="peakcalling_macs/test2/" compare="re_match"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
190 </output>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
191 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
192 <!-- <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
193 <param name="input_type_selector" value="single_end" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
194 <param name="input_chipseq_file1" value="chipseq_enriched.bed.gz" ftype="bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
195 <param name="input_control_file1" value="chipseq_input.bed.gz" ftype="bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
196 <param name="experiment_name" value="Galaxy Test Run" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
197 <param name="tsize" value="36" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
198 <param name="mfold" value="13" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
199 <param name="gsize" value="2.7e+9" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
200 <param name="bw" value="300" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
201 <param name="pvalue" value="1e-5" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
202 <param name="xls_to_interval" value="true" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
203 <param name="wig_type_selector" value="wig" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
204 <param name="wigextend" value="-1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
205 <param name="space" value="10" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
206 <param name="nolambda"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
207 <param name="lambdaset" value="1000,5000,10000"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
208 <param name="nomodel_type_selector" value="create_model" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
209 <param name="diag_type_selector" value="no_diag" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
210 <param name="futurefdr"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
211 <output name="output_bed_file" file="peakcalling_macs/macs_test_1_out.bed" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
212 <output name="output_xls_to_interval_peaks_file" file="peakcalling_macs/macs_test_2_peaks_out.interval" lines_diff="4" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
213 <output name="output_xls_to_interval_negative_peaks_file" file="macs_test_2_neg_peaks_out.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
214 <output name="output_treatment_wig_file" file="peakcalling_macs/macs_test_3_treatment_out.wig" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
215 <output name="output_control_wig_file" file="peakcalling_macs/macs_test_3_control_out.wig" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
216 <output name="output_html_file" file="peakcalling_macs/macs_test_3_out.html" compare="re_match" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
217 <extra_files type="directory" value="peakcalling_macs/test2/" compare="re_match"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
218 </output>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
219 </test> -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
220 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
221 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
222 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
223
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
224 This tool allows ChIP-seq peak calling using MACS.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
225
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
226 Depending upon selected options, 2 to 6 history items will be created; the first output will be a standard BED file and the last will be an HTML report containing links to download additional files generated by MACS. Up to two each of wig and interval files can be optionally created; the interval files are parsed from the xls output.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
227
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
228 View the original MACS documentation: http://liulab.dfci.harvard.edu/MACS/00README.html.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
229 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
230 </tool>