Learn R Programming

seqinr (version 3.1-2)

readfirstrec: Low level function to get the record count of the specified ACNUC index file

Description

Called without arguments, the list of available values for argument type is returned.

Usage

readfirstrec(socket = autosocket(), type)

Arguments

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

Value

  • The record count of ACNUC index file, or NA if missing (typically when asking for type = EXT on a protein database).

Details

Available index files are:

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

References

See ACNUC physical structure at http://pbil.univ-lyon1.fr/databases/acnuc/structure.html. citation("seqinr")

See Also

choosebank

Examples

Run this code
# Need internet connection
  choosebank("genbank")
  allowedtype <- readfirstrec()
  sapply(allowedtype, function(x) readfirstrec(type = x))

Run the code above in your browser using DataLab