annotate macs2_bdgdiff.xml @ 8:e8a060164e11 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
author iuc
date Wed, 27 Dec 2017 10:18:03 -0500
parents beb902da6e5f
children acbd3fb47f90
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 <macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <import>macs2_macros.xml</import>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 </macros>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
6 <expand macro="requirements">
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
7 <requirement type="package" version="4.1.3">gawk</requirement>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
8 </expand>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
9 <expand macro="stdio" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
10 <expand macro="version_command" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 <command>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
12 <![CDATA[
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 macs2 bdgdiff
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
14 --t1 '${ t1 }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
15 --t2 '${ t2 }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
16 --c1 '${ c1 }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
17 --c2 '${ c2 }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
18 --cutoff '${ cutoff }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
19 --min-len '${ minlen }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
20 --depth1 '${ depth.depth1 }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
21 --depth2 '${ depth.depth2 }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
22 --max-gap '${ maxgap }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
23 -o c1.bed c2.bed both.bed &&
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
24
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
25 awk '!/^track name/' "c1.bed" > '${ output_cond1 }' &&
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
26 awk '!/^track name/' "c2.bed" > '${ output_cond1 }' &&
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
27 awk '!/^track name/' "both.bed" > '${ output_both }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
28
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
29 ]]>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 </command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 <inputs>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
32 <param name="t1" type="data" format="bedgraph" label="BedGraph for Treatment experiment 1" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
33 <param name="t2" type="data" format="bedgraph" label="BedGraph for Treatment experiment 2" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
35 <param name="c1" type="data" format="bedgraph" label="BedGraph for Control experiment 1" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
36 <param name="c2" type="data" format="bedgraph" label="Bedgraph for Control experiment 2" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
38 <param name="cutoff" type="float" label="Cutoff of log10 likelihood ratio cutoff" value="1.0" help="Default=1.0 correspoinding to likelihood ratio of 1,000 (--cutoff)"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
39 <param name="minlen" type="integer" label="Minimum length of differential region" value="200" help=" Try bigger value to remove small regions. Default=200 (--min-len)"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
41 <section name="depth" title="Sequencing depth" expanded="True" help="Sequencing depths will be used to calculate scaling factor for each sample, to down-scale larger sample to the level of smaller one. For example, while comparing condition 1 (10 Million reads) and condition 2 (20 million reads), use --depth1 10 --depth2 20, then pileup value in bedGraph for condition 2 will be divided by 2.">
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
42 <param name="depth1" type="integer" value="1" label="Sequence depth of condition 1 in million reads" help="Default=1 (--depth1)" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
43 <param name="depth2" type="integer" value="1" label="Sequence depth of condition 2 in million reads" help="Default=1 (--depth2)" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
44 </section>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
45 <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 (--max-gap)." />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
46
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
47
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49 <outputs>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
50 <data name="output_cond1" format="bed" label="${tool.name} on ${on_string} (Condition 1)"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
51 <data name="output_cond2" format="bed" label="${tool.name} on ${on_string} (Condition 2)"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
52 <data name="output_both" format="bed" label="${tool.name} on ${on_string} (Common)"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
53 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 <tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
55 <test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
57 <param name="t1" value="bdgdiff_t1.bdg" ftype="bedgraph"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
58 <param name="t2" value="bdgdiff_t2.bdg" ftype="bedgraph"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
59 <param name="c1" value="bdgdiff_c1.bdg" ftype="bedgraph"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
60 <param name="c2" value="bdgdiff_c2.bdg" ftype="bedgraph"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
61 <param name="cutoff" value="1.0"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
62 <param name="minlen" value="200"/>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
63 <param name="depth1" value="10"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
64 <param name="depth2" value="1"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
65 <param name="maxgap" value="100"/>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
66 <output name="output_cond1">
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
67 <assert_contents>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
68 <has_text text="c2.bed1" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
69 </assert_contents>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
70 </output>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
71 </test>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
72 </tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
73 <help>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
74 <![CDATA[
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
75 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
76
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
77 This is **bdgdiff** utility from the MACS2_ Package. It performs differential peak detection based on paired four bedgraph files.
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
78
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
79 .. _MACS2: https://github.com/taoliu/MACS
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
80
fe62ba547975 Uploaded
iuc
parents:
diff changeset
81 @citation@
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
82 ]]>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
83 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
84 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
85 </tool>