Mercurial > repos > iuc > macs2
annotate macs2_randsample.xml @ 42:8f48c6ac8293 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 48fbe322d0f3ec023186989104ae4f4188b03a1d
| author | iuc | 
|---|---|
| date | Mon, 01 Jun 2015 22:48:32 -0400 | 
| parents | 8c8ae1e19b10 | 
| children | 1b3f899ef044 | 
| rev | line source | 
|---|---|
| 33 | 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> | |
| 
36
 
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
 
iuc 
parents: 
33 
diff
changeset
 | 
6 <expand macro="requirements" /> | 
| 
 
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
 
iuc 
parents: 
33 
diff
changeset
 | 
7 <expand macro="stdio" /> | 
| 
 
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
 
iuc 
parents: 
33 
diff
changeset
 | 
8 <expand macro="version_command" /> | 
| 33 | 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> | 
