Documentation ¶
Overview ¶
Package to read and write BED file formats
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CharToStrand map[string]int8 = map[string]int8{"+": 1, "": 0, "-": -1}
View Source
var StrandToChar map[int8]string = map[int8]string{1: "+", 0: "", -1: "-"}
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct { BedType int // contains filtered or unexported fields }
BED format reader type.
func NewReader ¶
func NewReader(f io.ReadCloser, b int) *Reader
Returns a new BED format reader using f.
func NewReaderName ¶
Returns a new BED reader using a filename.
type Writer ¶
type Writer struct { BedType int FloatFormat byte Precision int // contains filtered or unexported fields }
BED format writer type.
func NewWriter ¶
func NewWriter(f io.WriteCloser, b int) *Writer
Returns a new BED format writer using f.
func NewWriterName ¶
Returns a new BED format writer using a filename, truncating any existing file. If appending is required use NewWriter and os.OpenFile.
Click to show internal directories.
Click to hide internal directories.