Bioinformatics/Sequence mutation: Difference between revisions

Content added Content deleted
Line 927: Line 927:
instance IsChar DNABase where
instance IsChar DNABase where
toChar = head . show
toChar = head . show
fromChar c = read [c]
fromChar = read . pure


chunkedDNASequence :: DNASequence -> [(Int, [DNABase])]
chunkedDNASequence :: DNASequence -> [(Int, [DNABase])]