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
I don't think you should be able to do that. The fact that the codon is internally represented as UInt(11) is an implementation detail, and should not be part of the API.
I suggest removing it.
Edit: Changed the following:
Removed conversion to/from integers/kmers. This is dangerous since conversion can happen implicitly
Construction of kmers from integers is still permitted, but now checks for overflow, e.g. DNAMer{2}(0xfffff) throws a DomainError
To avoid the check, use the function masked, which instead masks the noncoding bits.
The text was updated successfully, but these errors were encountered:
Right now, you can do
I don't think you should be able to do that. The fact that the codon is internally represented as
UInt(11)
is an implementation detail, and should not be part of the API.I suggest removing it.
Edit: Changed the following:
DNAMer{2}(0xfffff)
throws aDomainError
masked
, which instead masks the noncoding bits.The text was updated successfully, but these errors were encountered: