Thank you very much! It works.
• 0 views
•
link
Good afternoon,
I am trying to get sequence from genbank, using sequinr library.
library("seqinr")
choosebank("genbank")
A.thaliana <- query("A.thaliana", "sp=Arabidopsis thaliana AND K=rbcL")
This results in an error:
Error in readLines(socket, n = nelem, ok = FALSE): too few lines read in readLines
Traceback:
1. query("A.thaliana", "sp=Arabidopsis thaliana AND K=rbcL")
2. readLines(socket, n = nelem, ok = FALSE)
Please tell me what this may be related to and how to get the sequence? Thank you in advance!
Best regards, Poecile
Google says, try to increase the timeout:
choosebank("genbank", timeout = 20)
Thank you very much! It works.
Log in to answer this question.