Learn R Programming

seqinr (version 3.1-2)

countfreelists: The number of free lists available and annotation lines in an ACNUC server

Description

Returns the number of free lists available list of names of annotation lines in the opened ACNUC database.

Usage

countfreelists(socket = autosocket())
cfl(socket = autosocket())

Arguments

socket
an object of class sockconn connecting to a remote ACNUC database (default is a socket to the last opened database).

Value

  • a list with the following 2 components:
  • freenumeric. The number of free lists
  • annotlinesvector of strings. Names of annotation lines

References

http://pbil.univ-lyon1.fr/databases/acnuc.html

citation("seqinr")

See Also

choosebank, query

Examples

Run this code
# Need internet connection
  choosebank("emblTP")
  (rescountfreelists <- countfreelists())
  stopifnot(all(rescountfreelists$annotlines == 
   c("ALL", "AC",  "PR",  "DT",  "KW",  "OS",  "OC",
   "OG",  "RN",  "RC",  "RP",  "RX", "RG",  "RA",  "RT",  "RL",  "DR", 
   "CC",  "AH",  "AS",  "FH",  "FT",  "CO",  "SQ", "SEQ")))
  closebank()

Run the code above in your browser using DataLab