[Biopython] Problem in accessing pcassay database

Peter Cock p.j.a.cock at googlemail.com
Thu May 12 19:04:45 UTC 2011


Please CC the mailing list on any reply.

On Thu, May 12, 2011 at 6:59 PM, sai nitin <sainitin7 at gmail.com> wrote:
> Hi Peter,
> Thanks for reply ya tried with Bio.entrez module (biopython) Ok let me
> explain issue more clearly...Say i have AID as follows
> 1. AID: 504582  i want to retrieve Description section details from this URL
> (http://pubchem.ncbi.nlm.nih.gov/assay/assay.cgi?aid=504582&loc=ea_ras)
> Like this i have 20 -30 AIDs I want to do this for all of them
> Any suggestions it would be gr8 help
> Thanks,
> Sainitin

If you look on the page you linked to, notice AID 504582 is itself a
link to Entrez,
http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=pcassay&term=504582

So, I would expect an Entrez search for 504582 in the pcassay database
to work. Trying this by hand on the NCBI Entrez website work fine,
then from Biopython you could do the same search with
Entrez.esearch(db="pcassay", term="504582")

Peter




More information about the Biopython mailing list