HsHTSLib-1.9.1: Bindings to htslib.

Safe HaskellSafe
LanguageHaskell2010

Bio.HTS.Internal

Contents

Synopsis

Documentation

data HTSFile Source #

Opaque data representing the hts file.

htsOpen :: String -> String -> IO (Ptr HTSFile) Source #

Open a hts file.

htsClose :: Ptr HTSFile -> IO () Source #

Close the hts file.

BGZF

getBgzf :: Ptr HTSFile -> IO (Ptr BGZF) Source #

Get the location of BGZF block.

Bam Header

data BamHdr Source #

Opaque data representing Bam header type.

bamHdrRead :: Ptr BGZF -> IO (Ptr BamHdr) Source #

Get the bam header.

bamHdrWrite :: Ptr BGZF -> Ptr BamHdr -> IO CInt Source #

Save the bam header.

Bam