Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Fasta = Fasta {}
- newtype RawFastaEntry = RawFastaEntry {}
- data StreamEvent
- = StreamHeader { }
- | StreamFasta { }
- data LineInfo = LineInfo {}
Documentation
newtype RawFastaEntry Source #
Instances
Eq RawFastaEntry Source # | |
Defined in Biobase.Fasta.Types (==) :: RawFastaEntry -> RawFastaEntry -> Bool # (/=) :: RawFastaEntry -> RawFastaEntry -> Bool # | |
Ord RawFastaEntry Source # | |
Defined in Biobase.Fasta.Types compare :: RawFastaEntry -> RawFastaEntry -> Ordering # (<) :: RawFastaEntry -> RawFastaEntry -> Bool # (<=) :: RawFastaEntry -> RawFastaEntry -> Bool # (>) :: RawFastaEntry -> RawFastaEntry -> Bool # (>=) :: RawFastaEntry -> RawFastaEntry -> Bool # max :: RawFastaEntry -> RawFastaEntry -> RawFastaEntry # min :: RawFastaEntry -> RawFastaEntry -> RawFastaEntry # | |
Show RawFastaEntry Source # | |
Defined in Biobase.Fasta.Types showsPrec :: Int -> RawFastaEntry -> ShowS # show :: RawFastaEntry -> String # showList :: [RawFastaEntry] -> ShowS # |
data StreamEvent Source #
StreamEvent
s are chunked pieces of data, where the raw data is
a strict ByteString
. Each element also retains information on the
first and last line and column (via streamLines
) that are part of this
chunk.
StreamHeader | A Header event, multiple header events signal that the header name was longer than the chunk size. |
| |
StreamFasta | A data event. We keep a pointer to the previous chunk (which is useful for some algorithms). The chunk is free of newlines! |
|
Instances
Complete information on line and column start and end for a chunk.
TODO This is a 1-based format? Lets use the BiobaseTypes facilities!
LineInfo | |
|
Instances
Eq LineInfo Source # | |
Ord LineInfo Source # | |
Defined in Biobase.Fasta.Types | |
Show LineInfo Source # | |
Generic LineInfo Source # | |
NFData LineInfo Source # | |
Defined in Biobase.Fasta.Types | |
type Rep LineInfo Source # | |
Defined in Biobase.Fasta.Types type Rep LineInfo = D1 (MetaData "LineInfo" "Biobase.Fasta.Types" "BiobaseFasta-0.2.0.0-IddPn5hBiRV7T2edw2bY5f" False) (C1 (MetaCons "LineInfo" PrefixI True) ((S1 (MetaSel (Just "firstLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "firstCol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "lastLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "lastCol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "firstIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))) |