Closed jakobnissen closed 2 years ago
Actually, based on the Slack conversation, maybe it's better just to remove autodetection alltogether. Since it apparently causes issues with users getting unexpected sequences, it's bad for type stability, and it's one of those API decisions that makes it hard to write robust scripts/software that doesn't fail when it encounters an edge case.
Implemented on release-2 branch, closing.
DNA/RNA sequences with just a few ambiguous characters will be detected as amino acid sequences. Perhaps a better scheme is to check if all characters are translatable in first DNA, then RNA, then AA.