Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Go language reader for SAM sequence alignment files
Go
Branch: master

README.md

This is a library for reading SAM sequence alignment files, using the Go programming language. It's in a pre-alpha state, and the interface and implementation is subject to breaking change. It does read all the required and optional data found in Header, Sequence Reference Dictionary, Read Group, and Program lines, as decribed in the SAM specification. It also reads all the required alignment data

When reading in the file, it validates the header, though not thealignment lines yet.

Right now there is just one exported method:

func ReadSAMFile(fileName string) (*HeaderLine, *list.List, *list.List, *list.List, *list.List, error)

which returns a struct for the Header, as well as lists of structs for Reference sequence dictionaries, read groups, and program lines.

The library is licensed according to the GNU Lesser GPL, Version 3. See COPYING.LESSER for details.

Something went wrong with that request. Please try again.