Mercurial > repos > iuc > macs2
annotate macs2_macros.xml @ 50:332bb7b61205 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:24 -0400 |
| parents | 1b3f899ef044 |
| children | 6c9ea5f92ddb |
| rev | line source |
|---|---|
| 33 | 1 <macros> |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
2 <token name="@VERSION_STRING@">2.1.1.20160309</token> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
3 |
| 33 | 4 <xml name="requirements"> |
| 5 <requirements> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
6 <requirement type="package" version="@VERSION_STRING@">macs2</requirement> |
| 33 | 7 <yield /> |
| 8 </requirements> | |
| 9 </xml> | |
| 10 | |
| 11 <xml name="conditional_effective_genome_size"> | |
| 12 <conditional name="effective_genome_size_options"> | |
| 13 <param name="effective_genome_size_options_selector" type="select" label="Effective genome size" | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
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. |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
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)"> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
16 <option value="2451960000">H. sapiens (2,451,960,000)</option> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
17 <option value="2150570000">M. musculus (2,150,570,000)</option> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
18 <option value="121400000">D. melanogaster (121,400,000)</option> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
19 <option value="93260000">C. elegans (93,260,000)</option> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
20 <option value="12400000">S. cerevisiae (12,400,000)</option> |
| 33 | 21 <option value="user_defined">User defined</option> |
| 22 </param> | |
|
37
3c2458d1fbf3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 40cf370ec93cf9d87210528e6d2426a490fdf852
iuc
parents:
33
diff
changeset
|
23 <when value="2451960000" /> |
|
3c2458d1fbf3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 40cf370ec93cf9d87210528e6d2426a490fdf852
iuc
parents:
33
diff
changeset
|
24 <when value="2150570000" /> |
|
3c2458d1fbf3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 40cf370ec93cf9d87210528e6d2426a490fdf852
iuc
parents:
33
diff
changeset
|
25 <when value="121400000" /> |
|
3c2458d1fbf3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 40cf370ec93cf9d87210528e6d2426a490fdf852
iuc
parents:
33
diff
changeset
|
26 <when value="93260000" /> |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
27 <when value="12400000" /> |
| 33 | 28 <when value="user_defined"> |
|
44
37f53bf6c2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents:
37
diff
changeset
|
29 <param name="gsize" type="integer" label="Effective genome size" value=""/> |
| 33 | 30 </when> |
| 31 </conditional> | |
| 32 </xml> | |
| 33 | |
| 34 <xml name="keep_duplicates"> | |
| 35 <conditional name="keep_dup_options"> | |
| 36 <param name="keep_dup_options_selector" type="select" label="How many duplicate tags at the exact same location are allowed?" | |
| 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)"> | |
| 38 <option value="1" selected="true">1</option> | |
| 39 <option value="all">all</option> | |
| 40 <option value="auto">auto</option> | |
| 41 <option value="user">user defined</option> | |
| 42 </param> | |
| 43 <when value="user"> | |
|
37
3c2458d1fbf3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 40cf370ec93cf9d87210528e6d2426a490fdf852
iuc
parents:
33
diff
changeset
|
44 <param name="user_keepdup" type="integer" value="1" label="Keep at most this number of tags at the exact same location" |
| 33 | 45 help=""/> |
| 46 </when> | |
| 47 <when value="1" /> | |
| 48 <when value="all" /> | |
| 49 <when value="auto" /> | |
| 50 </conditional> | |
| 51 </xml> | |
| 52 | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
53 <xml name="mfold_options"> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
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)" > |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
55 <param name="lower" type="integer" value="5" label="Set lower mfold bound" /> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
56 <param name="upper" type="integer" value="50" label="Set upper mfold bound" /> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
57 </section> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
58 </xml> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
59 |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
60 <token name="@mfold_command@"> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
61 --mfold '${mfold.lower}' '${mfold.upper}' |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
62 </token> |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
63 |
| 33 | 64 <token name="@effective_genome_size@"> |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
65 #if $effective_genome_size_options.effective_genome_size_options_selector == "user_defined": |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
66 --gsize '${ effective_genome_size_options.gsize }' |
| 33 | 67 #else: |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
68 --gsize '${ effective_genome_size_options.effective_genome_size_options_selector }' |
| 33 | 69 #end if |
| 70 </token> | |
| 71 | |
| 72 <xml name="version_command"> | |
| 73 <version_command>macs2 --version</version_command> | |
| 74 </xml> | |
| 75 | |
| 76 <xml name="tag_size"> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
77 <param name="tsize" type="integer" label="Tag size" value="" optional="true" |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
78 help="This will override the auto detected tag size. Per default that option is deactivated: -1.0 (--tsize)" /> |
| 33 | 79 </xml> |
| 80 <xml name="band_width"> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
81 <param name="band_width" type="integer" value="300" |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
82 label="Band width for picking regions to compute fragment size" |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
83 help=" You can set this parameter as the medium fragment size expected from sonication or size selection. (--bw)" /> |
| 33 | 84 </xml> |
| 85 | |
| 86 <token name="@tag_size@"> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
87 #if $tsize: |
|
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
88 --tsize '${ tsize }' |
| 33 | 89 #end if |
| 90 </token> | |
| 91 | |
| 92 <xml name="stdio"> | |
| 93 <stdio> | |
| 94 <exit_code range="1:" /> | |
| 95 <exit_code range=":-1" /> | |
| 96 <regex match="Error:" /> | |
| 97 <regex match="Exception:" /> | |
| 98 </stdio> | |
| 99 </xml> | |
| 100 | |
| 101 <token name="@citation@"> | |
| 102 ------ | |
| 103 | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
104 Integration of MACS2 with Galaxy performed by Ziru Zhou and Bjoern Gruening. |
| 33 | 105 |
| 106 </token> | |
| 107 <xml name="citations"> | |
| 108 <citations> | |
| 109 <citation type="doi">10.1186/gb-2008-9-9-r137</citation> | |
|
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
47
diff
changeset
|
110 <citation type="doi">10.1038/nprot.2012.101</citation> |
| 33 | 111 </citations> |
| 112 </xml> | |
| 113 </macros> |
