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
How to do conversion between two compatible types of the same group (aminoacid, nucleotide)
alphabet conversion currently works by converting to char and back. Is this the way we want it to be? Might have implications on the behaviour of alphabets and is thus API relevant (see API Stability of Alphabet Module #269 (comment))
alphabet conversion is weird; dna4 = 'Y' results in Y being converted to dna15, and then to dna4 (results in 'C' instead of 'A'). dna5 and aminoacid alphabets just define one letter that is used for unknown symbols (see API Stability of Alphabet Module #269 (comment))
nucleotide_base converting constructor is under-constrained. Should require constexpr_writable_alphabet and have non-constexpr fallback. (see General alphabet cleanup #248)
convert_through_char_representation is underconstrained, should require constexpr_writable_alphabet. (see General alphabet cleanup #248)
Since this ticket is termed release 3.2, did you already go through all of these the issues? If they all regard the alphabet API stability I still thinks it's important to avoid API breaks of known bugs.
Description
Left-overs from Release 3.1:
Y
being converted to dna15, and then to dna4 (results in 'C' instead of 'A'). dna5 and aminoacid alphabets just define one letter that is used for unknown symbols (see API Stability of Alphabet Module #269 (comment))seqan3::phred68solexa
andseqan3::phred42
should be over the failure probability and not the phred scores. (see API Stability of Alphabet Module #269 (comment))Coding-issues:
convert_through_char_representation
is underconstrained, should require constexpr_writable_alphabet. (see General alphabet cleanup #248)convert_through_char_representation
has SeqAn2-style wrong order of parameters (first out than in) (fixed by [FIX] the in/out parameter order of convert_through_char_representation seqan3#2870). (see General alphabet cleanup #248)The text was updated successfully, but these errors were encountered: