Mercurial > repos > iuc > macs2
annotate macs2_bdgdiff.xml @ 49:1b3f899ef044 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
| author | iuc |
|---|---|
| date | Sat, 08 Apr 2017 08:28:38 -0400 |
| parents | e04fc51ee5e1 |
| children | 8f6b37d29df5 |
| rev | line source |
|---|---|
| 33 | 1 <tool id="macs2_bdgdiff" name="MACS2 bdgdiff" version="@VERSION_STRING@.0"> |
| 2 <description>Differential peak detection based on paired four bedgraph files</description> | |
| 3 <macros> | |
| 4 <import>macs2_macros.xml</import> | |
| 5 </macros> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
6 <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
|
7 <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
|
8 </expand> |
|
36
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
33
diff
changeset
|
9 <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
|
10 <expand macro="version_command" /> |
| 33 | 11 <command> |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
12 <![CDATA[ |
| 33 | 13 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
|
14 --t1 '${ t1 }' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
15 --t2 '${ t2 }' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
16 --c1 '${ c1 }' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
17 --c2 '${ c2 }' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
18 --cutoff '${ cutoff }' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
19 --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
|
20 --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
|
21 --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
|
22 --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
|
23 -o c1.bed c2.bed both.bed && |
| 33 | 24 |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
25 awk '!/^track name/' "c1.bed" > '${ output_cond1 }' && |
|
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/' "c2.bed" > '${ output_cond1 }' && |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
27 awk '!/^track name/' "both.bed" > '${ output_both }' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
28 |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
29 ]]> |
| 33 | 30 </command> |
| 31 <inputs> | |
|
49
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="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
|
33 <param name="t2" type="data" format="bedgraph" label="BedGraph for Treatment experiment 2" /> |
| 33 | 34 |
|
49
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="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
|
36 <param name="c2" type="data" format="bedgraph" label="Bedgraph for Control experiment 2" /> |
| 33 | 37 |
|
49
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="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
|
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)"/> |
| 33 | 40 |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
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."> |
|
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="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
|
43 <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
|
44 </section> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
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)." /> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
46 |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
47 |
| 33 | 48 </inputs> |
| 49 <outputs> | |
|
49
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_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
|
51 <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
|
52 <data name="output_both" format="bed" label="${tool.name} on ${on_string} (Common)"/> |
| 33 | 53 </outputs> |
| 54 <tests> | |
| 55 <test> | |
| 56 | |
|
49
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="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
|
58 <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
|
59 <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
|
60 <param name="c2" value="bdgdiff_c2.bdg" ftype="bedgraph"/> |
| 33 | 61 <param name="cutoff" value="1.0"/> |
| 62 <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
|
63 <param name="depth1" value="10"/> |
| 33 | 64 <param name="depth2" value="1"/> |
| 65 <param name="maxgap" value="100"/> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
66 <output name="output_cond1"> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
67 <assert_contents> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
68 <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
|
69 </assert_contents> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
48
diff
changeset
|
70 </output> |
| 33 | 71 </test> |
| 72 </tests> | |
| 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 | 75 **What it does** |
| 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 | 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 | 80 |
| 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 | 83 </help> |
| 84 <expand macro="citations" /> | |
| 85 </tool> |
