annotate macs2_bdgdiff.xml @ 1:859c982b1f7f draft

Uploaded
author iuc
date Thu, 12 Feb 2015 10:40:25 -0500
parents fe62ba547975
children bfe57d6e0c4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
1 <tool id="macs2_bdgdiff" name="MACS2 bdgdiff" version="@VERSION_STRING@.0">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <description>Differential peak detection based on paired four bedgraph files</description>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
3 <expand macro="requirements" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <expand macro="version_command" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 <macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
6 <import>macs2_macros.xml</import>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
7 </macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
8 <command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 macs2 bdgdiff
fe62ba547975 Uploaded
iuc
parents:
diff changeset
10 --t1 "${ infile_pileup_cond1 }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 --t2 "${ infile_pileup_cond2 }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 --c1 "${ infile_control_cond1 }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 --c2 "${ infile_control_cond2 }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 --cutoff "${ cutoff }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 --min-len "${ minlen }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 --depth1 "${ depth1 }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 --depth2 "${ depth2 }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18 --max-gap "${ maxgap }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19 --o-prefix MACS2
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21 </command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
22 <expand macro="stdio" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
23 <inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
24 <param name="infile_pileup_cond1" type="data" format="bedgraph" label="MACS pileup bedGraph for condition 1" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25 <param name="infile_pileup_cond2" type="data" format="bedgraph" label="MACS pileup bedGraph for condition 2" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 <param name="infile_control_cond1" type="data" format="bedgraph" label="MACS control lambda bedGraph for condition 1" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 <param name="infile_control_cond2" type="data" format="bedgraph" label="MACS control lambda bedGraph for condition 2" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 <param name="cutoff" type="float" label="Cutoff of log10 likelihood ratio cutoff" value="1.0" help="Default: 1.0 (likelihood ratio=10) (--cutoff)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 <param name="minlen" type="integer" label="Minimum length of differential region" value="200"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 <param name="depth1" type="integer" value="1" label="Sequence depth of condition 1 in million reads" help="default: 1 (--depth1)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33 <param name="depth2" type="integer" value="1" label="Sequence depth of condition 2 in million reads" help="default: 1 (--depth2)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 <param name="maxgap" type="integer" value="100" label="Maximum gap to merge nearby differential regions" help="Consider a wider gap for broad marks. Maximum gap should be smaller than minimum length. Default: 100 (-g)." />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 <param name="outputs" type="select" display="checkboxes" multiple="True" label="Outputs">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 <option value="--ofile-cond1">Unique regions in condition 1</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 <option value="--ofile-cond2">Unique regions in condition 2</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 <option value="--ofile-both-conditions" selected="true">Common regions in both conditions</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 <validator type="no_options" message="Please select at least one output file." />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <data name="output_cond1" format="bed" from_work_dir="MACS2_cond1.bed" label="${tool.name} on ${on_string} (cond 1)">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 <filter>'--ofile-cond1' in outputs</filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 </data>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 <data name="output_cond2" format="bed" from_work_dir="MACS2_cond1.bed" label="${tool.name} on ${on_string} (cond 2)">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48 <filter>'--ofile-cond2' in outputs</filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49 </data>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50 <data name="output_both" format="bed" from_work_dir="MACS2_common.bed" label="${tool.name} on ${on_string} (both)">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
51 <filter>'--ofile-both-conditions' in outputs</filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52 </data>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
53 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 <tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
55 <!-- we need a second condition here -->
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56 <!--
fe62ba547975 Uploaded
iuc
parents:
diff changeset
57 <test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
58
fe62ba547975 Uploaded
iuc
parents:
diff changeset
59 <param name="infile_control_cond1" value="Control_200K.bed" ftype="bed"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
60 <param name="infile_control_cond2" value="Control_200K.bed" ftype="bed"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
61 <param name="infile_pileup_cond1" value="ChIP_200K.bed" ftype="bed"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
62 <param name="infile_pileup_cond2" value="ChIP_200K.bed" ftype="bed"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
63 <param name="cutoff" value="1.0"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
64 <param name="minlen" value="200"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
65 <param name="depth1" value="1"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
66 <param name="depth2" value="1"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
67 <param name="maxgap" value="100"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
68 <param name="outputs" value="-ofile-cond1,-ofile-cond2,-ofile-both-conditions"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
69 <output name="output_cond1" file=""/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
70 <output name="output_cond2" file=""/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
71 <output name="output_both" file=""/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
72 </test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
73 -->
fe62ba547975 Uploaded
iuc
parents:
diff changeset
74 </tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
75 <help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
76 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
77
fe62ba547975 Uploaded
iuc
parents:
diff changeset
78 bdgdiff from macs2
fe62ba547975 Uploaded
iuc
parents:
diff changeset
79
fe62ba547975 Uploaded
iuc
parents:
diff changeset
80
fe62ba547975 Uploaded
iuc
parents:
diff changeset
81 @citation@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
82 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
83 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
84 </tool>