seqloc 0.5 → 0.5.0.2
raw patch · 2 files changed
+9/−6 lines, 2 files
Files
- seqloc.cabal +8/−5
- src/Bio/SeqLoc/Transcript.hs +1/−1
seqloc.cabal view
@@ -1,17 +1,20 @@ Name: seqloc-Version: 0.5-Cabal-Version: >= 1.2+Version: 0.5.0.2+Cabal-Version: >= 1.6 Synopsis: Handle sequence locations for bioinformatics Description: Handle sequence locations for bioinformatics-Homepage: http://www.ingolia-lab.org/software/seqloc/+Homepage: http://www.ingolia-lab.org/seqloc-tutorial.html License: MIT License-file: LICENSE Author: Nick Ingolia Maintainer: nick@ingolia.org Build-Type: Simple-Cabal-Version: >= 1.4- Category: Bioinformatics++Source-Repository head+ type: git+ location: http://github.com/ingolia/seqloc+ subdir: seqloc Flag Tests Description: Build test program
src/Bio/SeqLoc/Transcript.hs view
@@ -97,7 +97,7 @@ where utr3loc cdsloc = case Loc.endPos cdsloc of (Pos.Pos endoff Plus) | endoff < trxlast -> Just $! Loc.fromBoundsStrand (endoff + 1) trxlast Plus _ -> Nothing- trxlast = snd . Loc.bounds . unOnSeq . location $ trx+ trxlast = (Loc.length . unOnSeq . location $ trx) - 1 -- | Genomic location of CDS within the transcript cdsLocation :: Transcript -> Maybe SpliceSeqLoc