annotate randomBed.xml @ 42:841fb4dc3ab3 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 4046c1da68a09c7a3c275f6fe890ec71470fd74d"
author iuc
date Wed, 12 Jan 2022 19:22:14 +0000
parents 7ab85ac5f64b
children 07e8b80f278c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39
3e38c9b3214f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 1e25e8d0bd1ebeb2b94c4bbdff222e56defc1fc2"
iuc
parents: 34
diff changeset
1 <tool id="bedtools_randombed" name="bedtools RandomBed" version="@TOOL_VERSION@" profile="@PROFILE@">
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 2
diff changeset
2 <description>generate random intervals in a genome</description>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 </macros>
41
7ab85ac5f64b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 500a03281ea704abc7a16d9af63d67dbdcc5cd0b"
iuc
parents: 39
diff changeset
6 <expand macro="bio_tools" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <expand macro="stdio" />
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
9 <command><![CDATA[
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
10 bedtools random
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
11 -g @GENOME_FILE@
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
12 -l $length
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
13 -n $intervals
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
14 #if str($seed.seed_choose) == "True":
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
15 -seed $seed.seed
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
16 #end if
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
17 > '$output'
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
18 ]]></command>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 <inputs>
17
44867b59dbf2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents: 4
diff changeset
20 <expand macro="input_conditional_genome_file" />
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
21 <param name="length" argument="-l" type="integer" value="100" label="The length of the intervals to generate" />
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
22 <param name="intervals" argument="-n" type="integer" value="1000000" label="The number of intervals to generate" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 <expand macro="seed" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 <outputs>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
26 <data name="output" format="bed" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
27 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
28 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
29 <test>
17
44867b59dbf2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents: 4
diff changeset
30 <param name="genome_file_opts_selector" value="hist" />
41
7ab85ac5f64b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 500a03281ea704abc7a16d9af63d67dbdcc5cd0b"
iuc
parents: 39
diff changeset
31 <param name="genome" value="mm9_chr1.len" ftype="tabular" />
2
457b09031d57 Uploaded
iuc
parents: 1
diff changeset
32 <param name="seed_choose" value="False" />
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
33 <param name="length" value="5" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
34 <param name="intervals" value="3" />
2
457b09031d57 Uploaded
iuc
parents: 1
diff changeset
35 <output name="output">
457b09031d57 Uploaded
iuc
parents: 1
diff changeset
36 <assert_contents>
457b09031d57 Uploaded
iuc
parents: 1
diff changeset
37 <has_text_matching expression="chr1" />
457b09031d57 Uploaded
iuc
parents: 1
diff changeset
38 <has_n_columns n="6" />
457b09031d57 Uploaded
iuc
parents: 1
diff changeset
39 </assert_contents>
457b09031d57 Uploaded
iuc
parents: 1
diff changeset
40 </output>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
41 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
42 </tests>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
43 <help><![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
44 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
46 bedtools random will generate a random set of intervals in BED6 format. One can specify both the number (-n) and the size (-l) of the intervals that should be generated.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
47
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
48 @REFERENCES@
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
49 ]]></help>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
50 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
51 </tool>