BiobaseInfernal-0.5.4.0: Infernal data structures and tools

Biobase.Infernal.Clan.Import

Description

Importing clan data is probably never time-critical as the total file size is extremely small. Should this ever change, swap to iteratee. The file is read strictly.

Synopsis

Documentation

fromFile :: FilePath -> IO [Clan]Source

Import the complete data strictly.

mkClan :: [ByteString] -> ClanSource

Given a list of bytestrings, create one Clan.

TODO return Maybe, make crash-safe