diff --git a/test/intersect/test-intersect.sh b/test/intersect/test-intersect.sh index 40e2ec487651044a4c43baa0877e63547555eaa4..9bc18f45d42efebcdd431cb51b39087b5fa5c16a 100644 --- a/test/intersect/test-intersect.sh +++ b/test/intersect/test-intersect.sh @@ -129,6 +129,16 @@ $BT intersect -a a.bed -b b.bed -wo -s > obs check obs exp rm obs exp + +########################################################### +# Test with -wo (write overlap) with -split +############################################################ +echo " intersect.t11.5...\c" +echo "chr1 0 50 three_blocks_match 0 + 0 0 0 3 10,10,10, 0,20,40, chr1 5 15 5" > exp +$BT intersect -a three_blocks_match.bed -b d.bed -split -wo > obs +check obs exp +rm obs exp + ########################################################### # Test with -wao (write all overlap) with -s ############################################################