Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complement ¶
Complement takes the complement of a sequence.
Example ¶
sequence := "GATTACA" complement := Complement(sequence) fmt.Println(complement)
Output: CTAATGT
func ComplementBase ¶
ComplementBase accepts a base pair and returns its complement base pair
func GetKmerTable ¶ added in v0.14.5
getKmerTable receive a sequence string and a k int and generates a set of unique k-mers
func Reverse ¶
Reverse takes the reverse of a sequence.
Example ¶
sequence := "GATTACA" reverse := Reverse(sequence) fmt.Println(reverse)
Output: ACATTAG
func ReverseComplement ¶
ReverseComplement takes the reverse complement of a sequence.
Example ¶
sequence := "GATTACA" reverseComplement := ReverseComplement(sequence) fmt.Println(reverseComplement)
Output: TGTAATC
func Transcription ¶ added in v0.11.4
Example ¶
sequence := "GATTACA" transcription := Transcription(sequence) fmt.Println(transcription)
Output: CUAAUGU
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.