SeqAcnucWeb
.
query(listname, query, socket = autosocket(),
invisible = TRUE, verbose = FALSE, virtual = FALSE)
sockconn
connecting to a remote ACNUC
database (default is a socket to the last opened database).FALSE
, the result is returned visibly.TRUE
, verbose mode is onTRUE
, no attempt is made to retrieve the information about
all the elements of the list. In this case, the req
component of the list is set to
NA
.listname
in the user workspace.
This is an objet of class qaw
, a list with the following 6 components:Selection criteria (no space before the = sign) are:
Operators (always followed and preceded by blanks or parentheses) are:
The query language is case insensitive.Three operators (AND, OR, NOT) can be ambiguous because they can also occur within valid criterion values. Such ambiguities can be solved by encapsulating elementary selection criteria between escaped double quotes.
citation("seqinr")
choosebank
,
getSequence
,
getName
,
crelistfromclientdata
## Not run:
# # Need internet connection
# choosebank("genbank")
# bb <- query("bb", "sp=Borrelia burgdorferi")
# # To get the names of the 4 first sequences:
# sapply(bb$req[1:4], getName)
# # To get the 4 first sequences:
# sapply(bb$req[1:4], getSequence, as.string = TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab