github.com/mnsmar/htsdb (go): Package htsdb wraps a database connection to provide a convenient loop interface for reading database records. Successive calls to the Next method will step through the records of the database. Iteration stops unrecoverably when records are exhausted or at the first error.  db, err := sql.Open("foo", "bar")  r, err := NewReader(db, "foo", &Record{}, "SELECT * FROM FOO")
Keywords: bioinformatics|go|sqlite-database