annotate macs2_randsample.xml @ 2:bfe57d6e0c4c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
author iuc
date Mon, 12 Oct 2015 11:24:39 -0400
parents fe62ba547975
children beb902da6e5f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
1 <tool id="macs2_randsample" name="MACS2 randsample" version="@VERSION_STRING@.0">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <description>Randomly sample number or percentage of total reads</description>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
3 <macros>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
4 <import>macs2_macros.xml</import>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
5 </macros>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
6 <expand macro="requirements" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
7 <expand macro="stdio" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
8 <expand macro="version_command" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 <command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
10 macs2 randsample
fe62ba547975 Uploaded
iuc
parents:
diff changeset
11 -t "${ infile }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 -o "${ outfile }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 --format '${ infile.extension.upper() }'
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16 @tag_size@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 #if $method_options.method_options_selector == 'percentage':
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18 --percentage "${ method_options.percentage }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
19 #else:
fe62ba547975 Uploaded
iuc
parents:
diff changeset
20 --number "${ method_options.number }"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
22 </command>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
23 <inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
24 <param name="infile" type="data" format="sam,bam,bed" label="Sequencing alignment file" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25 <expand macro="tag_size" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
26
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 <conditional name="method_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28 <param name="method_options_selector" type="select" label="Select action to be performed">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29 <option value="percentage" selected="true">Percentage</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 <option value="number">Number</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 <when value="percentage">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33 <param name="percentage" type="float" value="80.0" label="Pvalue cutoff for binomial distribution test" help="(--percentage)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35 <when value="number">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
36 <param name="number" type="integer" value="800000" label="Number of tags you want to keep" help="Note that the number of tags in output is approximate as the number specified here (--number)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 <data name="outfile" format="bed" label="${tool.name} on ${on_string}" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 <tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <!-- No test, due to the randomness -->
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 </tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 <help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
48
fe62ba547975 Uploaded
iuc
parents:
diff changeset
49 randsample tool from macs2
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50
fe62ba547975 Uploaded
iuc
parents:
diff changeset
51 @citation@
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
53 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 </tool>