Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class FastaLike f where Source #
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
FastaLike Motif Source # | |
Defined in Bio.Data.Fasta fromFastaRecord :: (ByteString, [ByteString]) -> Motif Source # readFasta :: FilePath -> ConduitT i Motif (ResourceT IO) () Source # | |
BioSeq s a => FastaLike (s a) Source # | |
Defined in Bio.Data.Fasta fromFastaRecord :: (ByteString, [ByteString]) -> s a Source # readFasta :: FilePath -> ConduitT i (s a) (ResourceT IO) () Source # readFasta' :: FilePath -> IO [s a] Source # |
fastaReader :: FilePath -> ConduitT i (ByteString, [ByteString]) (ResourceT IO) () Source #