annotate macs2_bdgdiff.xml @ 63:25e46cf1ee36 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
author iuc
date Sat, 02 Apr 2022 21:36:50 +0000
parents 1ac88e46ee0f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
1 <tool id="macs2_bdgdiff" name="MACS2 bdgdiff" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
2 <description>Differential peak detection based on paired four bedgraph files</description>
62
1ac88e46ee0f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 56
diff changeset
3 <expand macro="bio_tools"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
4 <macros>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
5 <import>macs2_macros.xml</import>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
6 </macros>
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
7 <expand macro="requirements">
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
8 <requirement type="package" version="4.1.3">gawk</requirement>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
9 </expand>
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
10 <expand macro="stdio" />
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
11 <expand macro="version_command" />
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 49
diff changeset
12 <command><![CDATA[
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 49
diff changeset
13 @home_dir@
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
14 macs2 bdgdiff
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
15 --t1 '${ t1 }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
16 --t2 '${ t2 }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
17 --c1 '${ c1 }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
18 --c2 '${ c2 }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
19 --cutoff '${ cutoff }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
20 --min-len '${ minlen }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
21 --depth1 '${ depth.depth1 }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
22 --depth2 '${ depth.depth2 }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
23 --max-gap '${ maxgap }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
24 -o c1.bed c2.bed both.bed &&
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
25
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
26 awk '!/^track name/' "c1.bed" > '${ output_cond1 }' &&
56
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 53
diff changeset
27 awk '!/^track name/' "c2.bed" > '${ output_cond2 }' &&
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
28 awk '!/^track name/' "both.bed" > '${ output_both }'
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 49
diff changeset
29 ]]></command>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
30 <inputs>
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
31 <param name="t1" type="data" format="bedgraph" label="BedGraph for Treatment experiment 1" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
32 <param name="t2" type="data" format="bedgraph" label="BedGraph for Treatment experiment 2" />
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
33
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
34 <param name="c1" type="data" format="bedgraph" label="BedGraph for Control experiment 1" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
35 <param name="c2" type="data" format="bedgraph" label="Bedgraph for Control experiment 2" />
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
36
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
37 <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)"/>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
38 <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)"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
39
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
40 <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.">
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
41 <param name="depth1" type="integer" value="1" label="Sequence depth of condition 1 in million reads" help="Default=1 (--depth1)" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
42 <param name="depth2" type="integer" value="1" label="Sequence depth of condition 2 in million reads" help="Default=1 (--depth2)" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
43 </section>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
44 <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)." />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
45
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
46
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
47 </inputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
48 <outputs>
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
49 <data name="output_cond1" format="bed" label="${tool.name} on ${on_string} (Condition 1)"/>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
50 <data name="output_cond2" format="bed" label="${tool.name} on ${on_string} (Condition 2)"/>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
51 <data name="output_both" format="bed" label="${tool.name} on ${on_string} (Common)"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
52 </outputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
53 <tests>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
54 <test>
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
55 <param name="t1" value="bdgdiff_t1.bdg" ftype="bedgraph"/>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
56 <param name="t2" value="bdgdiff_t2.bdg" ftype="bedgraph"/>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
57 <param name="c1" value="bdgdiff_c1.bdg" ftype="bedgraph"/>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
58 <param name="c2" value="bdgdiff_c2.bdg" ftype="bedgraph"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
59 <param name="cutoff" value="1.0"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
60 <param name="minlen" value="200"/>
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
61 <param name="depth1" value="10"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
62 <param name="depth2" value="1"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
63 <param name="maxgap" value="100"/>
56
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 53
diff changeset
64 <output name="output_cond1" ftype="bed" value="bdgdiff_output_c1.bed"/>
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 53
diff changeset
65 <output name="output_cond2">
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
66 <assert_contents>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
67 <has_text text="c2.bed1" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
68 </assert_contents>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
69 </output>
56
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 53
diff changeset
70 <output name="output_both" ftype="bed" value="bdgdiff_output_both.bed"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
71 </test>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
72 </tests>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
73 <help>
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
74 <![CDATA[
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
75 **What it does**
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
76
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
77 This is **bdgdiff** utility from the MACS2_ Package. It performs differential peak detection based on paired four bedgraph files.
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
78
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
79 .. _MACS2: https://github.com/taoliu/MACS
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
80
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
81 @citation@
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
82 ]]>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
83 </help>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
84 <expand macro="citations" />
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
85 </tool>