Mercurial > repos > iuc > bedtools
changeset 6:e715c92702d5 draft
Uploaded
author | iuc |
---|---|
date | Thu, 26 Feb 2015 22:41:43 -0500 |
parents | cc2841d84761 |
children | 76db45de75c6 |
files | randomBed.xml test-data/randomBed_result1.bed |
diffstat | 2 files changed, 16 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/randomBed.xml Wed Feb 25 22:42:21 2015 -0500 +++ b/randomBed.xml Thu Feb 26 22:41:43 2015 -0500 @@ -11,7 +11,7 @@ -g $genome -l $length -n $intervals - #if $seed.seed_choose: + #if str($seed.seed_choose) == "True": -seed $seed.seed #end if > "$output" @@ -35,6 +35,18 @@ <param name="intervals" value="3" /> <output name="output" file="randomBed_result1.bed" ftype="bed" /> </test> + <test> + <param name="genome" value="mm9_chr1.len" /> + <param name="seed_choose" value="False" /> + <param name="length" value="5" /> + <param name="intervals" value="3" /> + <output name="output"> + <assert_contents> + <has_text_matching expression="chr1" /> + <has_n_columns n="6" /> + </assert_contents> + </output> + </test> </tests> <help> <![CDATA[
--- a/test-data/randomBed_result1.bed Wed Feb 25 22:42:21 2015 -0500 +++ b/test-data/randomBed_result1.bed Thu Feb 26 22:41:43 2015 -0500 @@ -1,3 +1,3 @@ -chr1 115594142 115594147 1 5 + -chr1 167415497 167415502 2 5 - -chr1 191692404 191692409 3 5 - +chr1 163032793 163032798 1 5 + +chr1 184253514 184253519 2 5 - +chr1 41422918 41422923 3 5 +