Documentation ¶
Overview ¶
Package sequtil provides genetic sequence processing functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DNAFrom2Bit ¶
func DNAFrom2Bit(dst, src []byte)
DNAFrom2Bit writes to dst the nucleotides represented in 2-bit in src. Only outputs characters in "ACGT".
func DNATo2Bit ¶
func DNATo2Bit(dst, src []byte)
DNATo2Bit writes to dst the 2-bit representation of the DNA sequence in src. Any character not in "aAcCgGtT" will cause a panic.
func Iton ¶
Iton converts an int to a nucleotide character. Returns 'N' for any value not in {0,1,2,3}.
func ReverseComplement ¶
func ReverseComplement(dst, src []byte)
ReverseComplement writes to dst the reverse complement of src. Characters not in "aAcCgGtTnN" will cause a panic.
func ReverseComplementString ¶
ReverseComplementString returns the reverse complement of s. Characters not in "aAcCgGtTnN" will cause a panic.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.