| Home | Trees | Indices | Help |
|---|
|
|
Given a list of molecules in SMILES format, map / translate the characters
to codes useable by the Daylight Depict web service. This is a temporary
helper until we have our own graphical molecule depiction program setup.
Input:
- smilesFile: Molecule file
Assumed to be in SMILES format, with one molecule string per line,
possibly followed by a title.
Can take stdin as source by specifying the filename "-"
Output:
- depictFile: Molecules as Depict encoded strings
Output is the the molecule strings translated into an encoded form understandable
by the Daylight Depict webservice. Furthermore, these are written as html
img objects, for direct usage as an html web page.
Again, redirection to stdout possible by specifying the filename "-"
|
|||
| Smi2Depict | |||
|
|||
|
|||
|
|||
MAX_CACHE_SIZE = 1000
|
|||
CACHE_SCALEBACK = 100
|
|||
SMI2DEPICT_MAP = dict(((' ', "20"), ('!', "21"), ('"', "22"),
|
|||
IMG_PREFIX = '<img width=%s height=%s src="'
|
|||
IMG_SUFFIX = '" alt="%s %s" border=0>'
|
|||
IMAGE_TEMPLATE = '<img width=%(width)s height=%(height)s src="
|
|||
OGHAM_URL = 'http://%(hostname)s/CHEM/Web/cgibin/smi2gif.py?--
|
|||
CHEMAXON_MARVIN_URL = 'http://%(hostname)s/arrow-webapp/ArrowW
|
|||
DAYLIGHT_PREFIX = '<img width=%s height=%s src="'
|
|||
DAYLIGHT_SUFFIX = '" alt="%s %s">'
|
|||
DAYLIGHT_URL = 'http://www.daylight.com/daycgi/smi2gif?'
|
|||
JME_HTML = '<applet code="JME.class" archive="/CHEM/Web/resour
|
|||
ENCRYPT_KEY = "enigma2004"
|
|||
|
|||
SMI2DEPICT_MAP
|
IMAGE_TEMPLATE
|
OGHAM_URL
|
CHEMAXON_MARVIN_URL
|
JME_HTML
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Thu Nov 8 17:49:22 2007 | http://epydoc.sourceforge.net |