ViennaRNAParser 1.2.8 → 1.2.9
raw patch · 3 files changed
+9/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
ViennaRNAParser.cabal view
@@ -5,13 +5,13 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 1.2.8+version: 1.2.9 synopsis: Libary for parsing ViennaRNA package output description: Currently contains parsers and datatypes for: RNAalifold, RNAcode, RNAdistance, RNAcofold, RNAfold, RNAplex, RNAup, RNAz. . For more information on the ViennaRNA package refer to <http://www.tbi.univie.ac.at/RNA/>. .- The libary is tested with Version 2.1.9 of the ViennaRNA package. + The libary is tested with Version 2.2.4 of the ViennaRNA package. license: GPL license-file: LICENSE author: Florian Eggenhofer@@ -30,8 +30,8 @@ source-repository this type: git- location: https://github.com/eggzilla/ViennaRNAParser/tree/1.2.8- tag: 1.2.8+ location: https://github.com/eggzilla/ViennaRNAParser/tree/1.2.9+ tag: 1.2.9 library -- Modules exported by the library.
src/Bio/RNAcodeParser.hs view
@@ -44,9 +44,10 @@ string ("\t") _start <- natural haskell _end <- natural haskell- _score <- float haskell+ _score <- many1 (oneOf "1234567890e.-+")+ many space _pvalue <- float haskell- return $ RNAcodeHit (fromInteger _hss) (fromInteger _frame) (fromInteger _length) (fromInteger _from) (fromInteger _to) _name (fromInteger _start) (fromInteger _end) _score _pvalue + return $ RNAcodeHit (fromInteger _hss) (fromInteger _frame) (fromInteger _length) (fromInteger _from) (fromInteger _to) _name (fromInteger _start) (fromInteger _end) (read _score ::Double) _pvalue -- | Parse the input as RNAcode datatype
src/Bio/RNAdistanceParser.hs view
@@ -14,7 +14,8 @@ -- | Parse the consenus of RNAz results genParserRNAdistance :: GenParser Char st RNAdistance genParserRNAdistance = do- string ("f: ") + oneOf "fhwcFHWCP" + string (": ") distance <- many1 (noneOf " ") optional (many1 space) eof