0
|
1 <tool id="macs2_bdgdiff" name="Differential peak detection" version="2.0.10.0">
|
|
2 <description>based on paired four bedgraph files</description>
|
1
|
3 <expand macro="requirements" />
|
|
4 <expand macro="version_command" />
|
|
5 <macros>
|
|
6 <import>macs2_macros.xml</import>
|
|
7 </macros>
|
0
|
8 <command>
|
|
9 macs2 bdgdiff
|
|
10 --t1 $infile_pileup_cond1
|
|
11 --t2 $infile_pileup_cond2
|
|
12 --c1 $infile_control_cond1
|
|
13 --c2 $infile_control_cond2
|
|
14 --cutoff $cutoff
|
|
15 --min-len $minlen
|
|
16 --depth1 $depth1
|
|
17 --depth2 $depth2
|
|
18
|
|
19 # Why does #if '--ofile-cond1' in $outputs not work?
|
|
20 #if '--ofile-cond1' in str($outputs).split(','):
|
|
21 --ofile-cond1 $output_cond1
|
|
22 #end if
|
|
23
|
|
24 #if '--ofile-cond2' in str($outputs).split(','):
|
|
25 --ofile-cond2 $output_cond2
|
|
26 #end if
|
|
27
|
|
28 #if '--ofile-both-conditions' in str($outputs).split(','):
|
|
29 --ofile-both-conditions $output_both
|
|
30 #end if
|
|
31 </command>
|
|
32 <inputs>
|
|
33 <param name="infile_pileup_cond1" type="data" format="bedgraph" label="MACS pileup bedGraph for condition 1" />
|
|
34 <param name="infile_pileup_cond2" type="data" format="bedgraph" label="MACS pileup bedGraph for condition 2" />
|
|
35
|
|
36 <param name="infile_control_cond1" type="data" format="bedgraph" label="MACS control lambda bedGraph for condition 1" />
|
|
37 <param name="infile_control_cond2" type="data" format="bedgraph" label="MACS control lambda bedGraph for condition 2" />
|
|
38
|
1
|
39 <param name="cutoff" type="float" label="Cutoff of log10 likelihood ratio cutoff" value="1.0" help="Default: 1.0 (likelihood ratio=10) (--cutoff)"/>
|
0
|
40 <param name="minlen" type="integer" label="Minimum length of differential region" value="200"/>
|
|
41 <param name="depth1" type="integer" value="1" label="Sequence depth of condition 1 in million reads" help="Default: 1 (--depth1)" />
|
|
42 <param name="depth2" type="integer" value="1" label="Sequence depth of condition 2 in million reads" help="Default: 1 (--depth2)" />
|
|
43
|
|
44 <param name="outputs" type="select" display="checkboxes" multiple="True" label="Outputs">
|
|
45 <option value="--ofile-cond1">Unique regions in condition 1</option>
|
|
46 <option value="--ofile-cond2">Unique regions in condition 2</option>
|
|
47 <option value="--ofile-both-conditions" selected="true">Common regions in both conditions</option>
|
|
48 <validator type="no_options" message="Please select at least one output file." />
|
|
49 </param>
|
|
50
|
|
51 </inputs>
|
|
52
|
|
53 <outputs>
|
|
54 <data name="output_cond1" format="bed" label="${tool.name} on ${on_string} (cond 1)">
|
|
55 <filter>'--ofile-cond1' in outputs</filter>
|
|
56 </data>
|
|
57 <data name="output_cond2" format="bed" label="${tool.name} on ${on_string} (cond 2)">
|
|
58 <filter>'--ofile-cond2' in outputs</filter>
|
|
59 </data>
|
|
60 <data name="output_both" format="bed" label="${tool.name} on ${on_string} (both)">
|
|
61 <filter>'--ofile-both-conditions' in outputs</filter>
|
|
62 </data>
|
|
63 </outputs>
|
|
64 <tests>
|
|
65 <!--none yet for macs2-->
|
|
66 </tests>
|
|
67 <help>
|
|
68 **What it does**
|
|
69
|
|
70 bdgdiff from macs2
|
|
71
|
|
72
|
|
73 ------
|
|
74
|
|
75 **Citation**
|
|
76
|
|
77 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.
|
|
78
|
|
79 Integration of MACS2 with Galaxy performed by Ziru Zhou ( ziruzhou@gmail.com ). Please send your comments/questions to modENCODE DCC at help@modencode.org.
|
|
80 </help>
|
|
81 </tool>
|