You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Printing the alignment of the alignment result from the align_pairwise function using the debug_stream seems to be broken. Maybe the issue is using the uint8_t alphabet. Here is the code:
The CIGAR string is as expected, but just printing the alignment shows as (,), which seem to be not intended.
Expected Behavior
I would expect it to either not compile, because the uint8_t alphabet wrapper does not support this kind of pretty printing or to print a useful debug representation of the alignment (5 matches) and not just the symbols (,).
Steps To Reproduce
See above
Environment
- Operating system: Ubuntu 20.04
- SeqAn version: newest commit on main right now
- Compiler: gcc 12.3
Anything else?
No response
The text was updated successfully, but these errors were encountered:
We redesigned the debug_stream (#3259). It also ahs the side effect that <iostream> and seqan3's debug_stream are not auto-included, unless you actually want them.
Which I guess is OK, because uint8_t 0 isn't a printable character.
Without the include, it would use the next best fitting available printer, which would be the tuple printer, which does not convert the input sequences to char.
Could at least use a list of printers and the corresponding types it prints.
Some printers are missing in the auto generated list of printers, because they are documented in another group (for example, the alignment printer)
Maybe it would also be good to add it to the tutorial page of the pairwaise alignment?
I looked for in in the Solution of assignment 4 and I didn't find it. link
Does this problem persist on the current main?
Is there an existing issue for this?
Current Behavior
Printing the alignment of the alignment result from the
align_pairwise
function using thedebug_stream
seems to be broken. Maybe the issue is using theuint8_t
alphabet. Here is the code:It prints:
The CIGAR string is as expected, but just printing the alignment shows as
(,)
, which seem to be not intended.Expected Behavior
I would expect it to either not compile, because the uint8_t alphabet wrapper does not support this kind of pretty printing or to print a useful debug representation of the alignment (5 matches) and not just the symbols
(,)
.Steps To Reproduce
See above
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: