Safe Haskell | Safe-Inferred |
---|
Model the BED format, according to the spec at http:genome.ucsc.eduFAQFAQformat#format1
- data BED = BED {
- chrom :: ByteString
- chromStart :: Offset
- chromEnd :: Offset
- name :: ByteString
- score :: Int
- strand :: Dir
- thickStart :: Offset
- thickEnd :: Offset
- itemRGB :: (Word8, Word8, Word8)
- blockSizeStart :: [(Offset, Offset)]
- data Dir
- readBED :: FilePath -> IO [BED]
- writeBED :: FilePath -> [BED] -> IO ()
Documentation
The BED data type Note that the specification allows a variable number of fields, with only the three first required. This definition requires all fields to be present.
BED | |
|