Mercurial > repos > iuc > macs2
annotate macs2_macros.xml @ 9:acbd3fb47f90 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
author | iuc |
---|---|
date | Thu, 25 Jan 2018 02:11:52 -0500 |
parents | e8a060164e11 |
children | 640d3af5d833 |
rev | line source |
---|---|
0 | 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 | 4 <xml name="requirements"> |
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> |
8
e8a060164e11
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents:
5
diff
changeset
|
7 <requirement type="package" version="3.4">r-base</requirement> |
0 | 8 <yield /> |
9 </requirements> | |
10 </xml> | |
11 | |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
12 <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
|
13 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
|
14 ]]></token> |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
15 |
0 | 16 <xml name="conditional_effective_genome_size"> |
17 <conditional name="effective_genome_size_options"> | |
18 <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
|
19 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
|
20 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
|
21 <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
|
22 <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
|
23 <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
|
24 <option value="90000000">C. elegans (9e7)</option> |
0 | 25 <option value="user_defined">User defined</option> |
26 </param> | |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
8
diff
changeset
|
27 <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
|
28 <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
|
29 <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
|
30 <when value="90000000" /> |
0 | 31 <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
|
32 <param name="gsize" type="integer" label="Effective genome size" value=""/> |
0 | 33 </when> |
34 </conditional> | |
35 </xml> | |
36 | |
37 <xml name="keep_duplicates"> | |
38 <conditional name="keep_dup_options"> | |
39 <param name="keep_dup_options_selector" type="select" label="How many duplicate tags at the exact same location are allowed?" | |
40 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)"> | |
41 <option value="1" selected="true">1</option> | |
42 <option value="all">all</option> | |
43 <option value="auto">auto</option> | |
44 <option value="user">user defined</option> | |
45 </param> | |
46 <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
|
47 <param name="user_keepdup" type="integer" value="1" label="Keep at most this number of tags at the exact same location" |
0 | 48 help=""/> |
49 </when> | |
50 <when value="1" /> | |
51 <when value="all" /> | |
52 <when value="auto" /> | |
53 </conditional> | |
54 </xml> | |
55 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
56 <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
|
57 <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
|
58 <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
|
59 <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
|
60 </section> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
61 </xml> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
62 |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
63 <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
|
64 --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
|
65 </token> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
66 |
0 | 67 <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
|
68 #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
|
69 --gsize '${ effective_genome_size_options.gsize }' |
0 | 70 #else: |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
71 --gsize '${ effective_genome_size_options.effective_genome_size_options_selector }' |
0 | 72 #end if |
73 </token> | |
74 | |
75 <xml name="version_command"> | |
76 <version_command>macs2 --version</version_command> | |
77 </xml> | |
78 | |
79 <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
|
80 <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
|
81 help="This will override the auto detected tag size. Per default that option is deactivated: -1.0 (--tsize)" /> |
0 | 82 </xml> |
83 <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
|
84 <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
|
85 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
|
86 help=" You can set this parameter as the medium fragment size expected from sonication or size selection. (--bw)" /> |
0 | 87 </xml> |
88 | |
89 <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
|
90 #if $tsize: |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
91 --tsize '${ tsize }' |
0 | 92 #end if |
93 </token> | |
94 | |
95 <xml name="stdio"> | |
96 <stdio> | |
97 <exit_code range="1:" /> | |
98 <exit_code range=":-1" /> | |
99 <regex match="Error:" /> | |
100 <regex match="Exception:" /> | |
101 </stdio> | |
102 </xml> | |
103 | |
104 <token name="@citation@"> | |
105 ------ | |
106 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
3
diff
changeset
|
107 Integration of MACS2 with Galaxy performed by Ziru Zhou and Bjoern Gruening. |
0 | 108 |
109 </token> | |
110 <xml name="citations"> | |
111 <citations> | |
112 <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
|
113 <citation type="doi">10.1038/nprot.2012.101</citation> |
0 | 114 </citations> |
115 </xml> | |
116 </macros> |