Skip to content

Commit 510273d

Browse files
author
David Heller
committed
[FIX] Fix mini example results
1 parent ee70b32 commit 510273d

4 files changed

Lines changed: 5 additions & 8 deletions

File tree

test/cli/iGenVar_cli_test.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,6 @@ TEST_F(iGenVar_cli_test, dataset_single_end_mini_example)
394394
std::ifstream output_res_file("../../data/output_res.txt");
395395
std::string output_res_str((std::istreambuf_iterator<char>(output_res_file)),
396396
std::istreambuf_iterator<char>());
397-
//Todo(eldariont): Correct output_res.txt after merging #113:
398-
//line 8: DEL should be at chr1:97-125 (SVLEN=-28)
399-
//line 12: DEL should be at chr1:266-287 (SVLEN=-20) and merged with line 11
400397
EXPECT_EQ(result.out, output_res_str);
401398
seqan3::debug_stream << "done. " << '\n';
402399

test/data/datasources.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ declare_datasource (FILE single_end_mini_example.sam
2424
# copies file to <build>/data/output_err.txt
2525
declare_datasource (FILE output_err.txt
2626
URL ${CMAKE_SOURCE_DIR}/test/data/mini_example/output_err.txt
27-
URL_HASH SHA256=d6f5a465ebbd4c6eb4dc4b0425c2c781b8132eec0a8c4eea919cdebbb36afdd1)
27+
URL_HASH SHA256=415171afbdf18cffef58599af346b73208457f4406343cf5e69a1d125b4a9c02)
2828

2929
# copies file to <build>/data/output_res.txt
3030
declare_datasource (FILE output_res.txt
3131
URL ${CMAKE_SOURCE_DIR}/test/data/mini_example/output_res.txt
32-
URL_HASH SHA256=2940c08ebd08798d40f5c0249ea78b9d73a22228e3015f3ab450422d189e5fae)
32+
URL_HASH SHA256=cdd239ba1d5447f5f5ec9aa844afb3634d84b1f61396f20fe5ee26a58a644de4)

test/data/mini_example/output_err.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ DEL: chr1 335 Forward chr1 350 Forward 0 read043
3434
DEL: chr1 335 Forward chr1 350 Forward 0 read044
3535
DEL: chr1 335 Forward chr1 350 Forward 0 read045
3636
Start clustering...
37-
Done with clustering. Found 10 junction clusters.
37+
Done with clustering. Found 11 junction clusters.
3838
No refinement was selected.

test/data/mini_example/output_res.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
##INFO=<ID=END,Number=1,Type=Integer,Description="End position of SV called.",Source="iGenVarCaller",Version="1.0">
66
#CHROM POS ID REF ALT QUAL FILTER INFO
77
chr1 57 . N <DEL> 9 PASS END=70;SVLEN=-13;SVTYPE=DEL
8-
chr1 99 . N <DEL> 1 PASS END=125;SVLEN=-26;SVTYPE=DEL
8+
chr1 97 . N <DEL> 1 PASS END=125;SVLEN=-28;SVTYPE=DEL
99
chr1 125 . N <INS> 3 PASS END=125;SVLEN=15;SVTYPE=INS
1010
chr1 180 . N <INS> 1 PASS END=180;SVLEN=8;SVTYPE=INS
11-
chr1 267 . N <DEL> 4 PASS END=287;SVLEN=-20;SVTYPE=DEL
11+
chr1 266 . N <DEL> 4 PASS END=286;SVLEN=-20;SVTYPE=DEL
1212
chr1 282 . N <DEL> 1 PASS END=299;SVLEN=-17;SVTYPE=DEL
1313
chr1 336 . N <DEL> 4 PASS END=350;SVLEN=-14;SVTYPE=DEL

0 commit comments

Comments
 (0)