comparison macs2_randsample.xml @ 0:9c157b556c33 draft

Uploaded
author iuc
date Thu, 16 Jan 2014 13:31:17 -0500
parents
children d202e3d663bb
comparison
equal deleted inserted replaced
-1:000000000000 0:9c157b556c33
1 <tool id="macs2_randsamoke" name="Randomly sample number or percentage" version="2.0.10.0">
2 <description>of total reads</description>
3 <requirements>
4 <requirement type="python-module">macs2</requirement>
5 <requirement type="python-module">numpy</requirement>
6 <requirement type="package" version="2.0.10.2">macs2</requirement>
7 <requirement type="package" version="1.7.1">numpy</requirement>
8 </requirements>
9 <command>
10 macs2 randsample
11 -t $infile
12 -o $outfile
13
14 --format '$ifile.extension.upper()'
15
16 --tsize $tsize
17 #if str($method_options.method_options_selector ) == 'percentage':
18 $method_options.percentage
19 #else:
20 $method_options.number
21 #end if
22
23 </command>
24 <inputs>
25
26 <!--may need to add a few more formats at later time-->
27 <param name="infile" type="data" format="sam,bam,bed" label="Sequencing alignment file" />
28 <param name="tsize" type="float" label="Tag size" value="-1.0" help="This will overide the auto detected tag size. DEFAULT: Not set (-1.0) (--tsize)" />
29
30 <conditional name="method_options">
31 <param name="method_options_selector" type="select" label="Select action to be performed">
32 <option value="percentage">Percentage</option>
33 <option value="number">Number</option>
34 </param>
35 <when value="percentage">
36 <param name="percentage" type="float" value="80.0" label="Pvalue cutoff for binomial distribution test" help="(--percentage)" />
37 </when>
38 <when value="number">
39 <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)" />
40 </when>
41 </conditional>
42
43 </inputs>
44 <outputs>
45 <data name="outfile" format="bed" label="${tool.name} on ${on_string}" />
46 </outputs>
47 <tests>
48 <!--none yet for macs2-->
49 </tests>
50 <help>
51 **What it does**
52
53 randsample tool from macs2
54 ------
55
56 **Citation**
57
58 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.
59
60 Integration of MACS2 with Galaxy performed by Ziru Zhou ( ziruzhou@gmail.com ). Please send your comments/questions to modENCODE DCC at help@modencode.org.
61 </help>
62 </tool>