bioinformatics-toolkit-0.10.0: 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 -> ConduitT i f (ResourceT IO) () Source #

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

non-stream version, read whole file in memory

Instances

Instances details
FastaLike Motif Source # 
Instance details

Defined in Bio.Data.Fasta

BioSeq s a => FastaLike (s a) Source # 
Instance details

Defined in Bio.Data.Fasta