Skip to content
BioAtomsCount.countatoms Method
julia
countatoms(seq::SeqOrView{AminoAcidAlphabet})

Count the number of C, H, N, O, S atoms in an amino acid sequence. Returns a matrix where each row corresponds to an amino acid and columns to atom types.

source
BioAtomsCount.countatoms Method
julia
countatoms(seq::SeqOrView{<:NucleicAcidAlphabet})

Count the number of C, H, N, O atoms in a DNA or RNA sequence. Returns a matrix where each row corresponds to a base and columns to atom types. Throws an error if the sequence type is not DNA or RNA.

source