Mercurial > repos > iuc > bedtools
diff randomBed.xml @ 1:82aac94b06c3 draft
Uploaded
author | iuc |
---|---|
date | Thu, 08 Jan 2015 14:25:51 -0500 |
parents | b8348686a0b9 |
children | 457b09031d57 |
line wrap: on
line diff
--- a/randomBed.xml Tue Nov 04 01:45:04 2014 -0500 +++ b/randomBed.xml Thu Jan 08 14:25:51 2015 -0500 @@ -6,30 +6,44 @@ <expand macro="requirements" /> <expand macro="stdio" /> <command> +<![CDATA[ bedtools random -g $genome -l $length -n $intervals - #if $seed.choose: - -seed $seed.seed + #if $seed.seed_choose: + -seed $seed.seed #end if + > "$output" +]]> </command> <inputs> <expand macro="genome" /> - <param name="length" type="integer" value="100" label="The length of the intervals to generate." /> - <param name="intervals" type="integer" value="1000000" label="The number of intervals to generate." /> + <param name="length" type="integer" value="100" label="The length of the intervals to generate" help="(-l)" /> + <param name="intervals" type="integer" value="1000000" label="The number of intervals to generate" help="(-n)" /> <expand macro="seed" /> </inputs> <outputs> <data format="bed" name="output" /> </outputs> + <tests> + <test> + <param name="genome" value="mm9_chr1.len" /> + <param name="seed_choose" value="True" /> + <param name="seed" value="1" /> + <param name="length" value="5" /> + <param name="intervals" value="3" /> + <output name="output" file="randomBed_result1.bed" ftype="bed" /> + </test> + </tests> <help> - +<![CDATA[ **What it does** 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. @REFERENCES@ +]]> </help> <expand macro="citations" /> </tool>