bioinformatics-toolkit-0.3.1: A collection of bioinformatics tools

Safe HaskellNone
LanguageHaskell2010

Bio.Data.Fasta

Documentation

class FastaLike f where Source #

Minimal complete definition

fromFastaRecord

Methods

fromFastaRecord :: (ByteString, [ByteString]) -> f Source #

Convert a FASTA record, consisting of a record header and a record body, to a specific data type

readFasta :: FilePath -> Source (ResourceT IO) f Source #

readFasta' :: FilePath -> IO [f] Source #

non-stream version, read whole file in memory