Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Gene = Gene {
- geneName :: !(CI ByteString)
- geneId :: !ByteString
- geneChrom :: !ByteString
- geneLeft :: !Int
- geneRight :: !Int
- geneStrand :: !Bool
- geneTranscripts :: ![Transcript]
- data Transcript = Transcript {
- transId :: !ByteString
- transLeft :: !Int
- transRight :: !Int
- transStrand :: !Bool
- transExon :: ![(Int, Int)]
- transUTR :: ![(Int, Int)]
- transType :: TranscriptType
- data TranscriptType
- readGenes :: FilePath -> IO [Gene]
- readGenesC :: Monad m => ConduitT ByteString o m [Gene]
- getPromoters :: Int -> Int -> Gene -> [BEDExt BED3 (Int, CI ByteString)]
- getDomains :: BEDLike b => Int -> [b] -> [b]
Documentation
GTF's position is 1-based, but here we convert it to 0-based indexing.
Gene | |
|
data Transcript Source #
Transcript | |
|
Instances
Eq Transcript Source # | |
Defined in Bio.RealWorld.GENCODE (==) :: Transcript -> Transcript -> Bool # (/=) :: Transcript -> Transcript -> Bool # | |
Ord Transcript Source # | |
Defined in Bio.RealWorld.GENCODE compare :: Transcript -> Transcript -> Ordering # (<) :: Transcript -> Transcript -> Bool # (<=) :: Transcript -> Transcript -> Bool # (>) :: Transcript -> Transcript -> Bool # (>=) :: Transcript -> Transcript -> Bool # max :: Transcript -> Transcript -> Transcript # min :: Transcript -> Transcript -> Transcript # | |
Show Transcript Source # | |
Defined in Bio.RealWorld.GENCODE showsPrec :: Int -> Transcript -> ShowS # show :: Transcript -> String # showList :: [Transcript] -> ShowS # |
data TranscriptType Source #
Instances
Eq TranscriptType Source # | |
Defined in Bio.RealWorld.GENCODE (==) :: TranscriptType -> TranscriptType -> Bool # (/=) :: TranscriptType -> TranscriptType -> Bool # | |
Ord TranscriptType Source # | |
Defined in Bio.RealWorld.GENCODE compare :: TranscriptType -> TranscriptType -> Ordering # (<) :: TranscriptType -> TranscriptType -> Bool # (<=) :: TranscriptType -> TranscriptType -> Bool # (>) :: TranscriptType -> TranscriptType -> Bool # (>=) :: TranscriptType -> TranscriptType -> Bool # max :: TranscriptType -> TranscriptType -> TranscriptType # min :: TranscriptType -> TranscriptType -> TranscriptType # | |
Show TranscriptType Source # | |
Defined in Bio.RealWorld.GENCODE showsPrec :: Int -> TranscriptType -> ShowS # show :: TranscriptType -> String # showList :: [TranscriptType] -> ShowS # |
readGenesC :: Monad m => ConduitT ByteString o m [Gene] Source #