Genbank 1.0.1 → 1.0.2
raw patch · 3 files changed
+29/−4 lines, 3 filesdep +Genbankdep +cmdargsdep ~basenew-component:exe:GenbankTestPVP ok
version bump matches the API change (PVP)
Dependencies added: Genbank, cmdargs
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Genbank.cabal +6/−3
- GenbankTest.hs +20/−0
- README.md +3/−1
Genbank.cabal view
@@ -5,7 +5,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 1.0.1+version: 1.0.2 synopsis: Libary for processing the NCBI genbank format description: Haskell cabal Genbank libary contains tools, parser and datastructures for the NCBI (National Center for Biotechnology Information) Genbank format. .@@ -42,8 +42,8 @@ source-repository this type: git- location: https://github.com/eggzilla/Genbank/tree/1.0.1- tag: v1.0.1+ location: https://github.com/eggzilla/Genbank/tree/1.0.2+ tag: 1.0.2 library -- Modules exported by the library.@@ -55,3 +55,6 @@ -- Directories containing source files. hs-source-dirs: src +executable GenbankTest+ main-is: GenbankTest.hs+ build-depends: base >= 4 && <= 5, cmdargs, Genbank
+ GenbankTest.hs view
@@ -0,0 +1,20 @@+-- | Parser test script+-- read from file and directly print parsing output++module Main where+ +import System.Environment (getArgs)+import System.IO+import Data.List+import Bio.GenbankTools+import Bio.GenbankParser +import Data.Either+ +main = do+ args <- getArgs+ let input_file = (head args)+ let output_file = (last args)+ + -- read Clustal outputfile+ parsedinput <- readGenbank input_file+ print parsedinput
README.md view
@@ -1,4 +1,6 @@-#Genbank+#Genbank [](https://travis-ci.org/eggzilla/Genbank)+=========+ Haskell cabal Genbank libary contains tools, parser and datastructures for the NCBI (National Center for Biotechnology Information) Genbank format. For more information on genbank refer to: