Iteration
As you might expect, sequence types are iterators over their elements:
julia> n = 0
0
julia> for nt in dna"ATNGNNT"
if nt == DNA_N
global n += 1
end
end
julia> n
3
As you might expect, sequence types are iterators over their elements:
julia> n = 0
0
julia> for nt in dna"ATNGNNT"
if nt == DNA_N
global n += 1
end
end
julia> n
3
Settings
This document was generated with Documenter.jl version 1.1.1 on Thursday 19 October 2023. Using Julia version 1.9.3.