cobot-io-0.1.2.0: Biological data file formats and IO

Safe HaskellNone
LanguageHaskell2010

Bio.Uniprot.Parser

Synopsis

Documentation

data NameType Source #

Describes possible name type of DE section.

Constructors

RecName 
AltName 
SubName 
Flags 
None 
Instances
Show NameType Source # 
Instance details

Defined in Bio.Uniprot.Parser

parseID :: Parser ID Source #

Parses ID line of UniProt-KB text file.

parseAC :: Parser AC Source #

Parses AC lines of UniProt-KB text file.

parseDT :: Parser DT Source #

Parses 3 DT lines of UniProt-KB text file.

parseDE :: Parser DE Source #

Parses DE lines of UniProt-KB text file.

parseGN :: Parser [GN] Source #

Parses DE lines of UniProt-KB text file.

parseOS :: Parser OS Source #

Parses OS lines for one record of UniProt-KB text file.

parseOG :: Parser OG Source #

Parser OG line of UniProt-KB text file.

parseOC :: Parser OC Source #

Parser OC line of UniProt-KB text file.

parseOX :: Parser OX Source #

Parses OX lines of UniProt-KB text file.

parseOH :: Parser OH Source #

Parses OH line of UniProt-KB text file.

parseRef :: Parser Reference Source #

Parses RN, RP, RC, RX, RG, RA, RT and RL lines of UniProt-KB text file.

parseCC :: Parser CC Source #

Parses CC lines of UniProt-KB text file.

copyrightCC :: Text Source #

UniProt-KB copyright comment

parseDR :: Parser DR Source #

Parses DR lines of UniProt-KB text file.

parsePE :: Parser PE Source #

Parses PE line of UniProt-KB text file.

parseKW :: Parser KW Source #

Parses KW lines of UniProt-KB text file.

parseFT :: Parser FT Source #

Parses FT lines of UniProt-KB text file. One FT section is parsed.

parseSQ :: Parser SQ Source #

Parses SQ lines of UniProt-KB text file.

parseEnd :: Parser () Source #

Parses end of one UniProt record.

parseRecord :: Parser Record Source #

Parses whole UniProt-KB record.

optional :: Parser a -> Parser (Maybe a) Source #

Transforms any parser to a parser of maybe value.

>>> parseOnly (optional digit) "1"
Right (Just 1)
>>> parseOnly (optional digit) ""
Right Nothing

parseNodes Source #

Arguments

:: Text

Start 2-letter mark.

-> Char

Delimeter char, that splits the nodes.

-> Char

Terminal char, that ends the node list.

-> Parser [Text] 

Parses lines, that contain nodes splitted by del and ended by end.

parseTillEnd :: Parser String Source #

Parses line till the end.

parseMultiLineComment :: Text -> Int -> Parser String Source #

Parses multiline comment as one string.

parseMultiLine :: Text -> Int -> Parser [String] Source #

Parses multiline comment from new line.

parseBreak :: Text -> Parser () Source #

Parses line break for multiline section.

parseDefItem :: Text -> Parser Text Source #

Parses one item like "Something=Something else;"

parseTillChar :: Char -> Parser String Source #

Parses line till specific char (e.g. semicolon or dot) before spaceendOfLineendOfInput.

hyphenConcat :: [String] -> String Source #

Delete needless space after hyphen on concat.