annotate macs2_bdgbroadcall.xml @ 0:fe62ba547975 draft

Uploaded
author iuc
date Wed, 11 Feb 2015 10:18:02 -0500
parents
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_bdgbroadcall" name="MACS2 bdgbroadcall" version="@VERSION_STRING@.0">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <description>Call broad peaks from bedGraph output</description>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
3 <expand macro="requirements">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <requirement type="package" version="4.1.0">gnu_awk</requirement>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 </expand>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
6 <expand macro="version_command" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
7 <macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
8 <import>macs2_macros.xml</import>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 </macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
10 <command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 macs2 bdgbroadcall
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 --ifile "${ infile }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 --cutoff-peak "${ cutoffpeak }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 --cutoff-link "${ cutofflink }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 --min-length "${ minlen }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 --lvl1-max-gap "${ LVL1MAXGAP }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 --lvl2-max-gap "${ LVL2MAXGAP }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18 --ofile "macs2_bdgbroadcall.bdg"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19 &amp;&amp;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20 awk '!/^track name/' "macs2_bdgbroadcall.bdg" > "${ outfile }"
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" type="data" format="bedgraph" label="MACS score in bedGraph" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25 <param name="cutoffpeak" type="float" label="Cutoff for peaks" value="2.0"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26 help="Cutoff for peaks depending on which method you used for score track. If the file contains qvalue scores from MACS2, score 2 means qvalue 0.01. default: 2.0 (--cutoff-peak)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 <param name="cutofflink" type="float" label="Cutoff for peaks" value="1.0"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 help=" Cutoff for linking regions/low abundance regions depending on which method you used for score track. If the file contains qvalue scores from MACS2, score 1 means qvalue 0.1, and score 0.3 means qvalue 0.5. default: 1 (--cutoff-link)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29 <param name="minlen" type="integer" label="Minimum length of peak" value="200"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 help="It is recommended to set it as d value." />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 <param name="LVL1MAXGAP" type="integer" label="Maximum gap between significant peaks" value="30"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 help="It is recommended to set it to tag size" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33 <param name="LVL2MAXGAP" type="integer" label="Maximum linking between significant peaks" value="800"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 help="It is recommended to set it to 4 times of d value" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 <data name="outfile" format="tabular" label="${tool.name} on ${on_string}" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 <tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 <test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 <param name="infile" value="callpeak_treatment_part.bdg" ftype="bedgraph" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 <param name="cutoffpeak" value="2.0"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 <param name="cutofflink" value="1.0"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <param name="minlen" value="200"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 <param name="LVL1MAXGAP" value="30"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 <param name="LVL2MAXGAP" value="800"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 <output name="outfile" file="bdgbroadcall_on_callpeak_treatment.tabular"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48 </test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49 </tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50 <help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
51 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52
fe62ba547975 Uploaded
iuc
parents:
diff changeset
53 Call broad peaks from bedGraph output.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 bdgbroadcall from macs2
fe62ba547975 Uploaded
iuc
parents:
diff changeset
55
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56 @citation@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
57 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
58 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
59 </tool>