comparison macs2_bdgdiff.xml @ 0:9c157b556c33 draft

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