Mercurial > repos > iuc > macs2
annotate macs2_randsample.xml @ 4:56e104999978 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
author | iuc |
---|---|
date | Mon, 06 Feb 2017 02:30:37 -0500 |
parents | bfe57d6e0c4c |
children | beb902da6e5f |
rev | line source |
---|---|
0 | 1 <tool id="macs2_randsample" name="MACS2 randsample" version="@VERSION_STRING@.0"> |
2 <description>Randomly sample number or percentage of total reads</description> | |
3 <macros> | |
4 <import>macs2_macros.xml</import> | |
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 | 9 <command> |
10 macs2 randsample | |
11 -t "${ infile }" | |
12 -o "${ outfile }" | |
13 | |
14 --format '${ infile.extension.upper() }' | |
15 | |
16 @tag_size@ | |
17 #if $method_options.method_options_selector == 'percentage': | |
18 --percentage "${ method_options.percentage }" | |
19 #else: | |
20 --number "${ method_options.number }" | |
21 #end if | |
22 </command> | |
23 <inputs> | |
24 <param name="infile" type="data" format="sam,bam,bed" label="Sequencing alignment file" /> | |
25 <expand macro="tag_size" /> | |
26 | |
27 <conditional name="method_options"> | |
28 <param name="method_options_selector" type="select" label="Select action to be performed"> | |
29 <option value="percentage" selected="true">Percentage</option> | |
30 <option value="number">Number</option> | |
31 </param> | |
32 <when value="percentage"> | |
33 <param name="percentage" type="float" value="80.0" label="Pvalue cutoff for binomial distribution test" help="(--percentage)" /> | |
34 </when> | |
35 <when value="number"> | |
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)" /> | |
37 </when> | |
38 </conditional> | |
39 </inputs> | |
40 <outputs> | |
41 <data name="outfile" format="bed" label="${tool.name} on ${on_string}" /> | |
42 </outputs> | |
43 <tests> | |
44 <!-- No test, due to the randomness --> | |
45 </tests> | |
46 <help> | |
47 **What it does** | |
48 | |
49 randsample tool from macs2 | |
50 | |
51 @citation@ | |
52 </help> | |
53 <expand macro="citations" /> | |
54 </tool> |