biostuff: computational biology packages for Go

75 views
Skip to first unread message

Amit Lavon

unread,
May 9, 2022, 8:16:56 AM5/9/22
to golang-nuts
Sharing a package suite that I've written for my computational biology research and may be useful for others.

Hope it helps!

peterGo

unread,
May 9, 2022, 10:54:45 AM5/9/22
to golang-nuts
Amit,

I know of a university professor and a university lecturer who use Go for computational biology. They solve some interesting computer science problems.

You say your code is efficient: https://pkg.go.dev/github.com/fluhus/biostuff

I looked at your code and picked something simple:

    package align

    func (SubstitutionMatrix) GoString.


I made some simple revisions to improve efficiency and ran a Go benchmark.

    BenchmarkAL-4   6807   160245 ns/op   35941 B/op   1344 allocs/op
    BenchmarkPG-4   7929   137172 ns/op   17354 B/op   1101 allocs/op


Your code (AL) appears to be less efficient than my revised version (PG).

peter
Reply all
Reply to author
Forward
0 new messages