Skip to content

Commit d8de8c3

Browse files
authored
Merge pull request #3355 from SGSSGene/fix/debug_stream_alignment_in_all
fix: include alignment printer in debug_stream.h
2 parents 1590dcc + e7d7999 commit d8de8c3

File tree

7 files changed

+46
-10
lines changed

7 files changed

+46
-10
lines changed

doc/tutorial/08_pairwise_alignment/pairwise_alignment_solution_4.err

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ Score: 62
22
Begin: (4,0)
33
End: (34,31)
44
Alignment:
5-
(GTACGGAC-T-AGCTACAACATTACGGACTAC,GGAC-GACATGACGTACGACTTTACGTACGAC)
5+
0 . : . : . :
6+
GTACGGAC-T-AGCTACAACATTACGGACTAC
7+
| || ||| | | ||| || ||||| || ||
8+
GGAC-GACATGACGTACGACTTTACGTACGAC
9+

doc/tutorial/08_pairwise_alignment/pairwise_alignment_solution_5.err

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ Score: 62
22
Begin: (4,0)
33
End: (34,31)
44
Alignment:
5-
(GTACGGAC-T-AGCTACAACATTACGGACTAC,GGAC-GACATGACGTACGACTTTACGTACGAC)
5+
0 . : . : . :
6+
GTACGGAC-T-AGCTACAACATTACGGACTAC
7+
| || ||| | | ||| || ||||| || ||
8+
GGAC-GACATGACGTACGACTTTACGTACGAC
9+

include/seqan3/core/debug_stream.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <iostream>
1313

14+
#include <seqan3/alignment/aligned_sequence/debug_stream_alignment.hpp>
1415
#include <seqan3/alphabet/detail/debug_stream_alphabet.hpp>
1516
#include <seqan3/core/debug_stream/all.hpp>
1617

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
(ACTGA,AC-GA)
1+
0 .
2+
ACTGA
3+
|| ||
4+
AC-GA
5+
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1-
(ACT-,C-GT)
2-
(CTGATCGAG,AGGCTGN-A)
3-
(T-G-A-TC,G-AGTA-T)
1+
0
2+
ACT-
3+
4+
C-GT
5+
6+
0 .
7+
CTGATCGAG
8+
| |
9+
AGGCTGN-A
10+
11+
0 .
12+
T-G-A-TC
13+
|
14+
G-AGTA-T
15+
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
{score: -4}
22
{
33
alignment:
4-
(ACGTA-G-C-,A-GTACGACG)}
4+
0 . :
5+
ACGTA-G-C-
6+
| ||| | |
7+
A-GTACGACG
8+
}
59
{score: -4,
610
alignment:
7-
(ACGTA-G-C-,A-GTACGACG)}
11+
0 . :
12+
ACGTA-G-C-
13+
| ||| | |
14+
A-GTACGACG
15+
}
816
{sequence1 id: 0, sequence2 id: 0, score: -4, begin: (0,0), end: (7,9),
917
alignment:
10-
(ACGTA-G-C-,A-GTACGACG)}
18+
0 . :
19+
ACGTA-G-C-
20+
| ||| | |
21+
A-GTACGACG
22+
}

test/unit/utility/views/chunk_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <ranges>
1010
#include <vector>
1111

12-
#include <seqan3/core/debug_stream.hpp>
1312
#include <seqan3/test/expect_range_eq.hpp>
1413
#include <seqan3/utility/views/chunk.hpp>
1514
#include <seqan3/utility/views/repeat.hpp>

0 commit comments

Comments
 (0)