seqinr (version 3.6-1)

parser.socket: Utility function to parse answers from an ACNUC server

Description

Answers from server looks like : "code=0&lrank=2&count=150513&type=SQ&locus=F".

Usage

parser.socket(onelinefromserver, verbose = FALSE)

Arguments

onelinefromserver

a string

verbose

logical, if TRUE mode verbose is on

Value

A vector of mode character or NULL if onelinefromserver is NULL or if its length is 0.

References

citation("seqinr")

See Also

choosebank, query

Examples

Run this code
# NOT RUN {
stopifnot(all(parser.socket("code=0&lrank=2&count=150513&type=SQ&locus=F") 
                                     == c("0", "2", "150513", "SQ", "F")))
# }

Run the code above in your browser using DataLab