Commit 462318f5 authored by Aaron Quinlan's avatar Aaron Quinlan

Merge pull request #249 from gtamazian/test-fixes

Test fixes
parents b47dbefc f678c7ff
......@@ -284,5 +284,5 @@ $BT merge -i c.bed.gz > obs
echo -n "" > exp
check obs exp
rm a.bed.gz b.bed.gz a.bed b.bed genome.txt
rm a.bed.gz b.bed.gz c.bed.gz a.bed b.bed c.bed genome.txt exp obs
......@@ -129,7 +129,7 @@ rm obs
# output will give the correct result
###########################################################
echo " intersect.t09...\c"
cat exp1 exp2 exp3 | sort -k1,1V -k2,2n > exp
cat exp1 exp2 exp3 | sort -k1.4,1n -k2,2n > exp
$BT intersect -a query2.bed -b d4.bed d5.bed d6.bed -g g.bed -sortout > obs
check exp obs
rm obs exp1 exp2 exp3
......
......@@ -509,6 +509,7 @@ echo " intersect.t41...\c"
echo \
"22" > exp
$BT intersect -a bug167_strandSweep.bed -b bug167_strandSweep.bed -sorted -s -wa -wb | wc -l > obs
sed -i 's/^\s*//' obs
check exp obs
rm exp obs
......@@ -519,6 +520,7 @@ echo " intersect.t42...\c"
echo \
"20" > exp
$BT intersect -a bug167_strandSweep.bed -b bug167_strandSweep.bed -sorted -S -wa -wb | wc -l > obs
sed -i 's/^\s*//' obs
check exp obs
rm exp obs
......
......@@ -93,6 +93,7 @@ rm obs exp
echo " sample.new.t07...\c"
echo "10" > exp
$BT sample -i mainFile.bed -n 10 | wc -l > obs
sed -i 's/^\s*//' obs
check obs exp
#rm obs exp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment