Skip to content

Golang implementation of the Nearest-neighbor method for DNA oligo melting temperature calculations

License

Notifications You must be signed in to change notification settings

mimikwang/gomelt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

89c5e50 · May 25, 2022

History

23 Commits
May 24, 2022
Aug 17, 2020
Aug 17, 2020
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 24, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022
May 25, 2022

Repository files navigation

gomelt

GoDoc mimikwang

Overview

gomelt is a golang implementation of DNA oligo melting temperature calculations based on the Nearest-neighbor method.

Specific information for this can be found on this Wikipedia page.

Installation

$ go get github.com/mimikwang/gomelt

Examples

Calculate melting temperature:

package main

import (
	"fmt"

	"github.com/mimikwang/gomelt"
)

func main() {
	// Set up thermodynamics parameters
	parameters := gomelt.Params{
		Monovalent: 50.0,
		Divalent:   1.5,
		Dntp:       0.2,
		Dna:        200.0,
		T:          37.0,
	}

	// Calculate melting thermodynamics
	result, _ := gomelt.MeltingTemp("AAAGGCCTT", parameters)

	fmt.Println(result.Tm)
	// 20.24
	fmt.Println(result.Dh)
	// -59.6
	fmt.Println(result.Ds)
	// -169.74
	fmt.Println(result.Dg)
	// -6.96

}

About

Golang implementation of the Nearest-neighbor method for DNA oligo melting temperature calculations

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages