Minimal representations of DNA and RNA genetic sequences using BitArrays in Julia.
The current release can be installed from the Julia REPL with:
pkg> add GeneticBitArraysThe development version (master branch) can be installed with:
pkg> add GeneticBitArrays#masterInput using String, Vector{Char} with nucleotides indicated by their IUPAC code. You may also construct a sequence with a 4 x n BitArray - the same way sequences are represented internally with this package.
julia> x = DNASeq("NVHMDRWABSYCKGT-")
16nt DNA sequence
NVHMDRWABSYCKGT-
julia> x.data
4×16 BitArray{2}:
 1  1  1  1  1  1  1  1  0  0  0  0  0  0  0  0
 1  1  1  1  0  0  0  0  1  1  1  1  0  0  0  0
 1  1  0  0  1  1  0  0  1  1  0  0  1  1  0  0
 1  0  1  0  1  0  1  0  1  0  1  0  1  0  1  0
- For a full featured package for biological sequences see BioSequences.jl.