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)]
- readGenes :: FilePath -> IO [Gene]
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 # |