[Biopython] SLEN analogue in entrez.efetch/entrez.esearch

Anna Kostikova anna.kostikova at gmail.com
Fri Mar 30 16:55:39 UTC 2012


> How did you find the range trick you're using for the length search?
the idea came thanks to you. Essentially, the presence of SLEN term in
your blog post on 'NCBI Entrez EInfo' pushed me to try the same syntax
I'd use in perl or NCBI web interface. And it worked :)

Anna


2012/3/30 Peter Cock <p.j.a.cock at googlemail.com>:
> On Fri, Mar 30, 2012 at 4:28 PM, Anna Kostikova
> <anna.kostikova at gmail.com> wrote:
>> Thanks a lot Peter for the advice and the link - super useful trick!
>> a very straightaway solution, indeed:)
>>
>> handle = Entrez.esearch(db="nucleotide",term=organism +'[ORGN] AND
>> 100:1000[SLEN]')
>>
>> Thanks a lot again,
>> Anna
>
> Thanks for letting us know it worked :)
>
> How did you find the range trick you're using for the length search?
>
> Peter



More information about the Biopython mailing list