Skip to content
Snippets Groups Projects
Commit 46c217fb authored by nkindlon's avatar nkindlon
Browse files

new unit tests for intersect

parent 35f181ba
No related branches found
No related tags found
No related merge requests found
File added
File added
File added
File added
BT=${BT-../../bin/bedtools}
check()
{
if diff $1 $2; then
echo ok
else
echo fail
fi
}
###########################################################
# Test intersection of a as bed from file vs b as bed from file
############################################################
echo " intersect.t01...\c"
echo \
"chr1 100 101 a2 2 -
chr1 100 110 a2 2 -" > exp
$BT intersect -a a.bed -b b.bed > obs
check obs exp
rm obs exp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment