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
{{ message }}
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
I stumbled across the following behavior which I wasn't expecting, I narrowed it down to a length dependent behavior from slices with reverse which I think might not be returning a copy as it should?
julia>using Bio.Seq
julia> seq =DNASequence("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
32nt DNA Sequence:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
julia>reverse(seq[(length(seq)-9):length(seq)])
10nt DNA Sequence:
AAAAAAAAAA
julia> seq =DNASequence("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
33nt DNA Sequence:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
julia>reverse(seq[(length(seq)-9):length(seq)])
10nt DNA Sequence:
A---------
julia>reverse(copy(seq[(length(seq)-9):length(seq)]))
10nt DNA Sequence:
AAAAAAAAAA
julia> Pkg.status()
- Bio 0.4.2
The text was updated successfully, but these errors were encountered:
I stumbled across the following behavior which I wasn't expecting, I narrowed it down to a length dependent behavior from slices with
reverse
which I think might not be returning a copy as it should?The text was updated successfully, but these errors were encountered: