parser.socket {seqinr}R Documentation

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.

Author(s)

J.R. Lobry

References

citation("seqinr")

See Also

choosebank, query

Examples

stopifnot(all(parser.socket("code=0&lrank=2&count=150513&type=SQ&locus=F") 
                                     == c("0", "2", "150513", "SQ", "F")))

[Package seqinr version 4.2-36 Index]