annotate macs2_macros.xml @ 0:fe62ba547975 draft

Uploaded
author iuc
date Wed, 11 Feb 2015 10:18:02 -0500
parents
children bfe57d6e0c4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
1 <macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <xml name="requirements">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
3 <requirements>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <requirement type="package" version="2.1.0">macs2</requirement>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 <requirement type="package" version="1.7.1">numpy</requirement>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
6 <requirement type="package" version="0.12.0">scipy</requirement>
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 <token name="@VERSION_STRING@">2.1.0.20140616</token>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 <xml name="conditional_effective_genome_size">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 <conditional name="effective_genome_size_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 <param name="effective_genome_size_options_selector" type="select" label="Effective genome size"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 help="The effective genome size is the portion of the genome that is mappable. Large fractions of the genome are stretches of NNNN that should be discarded.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 Also, if repetitive regions were not included in the mapping of reads, the effective genome size needs to be adjusted accordingly.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18 See Table 2 of http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0030377 or http://www.nature.com/nbt/journal/v27/n1/fig_tab/nbt.1518_T1.html for several effective genome sizes. (--gsize)">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19 <option value="2451960000">Human (2,451,960,000)</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20 <option value="2150570000">Mouse (2,150,570,000)</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21 <option value="121400000">Fly (121,400,000)</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
22 <option value="93260000">Worm (93,260,000)</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
23 <option value="user_defined">User defined</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
24 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25 <when value="user_defined">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26 <param name="gsize" type="integer" size="12" label="Effective genome size" value=""/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 <xml name="keep_duplicates">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 <conditional name="keep_dup_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33 <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
34 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
35 <option value="1" selected="true">1</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 <option value="all">all</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 <option value="auto">auto</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 <option value="user">user defined</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 <when value="user">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 <param name="user_keepdup" type="integer" value="1" label="Keep at most this number of tags at the exact same location"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 help=""/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <when value="1" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 <when value="all" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 <when value="auto" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50 <token name="@effective_genome_size@">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
51 #if $effective_genome_size_options.effective_genome_size_options_selector == 'user_defined':
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52 --gsize "${ effective_genome_size_options.gsize }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
53 #else:
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 --gsize "${ effective_genome_size_options.effective_genome_size_options_selector }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
55 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56 </token>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
57
fe62ba547975 Uploaded
iuc
parents:
diff changeset
58 <xml name="version_command">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
59 <version_command>macs2 --version</version_command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
60 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
61
fe62ba547975 Uploaded
iuc
parents:
diff changeset
62 <xml name="tag_size">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
63 <param name="tsize" type="float" label="Tag size" value="-1.0" help="This will override the auto detected tag size. Per default that option is deactivated: -1.0 (--tsize)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
64 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
65 <xml name="band_width">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
66 <param name="band_width" type="integer" value="300" label="Band width for picking regions to compute fragment size"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
67 help="This value is only used while building the shifting model. (--bw)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
68 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
69
fe62ba547975 Uploaded
iuc
parents:
diff changeset
70 <token name="@tag_size@">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
71 #if $tsize == -1.0:
fe62ba547975 Uploaded
iuc
parents:
diff changeset
72 --tsize "${ tsize }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
73 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
74 </token>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
75
fe62ba547975 Uploaded
iuc
parents:
diff changeset
76 <xml name="stdio">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
77 <stdio>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
78 <exit_code range="1:" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
79 <exit_code range=":-1" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
80 <regex match="Error:" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
81 <regex match="Exception:" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
82 </stdio>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
83 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
84
fe62ba547975 Uploaded
iuc
parents:
diff changeset
85 <token name="@citation@">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
86 ------
fe62ba547975 Uploaded
iuc
parents:
diff changeset
87
fe62ba547975 Uploaded
iuc
parents:
diff changeset
88 **Citation**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
89
fe62ba547975 Uploaded
iuc
parents:
diff changeset
90 For the underlying tool, please cite Zhang Y, Liu T, Meyer CA, Eeckhoute J, Johnson DS, Bernstein BE, Nusbaum C, Myers RM, Brown M, Li W, Liu XS. Model-based analysis of ChIP-Seq (MACS). Genome Biol. 2008;9(9):R137.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
91
fe62ba547975 Uploaded
iuc
parents:
diff changeset
92 Integration of MACS2 with Galaxy performed by Ziru Zhou and Bjoern Gruening.
fe62ba547975 Uploaded
iuc
parents:
diff changeset
93 </token>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
94 <xml name="citations">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
95 <citations>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
96 <citation type="doi">10.1186/gb-2008-9-9-r137</citation>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
97 </citations>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
98 </xml>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
99 </macros>