annotate macs2_randsample.xml @ 19:86e2413cf3f8 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
author iuc
date Mon, 16 Oct 2023 13:18:37 +0000
parents 640d3af5d833
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
1 <tool id="macs2_randsample" name="MACS2 randsample" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
19
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
2 <description>Randomly sample number or percentage of total reads</description>
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
3 <macros>
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
4 <import>macs2_macros.xml</import>
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
5 </macros>
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
6 <expand macro="bio_tools"/>
2
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="requirements" />
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="stdio" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
9 <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
10 <command><![CDATA[
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 5
diff changeset
11 @home_dir@
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
12 macs2 randsample
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
13 -i '${ infile }'
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
14 -o '${ outfile }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
15 --seed '${ seed }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
16
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
17 --format '${ infile.extension.upper() }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
19 @tag_size@
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
20
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
21 #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
22 --percentage '${ method_options.percentage }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
23 #else:
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
24 --number '${ method_options.number }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25 #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
26 ]]></command>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 <inputs>
17
424aefbd7777 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 9
diff changeset
28 <param name="infile" type="data" format="bam,bed" label="Sequencing alignment file" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
29 <expand macro="tag_size" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
30 <conditional name="method_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
31 <param name="method_options_selector" type="select" label="Select action to be performed">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
32 <option value="percentage" selected="true">Percentage</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
33 <option value="number">Number</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35 <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
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)"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
38 <when value="number">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
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)" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
41 </conditional>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
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)"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
43 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 <data name="outfile" format="bed" label="${tool.name} on ${on_string}" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
47 <tests>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
48 <test>
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="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
50 <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
51 <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
52 <param name="seed" value="1" />
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
53 <output name="outfile">
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
54 <assert_contents>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
55 <has_text text="27179762" />
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
56 <has_text text="4441986" />
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
57 <has_size value="4787911" delta="500"/>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
58 </assert_contents>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
59 </output>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
60 </test>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
61 </tests>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
62 <help>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
63 <![CDATA[
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
64 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
65
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
66 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
67
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
68 .. _MACS2: https://github.com/taoliu/MACS
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
69
fe62ba547975 Uploaded
iuc
parents:
diff changeset
70 @citation@
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 2
diff changeset
71 ]]>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
72 </help>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
73 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
74 </tool>