| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Biobase.Fasta.Types
Synopsis
- data Fasta = Fasta {}
- newtype RawFastaEntry = RawFastaEntry {}
- data StreamEvent
- = StreamHeader { }
- | StreamFasta { }
- data LineInfo = LineInfo {}
Documentation
Constructors
| Fasta | |
Fields | |
newtype RawFastaEntry Source #
Constructors
| RawFastaEntry | |
Fields | |
Instances
| Eq RawFastaEntry Source # | |
Defined in Biobase.Fasta.Types Methods (==) :: RawFastaEntry -> RawFastaEntry -> Bool # (/=) :: RawFastaEntry -> RawFastaEntry -> Bool # | |
| Ord RawFastaEntry Source # | |
Defined in Biobase.Fasta.Types Methods 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 Methods showsPrec :: Int -> RawFastaEntry -> ShowS # show :: RawFastaEntry -> String # showList :: [RawFastaEntry] -> ShowS # | |
data StreamEvent Source #
StreamEvents 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.
Constructors
| StreamHeader | A Header event, multiple header events signal that the header name was longer than the chunk size. |
Fields
| |
| StreamFasta | A data event. We keep a pointer to the previous chunk (which is useful for some algorithms). The chunk is free of newlines! |
Fields
| |
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!
Constructors
| LineInfo | |
Fields
| |
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))))) | |