Skip to content

Commit

Permalink
add test for (fixed) arq5x#919
Browse files Browse the repository at this point in the history
  • Loading branch information
brentp committed Jan 29, 2023
1 parent 9fdda39 commit 397c215
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/intersect/issue-919.bed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chr1 46626685 46645317 1527 4.01 . 46626685 46645317 128,0,128 102 1,104,89,167,139,135,140,141,107,94,153,178,132,162,163,147,131,133,187,146,201,242,98,156,171,167,163,153,143,143,156,143,155,119,142,139,157,94,201,163,163,160,157,154,129,147,163,158,151,170,133,144,146,151,168,132,319,205,149,132,161,153,146,140,166,130,153,151,100,179,158,156,189,178,141,130,136,168,146,176,157,124,131,166,175,152,201,184,111,123,212,148,169,340,166,260,141,154,156,139,159,1 0,99,223,403,601,794,938,1124,1324,1527,1633,1787,2021,2176,2347,2522,2752,2931,3079,3276,3434,3636,3879,3987,4146,4352,4550,4740,4915,5069,5235,5441,5600,5780,5919,6097,6264,6490,6599,6805,6969,7177,7384,7559,7766,7929,8077,8275,8469,8640,8859,9012,9163,9341,9544,9713,9902,10222,10447,10600,10788,10969,11149,11314,11479,11699,11882,12065,12297,12431,12625,12793,12955,13145,13344,13517,13681,13822,14018,14205,14382,14580,14733,14910,15094,15272,15462,15667,15852,16022,16173,16406,16593,16827,17168,17335,17690,17834,18082,18264,18442,18631
1 change: 1 addition & 0 deletions test/intersect/issue-919.region.bed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chr1 43250001 47250000
7 changes: 7 additions & 0 deletions test/intersect/test-intersect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,13 @@ $BT intersect -a a -b b > obs
check exp obs
rm exp obs a b

echo -e " intersect.t83...\c"

$BT intersect -wa -a issue-919.bed -b issue-919.region.bed > obs
echo -e "chr1 46626685 46645317 1527 4.01 . 46626685 46645317 128,0,128 102 1,104,89,167,139,135,140,141,107,94,153,178,132,162,163,147,131,133,187,146,201,242,98,156,171,167,163,153,143,143,156,143,155,119,142,139,157,94,201,163,163,160,157,154,129,147,163,158,151,170,133,144,146,151,168,132,319,205,149,132,161,153,146,140,166,130,153,151,100,179,158,156,189,178,141,130,136,168,146,176,157,124,131,166,175,152,201,184,111,123,212,148,169,340,166,260,141,154,156,139,159,1 0,99,223,403,601,794,938,1124,1324,1527,1633,1787,2021,2176,2347,2522,2752,2931,3079,3276,3434,3636,3879,3987,4146,4352,4550,4740,4915,5069,5235,5441,5600,5780,5919,6097,6264,6490,6599,6805,6969,7177,7384,7559,7766,7929,8077,8275,8469,8640,8859,9012,9163,9341,9544,9713,9902,10222,10447,10600,10788,10969,11149,11314,11479,11699,11882,12065,12297,12431,12625,12793,12955,13145,13344,13517,13681,13822,14018,14205,14382,14580,14733,14910,15094,15272,15462,15667,15852,16022,16173,16406,16593,16827,17168,17335,17690,17834,18082,18264,18442,18631" > exp
check exp obs
rm exp obs

STARTWD=$(pwd);
for ADDITIONAL_TEST in \
new_test-intersect.sh \
Expand Down

0 comments on commit 397c215

Please sign in to comment.