annotate macs2_bdgpeakcall.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_bdgpeakcall" name="MACS2 bdgpeakcall" version="@VERSION_STRING@.0">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <description>Call 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 bdgpeakcall
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 --ifile "${ infile }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 --cutoff "${ cutoff }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 --min-length "${ minlen }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 --max-gap "${ maxgap }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 ${ callsummits }
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 ${ notrackline }
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18 --ofile "macs2_bdgpeakcall.bdg"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19 &amp;&amp;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20 awk '!/^track name/' "macs2_bdgpeakcall.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
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26 <param name="cutoff" type="float" label="Cutoff for peaks" value="5.0"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 help="Cutoff depends on which method you used for score track. If the file contains pvalue scores from MACS2, score 5 means pvalue 1e-5. DEFAULT: 5.0 (--cutoff)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 <param name="minlen" type="integer" value="200" label="Minimum length of peak" help="better to set it as d value (--min-length)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29 <param name="maxgap" type="integer" value="30" label="Maximum gap between significant points in a peak" help="better to set it as tag size DEFAULT: 30 (--max-gap)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 <param name="callsummits" type="boolean" truevalue="--call-summits" falsevalue="" checked="False"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 label="If set, MACS will use a more sophisticated approach to find all summits in each enriched peak region."
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33 help="(-call-summits)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 <param name="notrackline" type="boolean" truevalue="" falsevalue="--no-trackline" checked="False"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35 label="Include trackline into bedGraph output"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 help="required by USCS (--no-trackline)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 <data name="outfile" format="tabular" label="${tool.name} on ${on_string}" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 <tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 <test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 <param name="infile" value="callpeak_treatment_part.bdg" ftype="bedgraph" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <param name="cutoff" value="5.0"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 <param name="minlen" value="200"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 <param name="maxgap" value="30"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 <output name="outfile" file="bdgpeakcall_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 peaks from bedGraph output.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 bdgpeakcall from macs2
fe62ba547975 Uploaded
iuc
parents:
diff changeset
55
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56
fe62ba547975 Uploaded
iuc
parents:
diff changeset
57 @citation@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
58 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
59 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
60 </tool>