annotate macs2_macros.xml @ 6:2119d851a53b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit df97bfd630719a2e1d4e11d67960753184afa238
author iuc
date Tue, 11 Apr 2017 17:46:41 -0400
parents beb902da6e5f
children e8a060164e11
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
1 <macros>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
2 <token name="@VERSION_STRING@">2.1.1.20160309</token>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
3
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <xml name="requirements">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 <requirements>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
6 <requirement type="package" version="@VERSION_STRING@">macs2</requirement>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
7 <yield />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
8 </requirements>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
10
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 <xml name="conditional_effective_genome_size">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 <conditional name="effective_genome_size_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 <param name="effective_genome_size_options_selector" type="select" label="Effective genome size"
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
14 help="The effective genome size is the portion of the genome that is mappable. Large fractions of the genome are stretches of Ns that should be discarded.
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
15 Also, if repetitive regions were not included in the mapping of reads, the effective genome size needs to be adjusted accordingly. (--gsize)">
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
16 <option value="2451960000">H. sapiens (2,451,960,000)</option>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
17 <option value="2150570000">M. musculus (2,150,570,000)</option>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
18 <option value="121400000">D. melanogaster (121,400,000)</option>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
19 <option value="93260000">C. elegans (93,260,000)</option>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
20 <option value="12400000">S. cerevisiae (12,400,000)</option>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21 <option value="user_defined">User defined</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
22 </param>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
23 <when value="2451960000" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
24 <when value="2150570000" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
25 <when value="121400000" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
26 <when value="93260000" />
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
27 <when value="12400000" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 <when value="user_defined">
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
29 <param name="gsize" type="integer" label="Effective genome size" value=""/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 <xml name="keep_duplicates">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35 <conditional name="keep_dup_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 <param name="keep_dup_options_selector" type="select" label="How many duplicate tags at the exact same location are allowed?"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 help="The default 'auto' option calculates the maximum tags at the exact same location based on binomial distribution using 1e-5 as pvalue cutoff. The 'all' option keeps every tags. If an integer is given, at most this number of tags will be kept at the same location. The default is to keep one tag at the same location. (--keep-dup 1)">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 <option value="1" selected="true">1</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 <option value="all">all</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 <option value="auto">auto</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 <option value="user">user defined</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 <when value="user">
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
44 <param name="user_keepdup" type="integer" value="1" label="Keep at most this number of tags at the exact same location"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 help=""/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 <when value="1" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48 <when value="all" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49 <when value="auto" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
51 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
53 <xml name="mfold_options">
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
54 <section name="mfold" title="Mfold settings" expanded="True" help="Select the regions within MFOLD range of highconfidence enrichment ratio against background to build model. Fold-enrichment in regions must be lower than upper limit, and higher than the lower limit. Default is 5 for lower and 50 for upper (--mfold)" >
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
55 <param name="lower" type="integer" value="5" label="Set lower mfold bound" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
56 <param name="upper" type="integer" value="50" label="Set upper mfold bound" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
57 </section>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
58 </xml>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
59
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
60 <token name="@mfold_command@">
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
61 --mfold '${mfold.lower}' '${mfold.upper}'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
62 </token>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
63
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
64 <token name="@effective_genome_size@">
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
65 #if $effective_genome_size_options.effective_genome_size_options_selector == "user_defined":
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
66 --gsize '${ effective_genome_size_options.gsize }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
67 #else:
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
68 --gsize '${ effective_genome_size_options.effective_genome_size_options_selector }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
69 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
70 </token>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
71
fe62ba547975 Uploaded
iuc
parents:
diff changeset
72 <xml name="version_command">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
73 <version_command>macs2 --version</version_command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
74 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
75
fe62ba547975 Uploaded
iuc
parents:
diff changeset
76 <xml name="tag_size">
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
77 <param name="tsize" type="integer" label="Tag size" value="" optional="true"
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
78 help="This will override the auto detected tag size. Per default that option is deactivated: -1.0 (--tsize)" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
79 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
80 <xml name="band_width">
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
81 <param name="band_width" type="integer" value="300"
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
82 label="Band width for picking regions to compute fragment size"
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
83 help=" You can set this parameter as the medium fragment size expected from sonication or size selection. (--bw)" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
84 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
85
fe62ba547975 Uploaded
iuc
parents:
diff changeset
86 <token name="@tag_size@">
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
87 #if $tsize:
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
88 --tsize '${ tsize }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
89 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
90 </token>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
91
fe62ba547975 Uploaded
iuc
parents:
diff changeset
92 <xml name="stdio">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
93 <stdio>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
94 <exit_code range="1:" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
95 <exit_code range=":-1" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
96 <regex match="Error:" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
97 <regex match="Exception:" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
98 </stdio>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
99 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
100
fe62ba547975 Uploaded
iuc
parents:
diff changeset
101 <token name="@citation@">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
102 ------
fe62ba547975 Uploaded
iuc
parents:
diff changeset
103
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
104 Integration of MACS2 with Galaxy performed by Ziru Zhou and Bjoern Gruening.
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
105
fe62ba547975 Uploaded
iuc
parents:
diff changeset
106 </token>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
107 <xml name="citations">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
108 <citations>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
109 <citation type="doi">10.1186/gb-2008-9-9-r137</citation>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 3
diff changeset
110 <citation type="doi">10.1038/nprot.2012.101</citation>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
111 </citations>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
112 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
113 </macros>