1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
\name{parser.socket}
\alias{parser.socket}
\title{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{
\item{onelinefromserver}{a string}
\item{verbose}{logical, if TRUE mode verbose is on}
}
\value{
A vector of mode character or NULL if \code{onelinefromserver} is NULL
or if its length is 0.
}
\references{
\code{citation("seqinr")}
}
\author{J.R. Lobry}
\seealso{\code{\link{choosebank}}, \code{\link{query}} }
\examples{
stopifnot(all(parser.socket("code=0&lrank=2&count=150513&type=SQ&locus=F")
== c("0", "2", "150513", "SQ", "F")))
}
\keyword{ utilities }
|