Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoReadToChan ¶
GoReadToChan reads BedGraph entries from an input filename to a <-chan BedGraph.
func ReadToChan ¶
func ReadToChan(file *fileio.EasyReader, data chan<- BedGraph, wg *sync.WaitGroup)
ReadToChan reads from a fileio.EasyReader to send BedGraph structs to a chan<- BedGraph.
func ToString ¶
ToString converts a BedGraph struct into a bedGraph file format string. Useful for writing to files or printing.
func WriteToFileHandle ¶
WriteToFileHandle writes an input BedGraph struct to an io.Writer.
Types ¶
type BedGraph ¶
BedGraph stores information about genomic regions, including their location and an associated float DataValue. As with Bed, coordinates are 0-based, half-open.
func NextBedGraph ¶
func NextBedGraph(reader *fileio.EasyReader) (BedGraph, bool)
NextBedGraph returns a BedGraph struct from an input fileio.EasyReader. Returns a bool that is true when the reader is done.
Click to show internal directories.
Click to hide internal directories.