This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Bio.Entrez.efetch return all annotated features

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!

Valid values for rettype and retmode from NCBI's E Utilities help page

biopython

It works! Thanks so much. All I had to do was set rettype='gbwithparts'.

0 answers

No answers yet.

Log in to answer this question.