Mercurial > repos > iuc > macs2
annotate macs2_randsample.xml @ 13:01cded2297b7 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 1cf6ca65ca6bbf3553d830f13be1760dcd667cae
author | iuc |
---|---|
date | Fri, 04 May 2018 21:39:56 -0400 |
parents | acbd3fb47f90 |
children | 424aefbd7777 |
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" /> |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
9 <command><![CDATA[ |
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
10 @home_dir@ |
0 | 11 macs2 randsample |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
12 -t '${ infile }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
13 -o '${ outfile }' |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
14 --seed '${ seed }' |
0 | 15 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
16 --format '${ infile.extension.upper() }' |
0 | 17 |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
18 @tag_size@ |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
19 |
0 | 20 #if $method_options.method_options_selector == 'percentage': |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
21 --percentage '${ method_options.percentage }' |
0 | 22 #else: |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
23 --number '${ method_options.number }' |
0 | 24 #end if |
9
acbd3fb47f90
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
5
diff
changeset
|
25 ]]></command> |
0 | 26 <inputs> |
27 <param name="infile" type="data" format="sam,bam,bed" label="Sequencing alignment file" /> | |
28 <expand macro="tag_size" /> | |
29 <conditional name="method_options"> | |
30 <param name="method_options_selector" type="select" label="Select action to be performed"> | |
31 <option value="percentage" selected="true">Percentage</option> | |
32 <option value="number">Number</option> | |
33 </param> | |
34 <when value="percentage"> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
35 <param name="percentage" type="float" value="80.0" label="Percentage of tags you want to keep" help="Percentage of tags you want to keep. Input 80.0 for 80%.(--percentage)"/> |
0 | 36 </when> |
37 <when value="number"> | |
38 <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)" /> | |
39 </when> | |
40 </conditional> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
41 <param name="seed" type="integer" value="1" label="Random seed number" min="0" help="Set the random seed while down sampling data. Must be a positive integer in order to be effective. (--seed)"/> |
0 | 42 </inputs> |
43 <outputs> | |
44 <data name="outfile" format="bed" label="${tool.name} on ${on_string}" /> | |
45 </outputs> | |
46 <tests> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
47 <test> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
48 <param name="infile" value="ChIP_200K.bed" ftype="bed" /> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
49 <param name="method_options_selector" value="percentage" /> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
50 <param name="percentage" value="80.0" /> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
51 <param name="seed" value="1" /> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
52 <output name="outfile" file="bdgrandsample_output.bed"/> |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
53 </test> |
0 | 54 </tests> |
55 <help> | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
56 <![CDATA[ |
0 | 57 **What it does** |
58 | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
59 This is **randsample** utility from the MACS2_ Package. It randomly samples reads by number or percentage from an input file. |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
60 |
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
61 .. _MACS2: https://github.com/taoliu/MACS |
0 | 62 |
63 @citation@ | |
5
beb902da6e5f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
2
diff
changeset
|
64 ]]> |
0 | 65 </help> |
66 <expand macro="citations" /> | |
67 </tool> |