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:NA
when
called with parameter virtual
is TRUE
citation("seqinr")
choosebank
,
getSequence
,
getName
,
crelistfromclientdata
# 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)
Run the code above in your browser using DataLab