Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

J.R. Lobry

References

citation("seqinr")

See Also

Examples

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

seqinr

Biological Sequences Retrieval and Analysis

v4.2-16
GPL (>= 2)
Authors
Delphine Charif [aut], Olivier Clerc [ctb], Carolin Frank [ctb], Jean R. Lobry [aut, cph], Anamaria Necşulea [ctb], Leonor Palmeira [ctb], Simon Penel [cre], Guy Perrière [ctb]
Initial release
2022-05-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.