Package rdkit :: Package Dbase :: Package Pubmed :: Module QueryParams
[hide private]
[frames] | no frames]

Source Code for Module rdkit.Dbase.Pubmed.QueryParams

 1  # $Id: QueryParams.py 997 2009-02-25 06:12:43Z glandrum $ 
 2  # 
 3  # Copyright (C) 2003-2006 Rational Discovery LLC 
 4  # 
 5  #   @@ All Rights Reserved  @@ 
 6  # 
 7  import copy 
 8   
 9  urlBase="http://eutils.ncbi.nlm.nih.gov/entrez/eutils" 
10  searchBase=urlBase+"/esearch.fcgi" 
11  summaryBase=urlBase+"/esummary.fcgi" 
12  fetchBase=urlBase+"/efetch.fcgi" 
13  linkBase=urlBase+"/elink.fcgi" 
14  # for links to pubmed web pages: 
15  queryBase="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi" 
16   
17  _details = { 
18    'db':'pubmed', 
19    'retmode':'xml', 
20    'tool':'RDPMTools', 
21    'email':'Info@RationalDiscovery.com', 
22    } 
23   
24 -def details():
25 return copy.copy(_details)
26 27 # FIX: Allow PMID searches 28 searchableFields={ 29 "Author":("AU","Authors' Name "), 30 "Keyword":("MH","MeSH keyword"), 31 "Substance":("NM","Substance Name"), 32 "Title":("TI","Text from the article title"), 33 "Title/Abstract":("TIAB","Text from the article title and/or abstract"), 34 "Registry Number":("RN","CAS Registry Number"), 35 "Subject":("SB","Pubmed Subject Subset (tox,aids,cancer,bioethics,cam,history,space,systematic)"), 36 "Journal":("TA","Journal Name"), 37 "Year":("DP","Publication Date"), 38 "Affiliation":("AD","Authors' affiliation"), 39 } 40 searchableFieldsOrder=[ 41 "Author", 42 "Keyword", 43 "Title", 44 "Title/Abstract", 45 "Substance", 46 "Registry Number", 47 "Subject", 48 "Journal", 49 "Year", 50 "Affiliation", 51 ] 52