Get length
characters from sequence identified by name or by number
starting from position start
(counted from 1).
gfrag(what, start, length, idby = c("name", "number"), socket = autosocket())
A sequence name or number
Start position from 1
Number of requested characters (answer may be shorter)
Is the sequence identified by name or number? Default to name
an object of class sockconn
connecting to a remote ACNUC
database (default is a socket to the last opened database).
A string of characters with at most length
characters (may be
shorter than asked for). NA is returned and a warning is issued in
case of problem (non existent sequence for instance).
http://doua.prabi.fr/databases/acnuc.html
citation("seqinr")
# NOT RUN {
# Need internet connection
choosebank("emblTP")
gfrag("LMFLCHR36", start = 1, length = 3529852) -> myseq
stopifnot(nchar(myseq) == 3529852)
closebank()
# }
Run the code above in your browser using DataLab