Popularity
1.3
Stable
Activity
0.0
Stable
0
2
1
Monthly Downloads: 26
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Bioinformatics
Bio
Latest version: v0.1.2.0
uniprot-kb alternatives and similar packages
Based on the "Bioinformatics" category.
Alternatively, view uniprot-kb alternatives based on common mentions on social networks and blogs.
-
cobot
Computational biology toolkit to collaborate with researchers in constructive protein engineering -
BlastHTTP
Haskell cabal libary for submission and result retrieval from the NCBI Blast REST webservice -
EntrezHTTP
Haskell cabal libary for submission and result retrieval from the NCBI Entrez REST webservice -
Taxonomy
Haskell cabal Taxonomy libary contains tools, parsers, datastructures and visualisation for the NCBI (National Center for Biotechnology Information) Taxonomy datasources. -
StockholmAlignment
Libary containing parsing and visualisation functions and datastructures for Stockholm aligmnent format. -
BioHMM
Libary containing parsing and visualisation functions and datastructures for Hidden Markov Models in HMMER3 format. -
rank-product
Collects the functions pertaining to finding the rank product of a data set as well as the associated p-value.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Promo
www.saashub.com
Do you think we are missing an alternative of uniprot-kb or a related project?
README
uniprot-kb
A well-typed UniProt file format parser.
Documentation
To build Haddock documentation run:
$ stack haddock
Usage example
You can use this simple code to parse any UniProt file:
import Bio.Uniprot
import Data.Attoparsec.Text (parseOnly)
import Data.Text (Text)
import qualified Data.Text.IO as TIO
import Text.Pretty.Simple (pPrint)
main :: IO ()
main = do
uniprot <- TIO.getContents
case parseOnly parseRecord uniprot of
Left err -> putStrLn "Error on parse"
Right obj -> pPrint obj
So you can parse any stdin 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)
You can run this to test the implementation:
stack runhaskell uniprot.hs < example/LOLA2_DROME.dat