packages feed

seqloc 0.3.1.2 → 0.5

raw patch · 2 files changed

+3/−14 lines, 2 filesdep ~biocore

Dependency ranges changed: biocore

Files

seqloc.cabal view
@@ -1,5 +1,5 @@ Name:                seqloc-Version:             0.3.1.2+Version:             0.5 Cabal-Version:       >= 1.2 Synopsis:            Handle sequence locations for bioinformatics Description:         Handle sequence locations for bioinformatics@@ -24,7 +24,7 @@                        Bio.SeqLoc.OnSeq,                        Bio.SeqLoc.LocRepr,                        Bio.SeqLoc.Transcript-  Build-depends:       base >= 4.2 && < 5, bytestring, attoparsec >= 0.8.5, biocore+  Build-depends:       base >= 4.2 && < 5, bytestring, attoparsec >= 0.8.5, biocore >= 0.2   Hs-Source-Dirs:      src   Ghc-options:         -Wall @@ -38,6 +38,6 @@                        Bio.SeqLoc.OnSeq,                        Bio.SeqLoc.LocRepr   Build-depends:       base >= 4.2 && < 5, bytestring, attoparsec >= 0.8.5,-                       QuickCheck, random, biocore+                       QuickCheck, random, biocore >= 0.2   Hs-Source-Dirs:      src, test   Ghc-options:         -Wall
src/Bio/SeqLoc/Position.hs view
@@ -32,17 +32,6 @@ import Bio.SeqLoc.SeqLike import Bio.SeqLoc.Strand -instance Enum Offset where-  toEnum = Offset . toEnum-  fromEnum = fromEnum . unOff--instance Real Offset where-  toRational = toRational . unOff--instance Integral Offset where-  (Offset n) `quotRem` (Offset d) = (Offset *** Offset) $ n `quotRem` d-  toInteger = toInteger . unOff-   -- | Stranded position in a sequence data Pos = Pos { offset :: !Offset -- ^ 0-based index of the position                , strand :: !Strand -- ^ Strand of the position