Mercurial > repos > iuc > macs2
annotate macs2_randsample.xml @ 63:25e46cf1ee36 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
author | iuc |
---|---|
date | Sat, 02 Apr 2022 21:36:50 +0000 |
parents | 1ac88e46ee0f |
children |
rev | line source |
---|---|
63
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
1 <tool id="macs2_randsample" name="MACS2 randsample" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> |
33 | 2 <description>Randomly sample number or percentage of total reads</description> |
62
1ac88e46ee0f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
61
diff
changeset
|
3 <expand macro="bio_tools"/> |
33 | 4 <macros> |
5 <import>macs2_macros.xml</import> | |
6 </macros> | |
36
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="requirements" /> |
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="stdio" /> |
8c8ae1e19b10
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
33
diff
changeset
|
9 <expand macro="version_command" /> |
53
8f6b37d29df5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
49
diff
changeset
|
10 <command><![CDATA[ |
8f6b37d29df5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
49
diff
changeset
|
11 @home_dir@ |
33 | 12 macs2 randsample |
63
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
13 -i '${ infile }' |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
14 -o '${ outfile }' |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
15 --seed '${ seed }' |
33 | 16 |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
17 --format '${ infile.extension.upper() }' |
33 | 18 |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
19 @tag_size@ |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
20 |
33 | 21 #if $method_options.method_options_selector == 'percentage': |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
22 --percentage '${ method_options.percentage }' |
33 | 23 #else: |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
24 --number '${ method_options.number }' |
33 | 25 #end if |
53
8f6b37d29df5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents:
49
diff
changeset
|
26 ]]></command> |
33 | 27 <inputs> |
61
644444825ef9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents:
53
diff
changeset
|
28 <param name="infile" type="data" format="bam,bed" label="Sequencing alignment file" /> |
33 | 29 <expand macro="tag_size" /> |
30 <conditional name="method_options"> | |
31 <param name="method_options_selector" type="select" label="Select action to be performed"> | |
32 <option value="percentage" selected="true">Percentage</option> | |
33 <option value="number">Number</option> | |
34 </param> | |
35 <when value="percentage"> | |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
36 <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)"/> |
33 | 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> | |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
42 <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)"/> |
33 | 43 </inputs> |
44 <outputs> | |
45 <data name="outfile" format="bed" label="${tool.name} on ${on_string}" /> | |
46 </outputs> | |
47 <tests> | |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
48 <test> |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
49 <param name="infile" value="ChIP_200K.bed" ftype="bed" /> |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
50 <param name="method_options_selector" value="percentage" /> |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
51 <param name="percentage" value="80.0" /> |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
52 <param name="seed" value="1" /> |
63
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
53 <output name="outfile"> |
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
54 <assert_contents> |
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
55 <has_text text="27179762" /> |
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
56 <has_text text="4441986" /> |
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
57 <has_size value="4787911" delta="500"/> |
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
58 </assert_contents> |
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
59 </output> |
25e46cf1ee36
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents:
62
diff
changeset
|
60 </test> |
33 | 61 </tests> |
62 <help> | |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
63 <![CDATA[ |
33 | 64 **What it does** |
65 | |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
66 This is **randsample** utility from the MACS2_ Package. It randomly samples reads by number or percentage from an input file. |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
67 |
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
68 .. _MACS2: https://github.com/taoliu/MACS |
33 | 69 |
70 @citation@ | |
49
1b3f899ef044
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents:
36
diff
changeset
|
71 ]]> |
33 | 72 </help> |
73 <expand macro="citations" /> | |
74 </tool> |