comparison macs2_bdgbroadcall.xml @ 0:fe62ba547975 draft

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