Mercurial > repos > iuc > macs2
annotate macs2_macros.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 |
---|---|
0 | 1 <macros> |
19
86e2413cf3f8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents:
18
diff
changeset
|
2 <token name="@TOOL_VERSION@">2.2.9.1</token> |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
3 <token name="@VERSION_SUFFIX@">0</token> |
0 | 4 <xml name="requirements"> |
5 <requirements> | |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
6 <requirement type="package" version="@TOOL_VERSION@">macs2</requirement> |
19
86e2413cf3f8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents:
18
diff
changeset
|
7 <requirement type="package" version="4.3">r-base</requirement> |
0 | 8 <yield /> |
9 </requirements> | |
10 </xml> | |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
11 <xml name="bio_tools"> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
12 <xrefs> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
13 <xref type="bio.tools">macs</xref> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
14 </xrefs> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
15 </xml> |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
16 <token name="@home_dir@"><![CDATA[ |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
17 export PYTHON_EGG_CACHE=`pwd` && |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
18 ]]></token> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
19 |
0 | 20 <xml name="conditional_effective_genome_size"> |
21 <conditional name="effective_genome_size_options"> | |
22 <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
|
23 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. |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
24 Also, if repetitive regions were not included in the mapping of reads, the effective genome size needs to be adjusted accordingly. Sizes are from the MACS2 website (--gsize)"> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
25 <option value="2700000000">H. sapiens (2.7e9)</option> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
26 <option value="1870000000">M. musculus (1.87e9)</option> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
27 <option value="120000000">D. melanogaster (1.2e8)</option> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
28 <option value="90000000">C. elegans (9e7)</option> |
0 | 29 <option value="user_defined">User defined</option> |
30 </param> | |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
31 <when value="2700000000" /> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
32 <when value="1870000000" /> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
33 <when value="120000000" /> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
34 <when value="90000000" /> |
0 | 35 <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
|
36 <param name="gsize" type="integer" label="Effective genome size" value=""/> |
0 | 37 </when> |
38 </conditional> | |
39 </xml> | |
40 | |
41 <xml name="keep_duplicates"> | |
42 <conditional name="keep_dup_options"> | |
43 <param name="keep_dup_options_selector" type="select" label="How many duplicate tags at the exact same location are allowed?" | |
44 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)"> | |
45 <option value="1" selected="true">1</option> | |
46 <option value="all">all</option> | |
47 <option value="auto">auto</option> | |
48 <option value="user">user defined</option> | |
49 </param> | |
50 <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
|
51 <param name="user_keepdup" type="integer" value="1" label="Keep at most this number of tags at the exact same location" |
0 | 52 help=""/> |
53 </when> | |
54 <when value="1" /> | |
55 <when value="all" /> | |
56 <when value="auto" /> | |
57 </conditional> | |
58 </xml> | |
59 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
60 <xml name="mfold_options"> |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
61 <section name="mfold" title="Mfold settings" expanded="True" |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
62 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" > |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
63 <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
|
64 <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
|
65 </section> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
66 </xml> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
67 |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
68 <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
|
69 --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
|
70 </token> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
71 |
0 | 72 <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
|
73 #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
|
74 --gsize '${ effective_genome_size_options.gsize }' |
0 | 75 #else: |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
76 --gsize '${ effective_genome_size_options.effective_genome_size_options_selector }' |
0 | 77 #end if |
78 </token> | |
79 | |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
80 <xml name="buffer_size"> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
81 <param argument="--buffer-size" type="integer" min="0" value="100000" label="Buffer size" |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
82 help="Buffer size for incrementally increasing internal array size to store reads alignment information. In most cases, you don't have to change this parameter. |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
83 However, if there are large number of chromosomes/contigs/scaffolds in your alignment, it's recommended to specify a smaller buffer size in order to |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
84 decrease memory usage (but it will take longer time to read alignment files)." /> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
85 </xml> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
86 |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
87 <token name="@buffer_size@"> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
88 --buffer-size $buffer_size |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
89 </token> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
90 |
0 | 91 <xml name="version_command"> |
92 <version_command>macs2 --version</version_command> | |
93 </xml> | |
94 | |
95 <xml name="tag_size"> | |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
96 <param argument="--tsize" type="integer" label="Tag size" value="" optional="true" |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
97 help="This will override the auto detected tag size. Per default that option is deactivated: -1.0 " /> |
0 | 98 </xml> |
99 <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
|
100 <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
|
101 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
|
102 help=" You can set this parameter as the medium fragment size expected from sonication or size selection. (--bw)" /> |
0 | 103 </xml> |
104 | |
18
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
105 <xml name="fragment_size"> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
106 <param argument="--d-min" type="integer" value="20" |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
107 label="Minimum fragment size in basepair" |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
108 help="Any predicted fragment size less than this will be excluded."/> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
109 </xml> |
640d3af5d833
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
9
diff
changeset
|
110 |
0 | 111 <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
|
112 #if $tsize: |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
113 --tsize '${ tsize }' |
0 | 114 #end if |
115 </token> | |
116 | |
117 <xml name="stdio"> | |
118 <stdio> | |
119 <exit_code range="1:" /> | |
120 <exit_code range=":-1" /> | |
121 <regex match="Error:" /> | |
122 <regex match="Exception:" /> | |
123 </stdio> | |
124 </xml> | |
125 | |
126 <token name="@citation@"> | |
127 ------ | |
128 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
129 Integration of MACS2 with Galaxy performed by Ziru Zhou and Bjoern Gruening. |
0 | 130 |
131 </token> | |
132 <xml name="citations"> | |
133 <citations> | |
134 <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
|
135 <citation type="doi">10.1038/nprot.2012.101</citation> |
0 | 136 </citations> |
137 </xml> | |
138 </macros> |