bioinformatics-toolkit-0.10.0: A collection of bioinformatics tools
Safe HaskellNone
LanguageHaskell2010

Bio.RealWorld.GENCODE

Synopsis

Documentation

data Gene Source #

GTF's position is 1-based, but here we convert it to 0-based indexing.

Instances

Instances details
Eq Gene Source # 
Instance details

Defined in Bio.RealWorld.GENCODE

Methods

(==) :: Gene -> Gene -> Bool #

(/=) :: Gene -> Gene -> Bool #

Ord Gene Source # 
Instance details

Defined in Bio.RealWorld.GENCODE

Methods

compare :: Gene -> Gene -> Ordering #

(<) :: Gene -> Gene -> Bool #

(<=) :: Gene -> Gene -> Bool #

(>) :: Gene -> Gene -> Bool #

(>=) :: Gene -> Gene -> Bool #

max :: Gene -> Gene -> Gene #

min :: Gene -> Gene -> Gene #

Show Gene Source # 
Instance details

Defined in Bio.RealWorld.GENCODE

Methods

showsPrec :: Int -> Gene -> ShowS #

show :: Gene -> String #

showList :: [Gene] -> ShowS #

readGenes :: FilePath -> IO [Gene] Source #

Read gene information from Gencode GTF file

getPromoters Source #

Arguments

:: Int

upstream

-> Int

downstream

-> Gene 
-> [BEDExt BED3 (Int, CI ByteString)] 

getDomains Source #

Arguments

:: BEDLike b 
=> Int

Extension length. A good default is 1M.

-> [b]

A list of promoters

-> [b]

Regulatory domains

Compute genes' regulatory domains using the algorithm described in GREAT. NOTE: the result doesn't contain promoters