uniprot-kb: UniProt-KB format parser

[ bio, bsd3, library ] [ Propose Tags ]

Specification implementation of https://web.expasy.org/docs/userman.html


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.2.0
Change log ChangeLog.md
Dependencies attoparsec (>=0.10 && <0.14), base (>=4.7 && <5), text (>=0.2 && <1.3) [details]
License BSD-3-Clause
Copyright Pavel Yakovlev
Author Pavel Yakovlev
Maintainer pavel@yakovlev.me
Category Bio
Home page https://github.com/biocad/uniprot-kb#readme
Bug tracker https://github.com/biocad/uniprot-kb/issues
Source repo head: git clone https://github.com/biocad/uniprot-kb
Uploaded by zmactep at 2018-03-25T20:02:46Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3148 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-25 [all 1 reports]

Readme for uniprot-kb-0.1.0.0

[back to package description]

uniprot-kb

Travis hackage hackage-deps

A well-typed UniProt file format parser.

Documentation

To build Haddock documentation run:

$ stack haddock

Usage example

To use the parser and types import:

λ> import Bio.Uniprot

Than you can parse any Text of UniProt by using parseRecord function. The result will be presented by a Record datatype:

data Record = Record
  { id   :: ID
  , ac   :: AC
  , dt   :: DT
  , de   :: DE
  , gn   :: [GN]
  , os   :: OS
  , og   :: Maybe OG
  , oc   :: OC
  , ox   :: Maybe OX
  , oh   :: [OH]
  , refs :: [Reference]
  , cc   :: [CC]
  , dr   :: [DR]
  , pe   :: PE
  , kw   :: KW
  , ft   :: [FT]
  , sq   :: SQ
  } deriving (Show, Eq, Ord)