Mercurial > repos > iuc > bedtools
annotate randomBed.xml @ 21:b3c147390100 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3113ecabff4cd259d175b638fd5ff14f0fce6da1
author | iuc |
---|---|
date | Wed, 10 Jan 2018 19:30:53 -0500 |
parents | a8eabd2838f6 |
children | 4f7a5ccd2ae9 |
rev | line source |
---|---|
19
a8eabd2838f6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents:
17
diff
changeset
|
1 <tool id="bedtools_randombed" name="RandomBed" version="@WRAPPER_VERSION@.0"> |
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 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <expand macro="stdio" /> | |
8 <command> | |
1 | 9 <![CDATA[ |
0 | 10 bedtools random |
17
44867b59dbf2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents:
4
diff
changeset
|
11 -g @GENOME_FILE@ |
0 | 12 -l $length |
13 -n $intervals | |
2 | 14 #if str($seed.seed_choose) == "True": |
1 | 15 -seed $seed.seed |
0 | 16 #end if |
1 | 17 > "$output" |
18 ]]> | |
0 | 19 </command> |
20 <inputs> | |
17
44867b59dbf2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents:
4
diff
changeset
|
21 <expand macro="input_conditional_genome_file" /> |
1 | 22 <param name="length" type="integer" value="100" label="The length of the intervals to generate" help="(-l)" /> |
23 <param name="intervals" type="integer" value="1000000" label="The number of intervals to generate" help="(-n)" /> | |
0 | 24 <expand macro="seed" /> |
25 </inputs> | |
26 <outputs> | |
27 <data format="bed" name="output" /> | |
28 </outputs> | |
1 | 29 <tests> |
30 <test> | |
17
44867b59dbf2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents:
4
diff
changeset
|
31 <param name="genome_file_opts_selector" value="hist" /> |
1 | 32 <param name="genome" value="mm9_chr1.len" /> |
2 | 33 <param name="seed_choose" value="False" /> |
1 | 34 <param name="length" value="5" /> |
35 <param name="intervals" value="3" /> | |
2 | 36 <output name="output"> |
37 <assert_contents> | |
38 <has_text_matching expression="chr1" /> | |
39 <has_n_columns n="6" /> | |
40 </assert_contents> | |
41 </output> | |
1 | 42 </test> |
43 </tests> | |
0 | 44 <help> |
1 | 45 <![CDATA[ |
0 | 46 **What it does** |
47 | |
48 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. | |
49 | |
50 @REFERENCES@ | |
1 | 51 ]]> |
0 | 52 </help> |
53 <expand macro="citations" /> | |
54 </tool> |