Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bio.RealWorld.GENCODE
Synopsis
- data Gene = Gene {
- geneName :: !(CI ByteString)
- geneId :: !ByteString
- geneChrom :: !ByteString
- geneLeft :: !Int
- geneRight :: !Int
- geneStrand :: !Bool
- geneTranscripts :: ![(Int, Int)]
- geneExon :: ![(Int, Int)]
- readGenes :: FilePath -> IO [Gene]
- streamElements :: Monad m => ConduitT ByteString BED m ()
Documentation
GTF's position is 1-based, but here we convert it to 0-based indexing.
Constructors
Gene | |
Fields
|
streamElements :: Monad m => ConduitT ByteString BED m () Source #