readfirstrec | R Documentation |
Called without arguments, the list of available values for argument type is returned.
readfirstrec(socket = autosocket(), type)
socket |
an object of class |
type |
the ACNUC index file |
Available index files are:
AUTHOR one record for each author name (last name only, no initials)
BIBLIO one record for each reference
ACCESS one record for each accession number
SMJYT one record for each status, molecule, journal, year, type, organelle, division, and db structure information
SUBSEQ one record for each parent or sub-sequence
LOCUS one record for each parent sequence
KEYWORDS one record for each keyword
SPECIES one record for each taxon
SHORTL mostly, one record for each element of a short list
LONGL one record for each group of SUBINLNG elements of a long list
EXTRACT (for nucleotide databases only) one record for each exon of each subsequence
TEXT one lrtxt-character record for each label of a species, keyword, or SMJYT
The record count of ACNUC index file, or NA if missing (typically when asking for type = EXT on a protein database).
J.R. Lobry
See ACNUC physical structure at
https://doua.prabi.fr/databases/acnuc/structure.html.
citation("seqinr")
choosebank
## Not run:
# Need internet connection
choosebank("genbank")
allowedtype <- readfirstrec()
sapply(allowedtype, function(x) readfirstrec(type = x))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.