Mercurial > repos > iuc > macs2
annotate macs2_bdgdiff.xml @ 19:86e2413cf3f8 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
author | iuc |
---|---|
date | Mon, 16 Oct 2023 13:18:37 +0000 |
parents | 640d3af5d833 |
children |
rev | line source |
---|---|
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
12
diff
changeset
|
1 <tool id="macs2_bdgdiff" name="MACS2 bdgdiff" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> |
0 | 2 <description>Differential peak detection based on paired four bedgraph files</description> |
3 <macros> | |
4 <import>macs2_macros.xml</import> | |
5 </macros> | |
19
86e2413cf3f8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents:
18
diff
changeset
|
6 <expand macro="bio_tools"/> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
7 <expand macro="requirements"> |
19
86e2413cf3f8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents:
18
diff
changeset
|
8 <requirement type="package" version="5.1.0">gawk</requirement> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
9 </expand> |
2
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="stdio" /> |
bfe57d6e0c4c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
0
diff
changeset
|
11 <expand macro="version_command" /> |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
12 <command><![CDATA[ |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
13 @home_dir@ |
0 | 14 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
|
15 --t1 '${ t1 }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
16 --t2 '${ t2 }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
17 --c1 '${ c1 }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
18 --c2 '${ c2 }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
19 --cutoff '${ cutoff }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
20 --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
|
21 --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
|
22 --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
|
23 --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
|
24 -o c1.bed c2.bed both.bed && |
0 | 25 |
5
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/' "c1.bed" > '${ output_cond1 }' && |
12
38769345062e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents:
9
diff
changeset
|
27 awk '!/^track name/' "c2.bed" > '${ output_cond2 }' && |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
28 awk '!/^track name/' "both.bed" > '${ output_both }' |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
29 ]]></command> |
0 | 30 <inputs> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
31 <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
|
32 <param name="t2" type="data" format="bedgraph" label="BedGraph for Treatment experiment 2" /> |
0 | 33 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
34 <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
|
35 <param name="c2" type="data" format="bedgraph" label="Bedgraph for Control experiment 2" /> |
0 | 36 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
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)"/> |
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="minlen" type="integer" label="Minimum length of differential region" value="200" help=" Try bigger value to remove small regions. Default=200 (--min-len)"/> |
0 | 39 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
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."> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
41 <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
|
42 <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
|
43 </section> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
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)." /> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
45 |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
46 |
0 | 47 </inputs> |
48 <outputs> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
49 <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
|
50 <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
|
51 <data name="output_both" format="bed" label="${tool.name} on ${on_string} (Common)"/> |
0 | 52 </outputs> |
53 <tests> | |
54 <test> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
55 <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
|
56 <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
|
57 <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
|
58 <param name="c2" value="bdgdiff_c2.bdg" ftype="bedgraph"/> |
0 | 59 <param name="cutoff" value="1.0"/> |
60 <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
|
61 <param name="depth1" value="10"/> |
0 | 62 <param name="depth2" value="1"/> |
63 <param name="maxgap" value="100"/> | |
12
38769345062e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents:
9
diff
changeset
|
64 <output name="output_cond1" ftype="bed" value="bdgdiff_output_c1.bed"/> |
38769345062e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents:
9
diff
changeset
|
65 <output name="output_cond2"> |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
66 <assert_contents> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
67 <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
|
68 </assert_contents> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
4
diff
changeset
|
69 </output> |
12
38769345062e
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents:
9
diff
changeset
|
70 <output name="output_both" ftype="bed" value="bdgdiff_output_both.bed"/> |
0 | 71 </test> |
72 </tests> | |
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 | 75 **What it does** |
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 | 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 | 80 |
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 | 83 </help> |
84 <expand macro="citations" /> | |
85 </tool> |