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

Source Code for Module rdkit.Dbase.Pubmed.QueryParams

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