Entering edit mode
5.8 years ago
kksaw
•
0
Hi, sorry I am relatively new to Biopython and was wondering if there was a parameter to get all annotated features, instead of just the abbreviated view when using Biopython's Entrez.efetch function?
For example, handle = Entrez.efetch(db='nucleotide', rettype='gb', retmode='text', id='CH482384.1')
returns only the abbreviated view.
Is there an appropriate Entrez.readlines()
function for when rettype='ft', retmode='text'
or rettype='native', retmode='xml'
?
Entrez.readlines()
raises the errorIncompleteRead: IncompleteRead(0 bytes read)
Thank you!
ncbi was broken last time i tried to fetch all the annotations :-( see fetch -complete- genbank file using biopython
It works! Thanks so much. All I had to do was set
rettype='gbwithparts'
.