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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
1 <tool id="macs2_bdgdiff" name="MACS2 bdgdiff" version="@VERSION_STRING@.0">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
2 <description>Differential peak detection based on paired four bedgraph files</description>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
3 <macros>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
4 <import>macs2_macros.xml</import>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
30 </command>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
48 </inputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
53 </outputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
54 <tests>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
55 <test>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
61 <param name="cutoff" value="1.0"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
64 <param name="depth2" value="1"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
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
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>