Home

The PubChem Structure Sketcher

image

Contents

1. Save as type saf Document t Import Browse Close this dialog box when download completes E Done pen open Folder Local intranet the download file is editor xxx where xxx is a suitable default suffix for the selected file format The desired format of the file can be selected before clicking the Export button from the menu to the right of that button The exact list of formats which can be used for export is dependent on the installation The default set of formats includes structure exchange formats MDL Molfile SMD SMILES SMARTS CML structure editor formats for further clean up of the drawings for publications etc ChemDraw and CDXML Isis Draw SKC and image downloads GIF PNG SVG EPS In default installations manda tory 3D formats PDB MOL2 XYZ etc are not available because the sketcher back end is not installed with a version with an integrated 3D coordinate generator If the export format supports it query attributes will be encoded in the export data as far as technically pos sible However not all formats can express all supported attributes For example MDL ISIS query files a special subclass of the MDL Molfile cannot encode the atom aromaticity query attribute which is popular in SMARTS On the other hand standard SMARTS has no ring bond count attribute which is available in ISIS Query attributes which cannot be expressed
2. Bic Ne Al Si Ar 5 Kr YY B In Sn Xe Lu fu Tl Pb i Rn Export MDL Done Hydrogen Keep Asls m Import Browse Sketcher Operation Editor Window Layout A newly opened sketcher window is divided into three distinct zones To the right the actual sketching area is located To the left a number of buttons and other user interface elements control the editor mode of oper ation Above the drawing area there is a text field which displays the current structure in various encodings useful for cutting and pasting It can also be used to input structure information into the sketcher from struc ture encodings on the clipboard or even by typing in structure codes by advanced users Button Area The buttons on the left are used to select the various operations of the sketcher There are two types of blue buttons Those without a raised border element symbols various bond types etc are mode selectors When you click them they are highlighted and remain highlighted until a different mode is selected or they Sketcher Manual 3 PubChem Sketcher User Manual are reset during by the program as a result of a user action Only one of these mode buttons is active at any time The other type of button has a raised profile These buttons perform an operation immediately when they are clicked They do not c
3. Every structure change is immediately reported to the caller form There is no button which needs to be clicked in order to transmit the currentl sketch 26 Sketcher Manual Sketcher Operation Quitting the Sketcher As described above there is no need for any user action to transmit the structure data to an originating form for further processing The sketcher can thus be quit at any time 2iBl x without fear of data loss simply by closing its window by means of the standard mecha nisms of the client platform such as clicking on the cross shaped close icon on the upper right of the windows on MS Windows Nevertheless since in our experience many users appear to be more comfortable if they can hit a dedicated clearly labelled button to finish the arduous task of inputting an important query structure we have added a big Done button to the sketcher button Done set It is located to the right of the Export controls This prominent button simply closes the sketcher window and does nothing else Sketcher Manual 27 PubChem Sketcher User Manual 28 Sketcher Manual 2 Installation of a Sketcher Web Service Theory of Operation The sketcher may be run in various modes The exact mode of operation must be configured at set up and cannot be changed without terminating the sketcher server s and doing a re configuration interactive functionality of the sketcher
4. In case a cleanup should not yield an improved structure layout it can be undone Setting Query Attributes on Atoms The sketcher supports the setting and deletion of a limited set of query attributes YI Qry on atoms and bonds In order to activate the query attribute mode click the 12 Sketcher Manual Sketcher Operation button In this mode the left mouse button can be used to click onto atoms or bonds Depending on the type of object clicked different query attribute windows will open f Query attributes of atom 7 Microsoft Internet TEX SMARTS ei 1 Del b 9 HH Attribute Value m PARR Atom Class Element Insaturated Saturated eo Query Flags Aromatic Aliphatic Isotope X NOZ COOMe SOSH Allowed Valences 1 any none selected pos Ae pier Don O O O40 O Al Si P S Cl Ar count all atoms incl H Allowed Substituents Ga Ge As se Br kr barum m mj mj mj mi mj mj mj mj d In Sn Sb Te Xe Allowed Hydrogens Lor rr rers count H atoms 1 Allowed Hetero Substituents rPornrranrnrn rs ile Put count no or C atoms Allowed Ring Bond Count Sr NT ANE E NI ol 1 D ichan
5. 05 0 OF Allowed Ring 51 Browse owed Bing Sizes rig rr 0 012016 Ring Set Reset Close E Done 3 Local intranet 2 The image above shows the atom attribute window The following attributes set or reset Atom class There are four different classes and three predefined element sets accessible in this row By default atoms in the sketch correspond to a specific type of physical atom with a defined element If this atom class is selected the element may be changed by entering a new element symbol in the text filed to the right This is equivalent to selecting an element button and clicking onto the atom which should be changed The other atom classes are ary list and negative list An any atom will match any atom in data base structures when used in substructure queries The text field is ignored for this atom type A listis a set of alternative elements for this atom You need to specify a whitespace or comma separated list of acceptable element symbols in the input field to the right The negative list is the same as a normal list except that all elements except the ones specified in the text field will match Finally the predefined ele ment sets hetero halogen and metal are shortcuts for popular element lists These shortcuts also ignore the text field Atom classes other than the simple element atom cannot be used for hashcode based full structure searches e Query flags Sketcher Ma
6. Select Zn as current element Enter down bond drawing mode Enter up bond drawing mode Enter plus charge change mode Enter single bond drawing mode Sketcher Manual 25 PubChem Sketcher User Manual Enter double bond drawing mode e Enter triple bond drawing mode e Enter either crossed double bond mode e Enter any query bond mode e Select any query atom as current element e Select query atom as current element e 0 Activate phenyl ring template e Enter single bond drawing mode e 2 Enter double bond drawing mode e 3 Enter triple bond drawing mode e 4 Activate 4 membered ring template e 5 Activate 5 membered ring template 6 Activate 6 membered ring template e 7 Activate 7 membered ring template e 8 Activate 8 membered ring template The mnemonic for element shortcuts is that lowercase letters select the element where the single letter symbol corresponds to the pressed key Uppercase letters select the most important element with a two letter symbol which starts with the pressed key There is no 9 membered ring template which could be associated with key 9 Data Transfer to Caller Forms A question which has been asked more than once concerns the problem of how to transfer the edited structure data from the sketcher to a linked form which opened the sketcher window The answer is simple There is absolutely nothing a user needs to do to achieve this Data transfer is automatic and dynamic
7. at pubchem ncbi nlm nih gov can be configured to run in domains pubchem ncbi nlm nih gov ncbi nlm nih gov nlm nih gov or nih gov but nowhere else It is important to know the domain a referenced sketcher is operating in because the calling Web page must have its document domain set exactly to the same domain This is because the sketcher needs to be able to call the data transfer functions in the opener window If this window is in a different domain even a more specialized domain of the sketcher domain the function call will be blocked by the Web browser cross site scripting security mechanisms and no data from the sketcher ever arrives at the opener window The document domain of an HTML page is set by a simple JavaScript statement like document domain nlm nih gov which should be executed directly at load time in the script section or in an onload handler function attached to the body tag The domain modification only succeeds if the document domain of the page is already that domain or a more specialized variant such as cis ncbi nIm nih gov It also means that no Web service outside the nlm nih gov domain assuming the sketcher instance is installed there can make use of the data transfer functionality of the sketcher because it will not be able to set its document domain to the required value Sketcher Manual 5 Linking the Sketcher to Web Pages However even from within a qualified domain an opener page d
8. bounding box of a larger fragment on the drawing area a molecule the whole fragment is moved If at the moment the mouse button is released there are no overlaps between the moved atoms and any other atoms only the graphical position N N of the moved objects will have been adjusted If there are overlaps an attempt is made to merge the overlapping atoms Atoms that have not been moved have precedence In the graphic to the left if the left ring is moved onto the ring in the middle so that the rightmost two atoms of the moved ring overlap with the leftmost two atoms of the other ring the results will be as depicted in the right column If valence restrictions prevent some bonds from being formed they will be omitted N The rotate mode This mode will allow you to rotate fragments on the drawing area b clicking and dragging with the left mouse button The center of rotation e t depends on the object at location where the mouse button was clicked It can be either an atom a bond center of rotation is the center of the bond or a molecule when the click occurred in the bounding box the center of rotation is the molecule center Rotation is currently locked to 30 degree steps When the rotation is finished after releasing the mouse button an atom merging step identical to that in the move mode is performed The mirror modes The mirror buttons allow you to easil
9. is controlled by a single server program This server may be run either as a stand alone process or daemon or as a standard FCGI application controlled by the main Web server Operation as Stand Alone Process Operation as a stand alone daemon or process is primarily useful for debugging purposes Since in this mode the software can write trace output to standard output and it can run under any developer account and can easily be killed without the need to do this as root or with the permissions of the Web server process customizing the application is much more convenient in this mode The major disadvantage of running the sketcher as a separate process is that it needs to use a different port for communication with the client than the Web server transmitting the auxiliary HTML pages This leads to cross site JavaScript execution prob lems even if the main Web server and the sketcher process are executing on the same computer The reason is that according to a strict interpretation of JavaScript permission rules JavaScript access across windows is disallowed when the window contents were loaded via different ports even if the contents came from the same host There is disagreement among browser developers whether different ports of origin but same host of origin should lead to blocking of cross window scripting MS Internet Explorer will still allow this while most other browsers block JavaScript access in this environment In practice this means t
10. onto the ring atom in the drawing to be substituted select sulphonic acid group button again click into draw ing area and repeat twice more for the carboxyl group and the n pro 9 pyl group If desired a complete set of hydrogen atoms can be added 7 as a final step see below dl Templates The fragment button row on the main editor window only shows a small collection of frequently used fragments larger template library can be opened by clicking on the grid button in the upper right of Sketcher Manual Sketcher Operation the button section An auxiliary window with tabs for various types of fragments of biological importance opens PubChem Server Side Structure Editor 1 15 Microsoft Internet Explorer xl Broadband SMILES 7 New Udo Det ar e Cv EB oat Editor Templates Microsoft Internet Explorer Cyclics I Polycyclics Amino Acids Furanoses Pyranoses Nucleotides alpha D allopyranose beta D allopyranose alpha D arabinopyranose bea D arabinopyranose alpha D galactopyranose beta D galactopyranose 0 oO El eS 0 beta D guoopyranose alpha D qulopyranose beta D gulepyranose alpha D idopyranose beta D idopyranose 0 0 0 0 0 Jl 0 0 sd a 0 0 al 0 0 A Og 0 5 o 0 Hydrogen Import beta D mannopyranose alpha D tuctopyranose alpha D sorb
11. specific user is currently drawing The client JavaScript code only reports drawing events but no information about the current structure This infor mation must be stored somewhere between events The simplest method to store structure data is to keep it in the memory of the sketcher FCGI program This mode is simple to use and probably the most useful for the majority of application scenarios Since clients transmit an unique session ID multiple users can use the same sketcher process seemingly simultaneously The sketcher server can keep multiple structures that are edited in different sessions byt the same or different users in memory By correlating the session ID with its internal storage manager the correct structure among the current memory set is selected edited and the results sent back to the client There is no hard coded limit on the number of parallel editing sessions which can be maintained On an average Web server host a couple of dozen parallel editing sessions are easily feasible As long as no events are received from a client there is only a storage requirement of a few kilobytes of memory but no further load on the server because there is no computation and traffic associated with that ses sion In addition to internal memory storage the sketcher application supports storage of state information in external storage managers The default application script supports the NCBI NetCache network data caching system and the Pub
12. this parameter is 0 In case more than one of these parameters is specified only the first one that is successfully decoded will be used In case a preload identifier cannot be loaded it is silently ignored It is common practice to construct the URL to open the sketcher window with contents of form fields and other dynamic data Here is a sample JavaScript routine function startE ditor cid document forms query elements simple cid value smarts document forms query elements simple searchdata value if cid 2 editorwin open edit index html cid cid amp cnt eventcnt editor height 440 width 880 scrollbars no status yes location no menubar no toolbar no resizable yes true else if Smarts smarts encodeURIComponent smarts editorwin open edit index html smarts smarts amp cnt eventcnt editor height 440 width 880 scrollbars no status yes location no menubar no toolbar no resizable yes true else editorwin open edit index html cnt eventcnt editor height 440 width 880 scrollbars no status yes location no menubar no toolbar no resizable yes true Note the encoding step for the SMARTS value which is needed to protect characters such as which fre quently occur in SMARTS strings but have special meaning within URLs Receiving Sketcher Data The sketcher server transmits structure updates in a near continuous fashion There is no specific user
13. 4 encoding molfile MDL Molfile image and formula molecular formula of edited structure with implied hydrogen CACTVS blobs and Molfile images can have a size of a few kilobytes each while all other data is roughly 100 bytes per item Since this data is transferred from the sketcher server to the client browser after every drawing even which modified the structure transfer of items in these larger data formats can have a notable impact on sketcher usability over slower connections and thus should only be enabled if a format is actually needed by any of the Web applications receiving sketcher data from an installa tion Use of lossless CACTVS blobs or MDL Molfile record images has a place though because there are for example query attributes which can be set in the sketcher and which cannot be trans mitted in other formats e DEBUG Set this value to 1 if you want debug output on the processing of individual sketcher events on stan dard output This option can only be used with the standalone server mode because otherwise stan dard output is needed for data transfer with the main Web server e IMGW and IMGH This is not the size of the sketcher main drawing area but the size of template depictions in the tem plate panel You probably do not want to change this except in case you have changed the default templates in file tpl tpl tpl to a set with significantly different size characteristics Performing an Installation After the Ma
14. Chem QueueManager queueing system If the use of any of those systems is enabled in the sketcher configuration structure state is swapped out to the external storage manager immediately after every operation and all internally memorized state information is deleted When a client event is received the session ID information is used to first re load the current structure data Sketcher Manual before the actual processing of the event begins The overhead for retrieving and storing structure state is not big just a few milliseconds The big advantage to external storage of structure state information is that in that case multiple sketcher pro cesses can operate in parallel on one or more physical servers This way the software becomes both scalable and robust against failures of single servers At PubChem the site http pubchem ncbi nlm nih gov edit is actually served by two physical computers named pubchem3 and pubchem4 Access to these two systems is dynamically load balanced and both servers run their own multiple sketcher FCGI instances During the course of an editing session the session is typically bounced between hosts multiple times but in com pletely transparent fashion and without loosing any sketcher content because every sketcher server process knows where to obtain the most current structure information to proceed with the drawing event to be pro cessed next The storage managers are typically itself mirrored for pe
15. Structure Data Line Above the drawing area a text field displays continuously updated information about the currently edited structure The type of data displayed can be changed by the choice menu to the left of the text field SMILES c1 cc cc ci n Del ay ef EH d cane gt lt S A DIA SID lejo 1 r 1 The following choices are available SMILES The text line shows a SMILES encoding of the edited structure assuming that hydrogens are implic itly added The encoding of aromatic systems is in Kekul form for maximum easy of decoding SMARTS The text line displays a SMARTS encoding _ The atom aromaticity atom attribute lower smarts a ccco el case element symbols is automatically set for identified aromatic systems in the draw go jay e EB ap em gt lt S A DIA SID ing Atoms for which the aromaticity status i cannot be determined are encoded as element numbers 6 for carbon to avoid implicit e o assumptions about their aromaticity when pda uu dur deu 1 decoding Aromatic bonds are encoded as implicit bonds aliphatic single bonds use explicit single bond encoding 6 6 InChI The line displays an InChI encoding of the structure InChI is a new IUPAC standard for compact unique representation of chemical structures A full set of implicit hydrogen is assumed in the encoding All h
16. The PubChem Structure Sketcher Manual for Version 1 20 PubChem Server Side Structure Editor 1 15 Microsoft Internet Explorer nml Broadband SMILES O C 0 CC1 CC CC C1 H udo cin Del ary Cv EH gt lt a DA Eae sal OO Ie X Sc sc z Y v sl Lu Export MDL Moie Hyargen Keep Asis z Import i i i Browse by Wolf D Ihlenfeldt Last update 2007 6 22 1 PubChem Sketcher User Manual Z PubChem Server Side Structure Editor 1 16 Microsoft Internet Explorer Broadband v SMILES C1 CC CC CT N O O ele nO BH DA S D Rj PubChem Structure Search Micro File Edit View Favorites Tools Q O 2 Address ja http pubchem ncbi nlm nih 9 COOMe e MZ EX H N 5 NCBI HOME SEARCH SITE MAP Al Si Ar Ga ius Kr in Sn Sb v Xe Structure Search P ei Fo At Rn n Export MDL Molfile Done Hydrogen Keep Asls E search Import Search Input Sr Miana 4 C1 CC CC C1 N 70 0 Search Type Search using Same Compound x In order to all
17. act which initiates the transfer of sketcher content to a receiving form or other recipient At the installation time of a sketcher instance the administrator selects a set of supported transfer formats When a sketcher window connected to a server is running it will attempt to transfer its current content in all installed formats to recipients It does this by trying to call a sequence of JavaScript functions on the opener page with the current structure data in any of the installed encodings as argument The names of these trans Sketcher Manual 3 Linking the Sketcher to Web Pages fer functions are fixed A page using the sketcher as data provider simply needs to have one or more of these functions in its javascript page sections Within these functions page specific custom JavaS cript code can for example copy the received data to a form element and simultaneously perform any other related functions The advantage of this generic mechanism is that the sketcher application does not need to know anything about the data destinations and storage mechanisms of any form it is sending data to It is neither required nor normal usage to write all possible transfer functions If functions are missing a failure to call them from the sketcher window is simply ignored This is a simple sample transfer function function transferS miles s document forms query elements editor smiles value s resetC IDref A caller pag
18. d for loading existing structure data into the sketcher is by means of file upload Broadband gt SMILES New Cin Del Q SA Lookin ajo O e C Fe halobenzenemix cdx l LNA NY loo My Recent nitrobenzene mol Documents S nitrobenzene expanded cdx T 4 nitrablabenzene cdx Li Be smallset smi Desktop Na Mg A SiI P IS C ca se 5 ca ce as se e Sr Y v In Sn Sb Te My Documents tule Cs v TI Pb Bi Po a Export JMOL Molfile NCBIPC1015 Hydrogen F Import rrost ihlentenest Browse DESEE File name halobenzenemis cds z Open Places Files of type Files Cancel Jj 2 In order to do this select an existing structure file via the Browse button and then press Jmport button The file is then read and added to the existing content In case you want to guarantee that the imported file is the only sketcher content press the New button before the import The import function only reads the first record of multi record files So in case you attempt to upload an SD file only the first record will show Sketcher Manual 21 PubChem Sketcher User Manual The hydrogen
19. dow instead e Ctrl V Paste structure fragment at current position See separate paragraph on keyboard pasting e Ctrl X Copy structure as SMILES to clipboard and erase current drawing e Ctrl Y Undo last operation e Ctrl Z Undo last operation e A Select as current element e b Select B as current element e B Select Br as current element ec Select C as current element ec Select as current element ed Select D 2H as current element ef Select F as current element e F Select Fe as current element eG Select Ge as current element eh Select H as current element e H Select Hg as current element Sketcher Manual Sketcher Operation e e 4 ooze mS e AVNKM lt Select J as current element Select Jn as current element Select K as current element Select Kr as current element Select Li as current element Enter move mode Select Mg as current element Select N as current element Select Na as current element Select O as current element Select Os as current element Select P as current element Select Pd as current element Enter query mode Enter rotate mode Select Ru as current element Select S as current element Select Si as current element Select T 3H as current element Select as current element Select U as current element Select V as current element Select W as current element Enter delete mode Select Xe as current element Select Yb as current element
20. due to a misconfiguration many Web servers impose a blackout period of 10 minutes or more before they will attempt any additional automatic restart of an FCGI In that case even a corrected set up may appear to fail for a period of time If it is not a pro duction system restarting the main Web server may be an option e Verify that the sketcher is working by loading index html into a client Web browser Use the Web path of the target directory You can also simply use the target directory URL if index html is the default direc tory view file as configured in the Web server Next try a few structure drawing operations Any failure is likely to become immediately obvious by displaying a broken canvas drawing area image In case a vir tual server with multiple physical servers is used it is rather unpredictable when any of the physical serv ers will be contacted In that case we can only suggest a longer sketching test session we have seen cases where a switch to a specific physical server with a problem only happened after a few minutes and until that moment no problems were obvious because the faulty server was never contacted Cleanup After a successful installation the staging directory can be deleted Sketcher Manual 7 Installation of a Sketcher Web Service Sketcher Manual 3 Linking the Sketcher to Web Pages General Introduction The Sketcher program was designed to be easy to use in a variety o
21. e must use the same document domain as the sketcher installation it is referring to This is explained in more detail in the next paragraph These are all possible transfer functions A specific installation will usually only support a subset of these e transferSmiles s Receive the SMILES or SMARTS encoding of the current editor content The encoding style is controlled by the option menu for setting the style of the data display above the drawing area in the sketcher window transferBlob s Receive a CACTVS toolkit compressed base64 encoded serialized ensemble object This is the only transfer mechanism guaranteed to be lossless i e not to drop any query attributes or other structure attributes On the other hand these blobs are significantly larger than SMARTS strings and not conveniently displayed in an HTML form element An alternative is to store these in a hid den form field and to display the approximate SMARTS version in a visible form field When the form is submitted and the visible SMARTS text in the form has not been edited after it was received from the sketcher the hidden blob can be transmitted as real query structure One drawback is that this option about doubles the bandwidth requirements of the sketcher because of the frequent transfer of full blobs instead of short SMARTS strings For this reason some installations may not want to install this transfer option e transferMolfile s Receive a string image of an MDL Mol
22. ement symbols used for extended symbols Anatom list lowercase for aromatic atoms Anegative atom list e An any atom e A metal atom e A halogen atom e hetero atom CLBz I S Te M x and these characters for additional attributes plotted as red markers to the upper right of the atom symbol e Charges Isotopes e Saturated atom e Insaturated atom Aromatic atom e Aliphatic atom Valence Neighbors e Substituents e Hydrogens e Hetero substituents e Ring bonds in normal style as or 3 nucleon count integer S u a A V as in V3 5 X as in X4 D as in D3 as in H2 x as in x1 2 as in r3 or 1 Sketcher Manual 15 PubChem Sketcher User Manual Allowed Ring sizes R as in R3 R for chain For query attributes with alternative possible counts an attempt will be make to contract the displayed set as much as possible using closed 1 2 and open 1 or 4 ranges and lists of alternative single values 3 5 The structure handling library used to implement this applications supports many more query attributes than those accessible via the atom attribute panel In case these were imported by reading a file with a query specification other attributes may be displayed in addition to those described in this section As long as they are not overwritten by explicit
23. er document domain should be kept constant during the time the editor window is open The callback functions are called every time the editor content changes If the document domain has been further modified since the window was opened data transfer can fail mysteriously in the midst of an editing session because the license to call the transfer functions in the opener page has been lost Sketcher Manual
24. exported by clicking on the button labelled Export A file selector box will open and let you specify the name and location of the file downloaded from the sketcher server The default name of Server Side Structure Editor 1 16 Microsoft Internet Explorer _ loj xj File Edit View Favdfes Tools a Ana i9 ig 0 O Z Address http pubchem ncbi nim nih govjedit 1 Links E Snagit Er Broadband gt SMILES a CC CC C1 CH N O 0 CCNCHINGIEON Save in My Documents z Qt rti New Udo Cin Del ary f ate EH Goslar S E en gt lt S A D A S D _ MonthlyReports ue EIS My Data Sources ajo oO OW Co eo N Documents My eBooks My Music ate ao E My Pictures H Po Em He Desktop My Videos N my Webs Li Be 9 SketcherManual 3 Snaglt Catalog Na Mg Al Si P S cCI Geers My Documents Visual Studio 2005 K Ca Sc 5 Ge se Br WebWorks sr m sn se we 1 Y m ug i EU NCBIPC1015 Cs Ba Lu E Pb Bi At Saving E editor sdf From p Export MDL z Dor Estimated time lef My Network File name Hydrogen Kee Asis z Places P
25. f Web linking scenarios without the need to customize separate installations for each application and with minimum impact on the design of Web pages making use of the sketcher General Integration Method Usually the sketcher is invoked by opening up a separate sketcher window by clicking onto a button The associated JavaScript fragment looks like this var editorwin open edit index html editor height2440 width 880 scrollbars 2no status location zno menubar no toolbarzno resizable yes true The default size of the sketcher window is 440 by 880 pixels This will display well on all standard brows ers For the sake of users with non standard font size settings the subwindow should be opened as resizable In theory it is also possible to load the sketcher into a frame or iframe in the context of a larger window However the required window size of the sketcher is rather large and pages which embed the editor thus tend to appear crowded Pre loading Sketcher Content The editor can be opened with initial content This is done simply by providing CGI parameters to the open ing statement as in editorwin open edit index html smiles 2c1cccnc1 The following CGI parameters are recognized e smiles A SMILES string of a chemical structure The structure will be decoded without implicit hydrogens When providing SMILES and SMARTS strings as initialization data look out for Sketcher Manual 1 Linki
26. file possibly with ISIS query data Since these Molfile images are comparably large this function is frequently disabled in Sketcher installations Sketcher Manual e transferJme s Receive a JME editor string of the current editor content e transferInChl s Receive the InChI string of the current editor content e transferSLN s Receive the current editor content as Sybyl Line Notation string e transferMinimol s Receive a CACTVS V2 minimol in base64 encoding e transferFormula s Receive the molecular formula including implicit e transferKeys k1 k2 Receive NCBI Netcache storage keys for the current and backup ensembles This is only meaningful if the state storage mechanism of the sketcher installation uses the NCBI Netcache daemon In that case sessions can be resumed using these keys This is described in the paragraph on pre loading the sketcher content e transferSessionID id Receive the session ID Document Domain Issues The Internet domain any instance of the sketcher operates in is determined at installation time In the sim plest case it is the same as that of the host it runs on but it can be set to a more generic domain For exam ple the sketcher may be installed on pubchem ncbi nlm nih gov but it may be configured to run in domain nlm nih gov A configured subdomain can only be a left truncated part of the host domain not an arbitrary domain and has at least two levels left For example a sketcher installed
27. gured any host which resides in that domain can Sketcher Manual 5 Installation of Sketcher Web Service use the sketcher The problem of using document domains and its impact on Web pages wanting to receive sketcher data is discussed in Chapter 3 of this manual e WEBDIR The name of the installation directory without leading or trailing slashes as seen from the Web server root For example if the installation directory was called www htdocs edit in the local file system it may appear has Attp HOST edit on the Web In that case the Web directory name set here would just be edit e TRANSFER This variable controls which type of data the sketcher will attempt to send to an opener page after every editing operation which changed the structure The mechanism used to receive sketcher data on form pages etc is described in Chapter 3 of this manual The configuration here selects only available data but does not require that any opening form page actually makes use of it The param eter is expected to be a space separated list of the desired transfer formats The available formats include smiles SMILES or SMARTS string depending on sketcher window controls sin Sybyl line notation string jme JME Java molecule editor string inchi IUPAC InChI string keys Net cache session keys only if Netcache storage manager is used sessionkey the current session key blob CACTVS compressed serialized structure blob in base6
28. hange the overall operating mode of the sketcher Some of these opera tional buttons are associated with auxiliary control elements such as option menus or file upload butt ins Mouse Use operations can be performed with a single button mouse If you have more than one button the left mouse button is used for standard drawing and selection operations The right mouse button can be used for quick deletions More about this can be found in the paragraph about deleting objects Error Reporting In case some error condition was encountered while drawing which prevented an operation from per forming at least part of its intended work the drawing area or a part of it will briefly flash orange If the location of the problem such as an atom with a valence violation could be identified the offending object is flashed as an orange localized box If the problem was global in nature the full background of the drawing area briefly turns orange The error flash is generated by sending a specially crafted animated GIF image to your browser In order to see the flashes you need to allow image animations in your browser If you disallow them no harm is done except that you miss the visual feedback The software intentionally does not use audio cues Bandwidth Control The choice menu in the upper left corner can be used to lower the bandwidth requirements of the sketcher This can be useful in case it needs to be accessed via dial up or conges
29. hat development and debugging of new Sketcher features will require the use of Internet Explorer Verification of operation on other browsers can only be performed once the updated version has been re configured to run as an FCGI Sketcher Manual 1 Installation of Sketcher Web Service Operation as FCGI Process FCGI processes are controlled by a Web server and both input and output are routed through the Web server so that all data transfer appears to involve only the Web server and its port Therefore there are no cross window scripting problems In order to run the sketcher as an FCGI the main Web server must have been configured to support FCGI For Apache this means that standard module fcgi so needs to be present and loaded In addition the sketcher installation directory must be set up in the Web server configuration to allow CGI execution Currently all sketcher components need to be served from a common installation directory There is no provision for a split into the FCGI server component and supporting static files The size of the FCGI program is not trivial and initialization after start up takes maybe half a second Since sketching events need to be processed much faster than this running the application as a standard CGI which is started anew for every processing request and then terminates is not a viable option Storage of Structure Information The sketcher obviously needs to have a memory on what a
30. his ring set is more symmetrical than the classical SSSR 16 Sketcher Manual Sketcher Operation Display of Bond Query Attributes As for atoms query attributes of bonds are displayed on the drawing area The annotation color for bond attributes is dark blue and attribute annotations are drawn over the center of the bond MILES crx Gicc ccc i ay CX ER S A D A S D gt lt NO2 COOH COOMe SOGH These characters are used to display bond query attributes e Aliphatic bond A Aromatic bond a e Ring sizes R as in R6 R 5 For query attributes with alternative possible counts an attempt will be make to contract the displayed set as much as possible using closed 1 2 and open 1 or 4 ranges and lists of alternative single values 3 5 The structure handling library used to implement this applications supports many more query attributes than those accessible via the bond attribute panel In case these were imported by reading a file with a query spec ification other attributes may be displayed in addition to those described in this section As long as they are not overwritten by explicit setting of new attributes on affected bonds they will if possible in the structure data transfer format be preserved in structures submitted via the editor Sketcher Manual 17 PubChem Sketcher User Manual The
31. in the selected export format will be silently ignored The native CACTVS binary export format plays a special role in the context of structure export and restora tion Because it is the underlying format of the sketcher back end engine It is the only format which is guar anteed to be lossless Only with this format the original structure can be restored under all circumstances Sketcher Manual 23 PubChem Sketcher User Manual with all attributes and other features exactly as they were when the structure was exported Neverthe less for standard structures without special features a plaia MDL Molfile will work well too Hydrogen Manipulation Besides its role for file import and export of structure data the Hydrogen option menu can also be used for direct manipulation of the currently edited structure Simply set the menu to the desired operation and press the Hydrogen button to the left of the menu The hydrogen status of the drawn structure will be immediately adjusted Keyboard Shortcuts Many of the sketcher modes can be controlled by keyboard shortcuts This feature allows advanced users to keep the mouse in the drawing area without moving it left and right to switch buttons These are the shortcuts e Ctrl B Beautify structure Does not work on all platforms e Ctrl C Copy structure as SMILES onto the clipboard Does not work on all browsers e Ctrl N New drawing Do not use on MS Windows it clones the sketcher win
32. ing systems When button has been activated its associ ated drawing mode is used as follows Sketcher Manual 7 PubChem Sketcher User Manual e Clink into empty area A ring of the selected type is added with its center at the click position Click onto existing atom The selected ring is sprouted from the atom via a single bond using a 120 degree bond angle where possible Control click onto existing atom The selected ring is sprouted from the atom incor porating the start atom as first ring atom If the start atom is already a ring atom a spiro system is created e Click onto existing bond The ring is annealed to the existing bonds In case of the phenyl fragment a smart decision is made about where to put double bonds in the added ring In case valence restrictions prevent the full execution of a ring addition bonds to the source atoms may be omitted The second row of buttons displays a couple of important chain fragments and functional groups These are used in a very similar fashion to the ring fragments but the spiro or bond addition modes are not supported for them They can only be added as stand alone fragments or sprouted from an existing atom The structure to the right can be built with five mouse clicks into the drawing area plus five button selections select the phenyl ring frag I ment click anywhere into empty drawing area select the nitro func tional group fragment click
33. kefile in the unpacked staging directory has been edited perform the following steps Sketcher Manual Incase any sketcher server processes are running that access the target directory kill them Killing Web server controlled FCGI processes may require special permissions e Execute the command make install in the staging directory This will fetch a fresh set of configuration dependent files form the tpl subdirec tory process them and copy them to the installation directory Any old files from earlier installs will be overwritten Some static HMTL files and the script interpreter will also be copied Incase the operation mode is standalone an executable called editsrv is assembled in the installation directory It can either be manually started from there or via some kind of custom etc init d init script In any case the Web server will not be able to start it automatically when a sketcher page with dynamic content is loaded To verify proper operation of the sketcher the server process must be started manually before any sketcher pages are loaded Incase the operation mode is fcgi an executable called editsrv fcgi is assembled in the installation direc tory properly configured Web server should start it automatically if a sketcher page with dynamic con tent is loaded If this does not happen consult the error log of the Web server for information about the problem In case of an earlier start up failure or crash
34. loy this optional feature Structure Input via the Structure Data Line The structure data line serves not only as an information display It is possible to enter structure codes in this field and import structure data into the drawing area Structure import is performed by clearing the line and then editing or pasting a structure code into this field and finally pressing the return key The setting of the display choice menu to the left of the field has no influ ence on the operation If the decoding of the structure data succeeds the encoded content will be merged into the existing drawing as a new additional fragment If it is intended to replace the current contents you need to clear the drawing Sketcher Manual 19 PubChem Sketcher User Manual area first by pressing the New button Fragments are imported without implicit hydrogens and are placed automatically RTS 1 TS 11 1 2 2 EB CV oe EB e e ele Ti NOZ COOH COOMe SOGH gt lt A S A D A S D elo NO COOH COOMe SOSH 5 N As Se Br Kr x N The images above display the drawing area before and after the SMILES string c cnnnc1 was imported Note that the i
35. mplicit aromatic system in the input string was automatically resolved to a proper Kekul form The complete set of supported structure data string formats depends on the back end installation The following will always work e SMILES SMARTS strings e InChI strings e CACTVS toolkit hex encoded compressed binary blobs Additional formats which may be supported in specific installations e Hex encoded SMILES e CACTVS toolkit Minimol strings e SLN Sybyl Line Notation strings e Hex encoded compressed Molfile strings as used by MDL Chime JME strings as used by the MolInspiration Java applet sketcher 20 Sketcher Manual Sketcher Operation Structure Import via Keyboard Paste The supported strings that can be imported via the data line may also be directly pasted from the clipboard into the drawing area by means of the standard ctrl V keyboard shortcut provided that the drawing area has keyboard focus This method has the additional advantage that the location of the mouse at the moment of the keypress determines the location of the center of the newly added fragment Depending on the browser and client operating system the drawing area may not automatically have keyboard focus when you move the mouse into it To make sure that it has click the mouse once In case this leads to the addition of an unwanted atom or a fragment use the right mouse button to delete these Structure Import via File Upload The final metho
36. ng the Sketcher to Web Pages smarts jme sin minimol blob e key cur e did e e vid vhadd the character which needs to be escaped in order to prevent it from being misread as a page location URL component A SMARTS string of a query structure The query will be fully decoded but not all SMARTS query features can be displayed in the sketcher and not all possible atom and bond query attributes can be edited As long as atom or bonds with extended SMARTS attributes are not touched these extra attributes will however be preserved and exported in suitable formats An editor string for the popular JME editor applet A Sybyl line notation string of a query structure Support for SLN query attributes is not complete A CACTVS V2 base64 encoded minimol string A CACTVS ensemble block in zlib compressed base64 encoded format An identifier of an existing NCBI Netcache session This will only work with sketcher installations which use NCBI Netcache to store state NCBI Queueman sessions cannot be resumed for technical reasons A PubChem database record identified by its Structure identifier A PubChem database record identified by its Compound identifier A PubChem deposition system record identified by its Deposition identifier Access will only succeed if a cookie in environment variable HTTP COOKIE contains the session ID of a registered depositor and when that session ID grants access to the
37. nual 13 PubChem Sketcher User Manual This set of four check boxes allows you to request saturation or insaturation and explicit aliphatic or aromatic character of a matched database structure atom Saturated insaturated and aliphatic aro matic are mutually exclusive These explicit flags which are applied only to a single atom always override any global match conventions set in a general structure search panel which opened the edi tor window Isotope Here you can specify the nucleon count of an isotope label on that atom The input is a single integer This information will automatically be used for substructure searches and also if an appropriate hashcode is used for hashcode based full structure queries Allowed valences This is a set of checkboxes where you can set allowed valence states of the atom when matched to a database structure If no explicit valences are selected the atom can be of any valence Note that non VB bonds complex bonds ionic bonds etc in database structures have a zero valence count contribution Allowed neighbors This checkbox set works the same way as the valence row above except that the bonded neighbors are simply counted and bond orders and bond types are ignored Allowed substituents Essentially the same as the neighbor count except that hydrogen is not counted in the bonded neigh bors Allowed hydrogens This constraint is complementary to the substituent and neighbor counts All
38. o a carbon atom will be sprouted from the start atom If possible a 120 degree angle will be maintained to existing bonds on the start atom If that is not possible the largest gap in the bond sphere will be filled e Start at an empty location drag to mouse to an different empty location A bond between two newly entered carbon atoms will be created using the start and end locations at end points of the bond e Start at an empty location end at an existing atom A carbon atom is entered at the location where the mouse was first pressed down and then a bond is created between the new atom and the end atom e Click into empty space A horizontal bond between a pair of newly entered carbon atoms will be created Special Bond Types Besides single double and triple bonds a couple of special bond types are accessible via the bond button set e Wedge bonds These are used to specify stereochemistry You may place them anywhere Cl AN but they will only specify stereochemistry at atoms which can possibly exhibit tetrahedral stereochemistry including sulfoxides similar envi NV c ronments with a free electron pair A set of four wedges placed on a possible square planar stereocenter is also recognized following the IUPAC recom mendations Complex bonds The PubChem database uses a special complex bond type to encode bonds in complexes which can not be adequately described by VB bonds The dotted line bond is u
39. oes not necessarily immediately pos sess a document domain which allows the domain adjustment to succeed Depending on Web server configuration the implicit domain may not have been resolved into a fully qualified path name For example if a HTML page which wants to link to a sketcher instance is called as http cis nyapp form html the page domain as seen from JavaScript on that page may simply be cis even if the cis com puter is in the n m nih gov domain and its fully qualified name is cis ncbi nlm nih gov In that case the domain setting statement will still fail and the editor no be able to transmit data to that page In order to solve this problem a sketcher dependent Web page should always check its own document domain and execute a reload with a fully qualified domain name if necessary Here is a simple sample function to achieve this function checkDomain if document domain cis ncbi nIm nih gov if location pathname 1 location replace http cis ncbi nlm nih gov Hocation search else location replace http cis ncbi nlm nih gov Hocation pathname location search document domain nlm nih gov This function should only be called in as an onload handler attached to the lt body gt tag Direct execu tion in the script section of the page is not safe Many older Web browsers tend to crash or lock up if a location replace is executed while the original page is still loading The call
40. opyranose Q Q 0 q o 0 0 0 0 A On OX ee o o 0 0 o o 7 Local intranet You can switch between template collections by clicking on the tabs Individual templates are selected by first clicking onto them and then into the drawing area where they should be placed The click position is the center of the fragment placement position After transferring a fragment into the drawing area the tem plate window is closed and the sketcher automatically activates the move mode in order to allow more pre cise placement of the transferred fragment It is currently not possible to automatically link a transferred fragment to existing drawing components at the instant of transfer Graphical Manipulations To the left of the template grid button the top button row contains four buttons for graphical modifications of the current structure e The move mode button highlighted in the image to the right Sketcher Manual 9 PubChem Sketcher User Manual This mode allows you to move structure fragments atoms or bonds The position of the initial mouse click determines the object to be moved If an atom is clicked only that atom is moved around as long as the mouse key is pressed All bonds to that atom will adjust If the clicked objectis a bond both atoms of the bond will be moved in parallel If neither an atom nor a bond is clicked but the click point is within the
41. ow input structures for queries the PubChem Assay and Structure database uses its own unique Web based sketcher tool This document describes its features and operation Sketcher Manual PubChem Sketcher User Manual System Requirements The sketcher was designed to be as Browser and platform independent as possible and should work on any recent Web browser on MS Windows OS X or Unix Linux It does not require the presence of a Java execution environment nor does it use a plug in requiring installation and installation privileges It does not store any data on your computer or changes the browser configuration either The program works by streaming images to your browser and capturing mouse events on these images In order to be able to do that it requires 1 A JavaScript interpreter which does not even need to support the latest Web 2 0 features Please allow JavaScript interpretation for this tool without JavaScript support this application will not work at all 2 A browser capable of displaying PNG and or GIF images Some error status is reported via animated GIFs In order to be able to see error flashes do not disable image annotation 3 Areasonably speedy Internet connection The tool will work via dial up but we recommend a faster connection The total bandwidth consumed by this application is on the order of an Internet radio station and significantly less than any video streaming site First Steps The
42. owed hetero substituents Essentially the same as the neighbor count except that neither hydrogen nor carbon bonded neigh bors are counted Allowed ring bond count The number of ring bonds the atom may participate in Note that both VB and complex bonds can be ring bonds but ionic bonds and other exotic types are excluded in the ring bond detection and are never considered part of a ring Allowed ring sizes If you select one or more of these checkboxes the atom can only match to database structure atoms which are a member of a ring of at least one of the selected sizes or specifically a chain atom The ring set used to determine this property is dependent on the back end structure database system For PubChem it is an extended set of smallest rings in which all 3 atom sequences of bonded ring atoms are part of at least one ring This ring set is more symmetrical than the classical SSSR 14 Sketcher Manual Sketcher Operation Display of Atom Query Attributes Any atom query attributes which are set in the atom query panel or which are already present when a struc ture is pre loaded or imported are reflected in the drawing on the canvas Atoms with query attributes are 7 E gt lt S D a NO COOH COOMe SOGH 1 n o 0 2 drawn with extended atom symbols and or read attribute annotations These special el
43. pages Examples are element symbols and bond type icons These images were not hand drawn but can be regenerated pro grammatically by running the mkicons tcl script with a sketcher FCGI interpreter as in csweb f mkicons tcl The mkicons tcl script may be edited to use different fonts and backgrounds etc Normal installations will probably stick with the images in their standard supplied form The second directory named tpl contains script code and HTML templates which need to be adapted to set up the service in the current location Files from this directory are processed by the supplied Make file and stored in modified form in the target directory overwriting any older processed interface files in that location Selecting a Script Interpreter The standard sketcher package does not contain the script interpreter which runs the application script For default installations a suitable interpreter is the csweb executable found in academic and commer cial CACTVS toolkit packages There are two interpreters commonly used with this application e csweb This is a standard CACTVS Toolkit interpreter without any NCBI extensions It will only work with the in memory storage system for sketcher structure data It will also not be able to import for example PubChem structures via CID reference or perform any other tasks which require interaction with NCBlI specific systems or encodings csweb nlm static This is the default CACTVS Toolkit in
44. ressed to a new location This will add a new atom at the end position and attempt to make Ba Ir Ir TI Pb a single bond to the atom where the operation started isl Sr Ru JRu In Sn The button set only displays a single column of buttons for minor group elements The element any one of these button represents can be changed by means of the option menu to the right of each of these buttons In a similar fashion lanthanides and actinides as well as deuterium tritium and a query any atom can be obtained from the button above the minor group element buttons Bond Drawing The second row of buttons provides a selection of different bond types When one of these buttons are active the sketcher is in bond drawing mode ll f i gt sn on r r r r r m7m e Clicking on an existing bond The order or style of the bond will be changed to the selected type if possible without gross valence vio lations e Startat an existing atom and drag the mouse to a different location Sketcher Manual 5 PubChem Sketcher User Manual A new bond will be created beginning from the existing atom If the mouse button is released on another atom a bond is created or modified between the start and end atoms If the location of release is not occupied by any atom a bond to a new carbon atom is created e Clicking on an existing atom A new bond t
45. rformance and reliability This manual assumes that any external storage manager which is going to be used is already installed and configured properly In case in memory state storage is used the Web server must be prevented from running multiple instances of the sketcher FCGI by appropriate main Web server configuration options Since state is stored only in a single process and no inter process communication is supported a switch to a second FCGI process by the Web server will lead to a loss of the current structure information Multiple FCGI instances are allowed to be run on a single machine if external state storage is used This is primarily useful for multi processor hosts Preparing for Installation To prepare for installation create an empty temporary staging directory Download the Sketcher installation package or obtain it in another way and unpack it in this staging directory The standard package format is a simple tgz file so the commands should be something like mkdir stage cd stage gunzip my path edit tgz tar xvf After installation the contents of the staging directory can be deleted Configurable Template Directories After unpacking a sketcher distribution in an installation directory there are two subdirectories which con tain data which may be customized Sketcher Manual 3 Installation of Sketcher Web Service The img directory contains small images used as buttons on the sketcher interface
46. sed to encode this type of bond Complex bonds do not participate in electron counting for valence bonds and do not have an inher ent bond order If used as a query bond they are an bond which will match any database struc ture bond Crossed bonds The crossed bond type is a special type of double bond which is used to indicate that the drawn posi tions of the bond ligands do not imply defined stereochemistry on a stereogenic double bond Sketcher Manual Sketcher Operation Query bonds The S A single or aromatic D A double or aromatic and S D single or double but not aromatic are query bond types which can be used to flexibly define the type of database structure bond which can match this bond if the sketched structure is used for substructure searching These bonds cannot be used for full structure lookup Atomic Charges Charges on existing atoms can be specified by selecting the plus or minus charge buttons If one of these modes are active a click on an existing atom will increase or decrease the charge by one Note that there is currently no support for specifying explicit radicals Fragments Below the bond drawing buttons two rows of buttons allow the convenient input of larger structural frag ments 4 s ololOOlo A m dele NO coc one LL i The first row of buttons display important basic r
47. setting of new attributes on affected atoms they will if pos sible in the structure data transfer format be preserved in structures submitted via the editor Setting Bond Query Attributes If the editor is in query attribute mode and you click onto a bond this query attribute window opens MILES v ct CC CC CTHGN FI ESSE EITUENTTTITTIHDETUYUUTYT o SIA DA SID E Attribute ik Aromati ri 2 eo Query Flags peus Y FE we oon peake E 197 m m m m m Allowed Ring Si Set Reset Close si P S POE OF SQ tocatintranet as se Br Kr Its mode of operation is very similar to the corresponding atom panel but there are different and fewer attributes which can be set and changed e Query flags You can request a bond to be matched only to aromatic or aliphatic database structure bonds Allowed ring Sizes If you select one or more of these checkboxes the bond can only match to database structure bonds which are a part of a ring of at least one of the selected sizes or specifically a chain bond The ring set used to determine this property is dependent on the back end structure database system For Pub Chem it is an extended set of smallest rings in which all 3 atom sequences of bonded ring atoms are part of at least one ring T
48. sketcher is usually started from within a larger form such as http pubchem ncbi nlm gov search is linked to an input form field in that form and invoked by means of a button labelled Sketch right next to it When this button is clicked a new window is opened Depending on the contents of the source field the sketcher window may be pre loaded with a structure for example by decoding a SMILES or InChl string retrieving a structure via its CID from the PubChem database or by getting a structure from some other source Example Open page http pubchem ncbi nIm gov search in your browser Enter 999 without the quotes into the field Search SMILES to specify a CID Press the Sketch button A separate sketcher win dow will open that will look similar to the image below In case the window does not open verify that you have JavaScript enabled in your browser If a popup blocker should interfere use its override mechanism such as using ctrl click to temporarily allow the Sketcher Manual Sketcher Operation opening of additional windows or preferably selectively disable the blocker for the nlm nih gov domain The exact methods to achieve this are dependent on the type of blocker you may be using Broadband SMILES 1 1 New udo Cin Del ary jets Cv 9e EE 2 e SIA 5 0 m ODOH COOMe SOSH mA P a He
49. specific deposi tion identifier It is not possible to view arbitrary deposition IDs A PubChem queue manager ID This identifier is only used for the purpose of revisiting a previous query on the original PubChem system A PubChem structure upload vetting ID This is a space separated list of a Queueman request ID and the name of a blob associated with that request Please remember that in parameter URLs the space character separating these two parts must be escaped as a plus sign The content of the blob is a binary un compressed CACTVS structure blob In con trast to all other initial sketcher content identifiers this parameter establishes a continu ous database connection Every change of the loaded structure is automatically and immediately reflected in the Queueman database other initialization data identifiers are read only i e the PubChem database is not updated when a pre loaded CID is edited in the sketcher This parameter is only useful in combination with a VID identifier It is a boolean value which determines whether the structure written back into the database blob identified by 1 From Molinspiration www molinspiration com Sketcher Manual the VID parameter will undergo an automatic hydrogen addition step before it is stored or whether it is transmitted as it appears in the sketcher The visible sketcher content is not changed regardless of the value of this parameter If it is not set the default value for
50. standalone version It defines the port the sketcher process will be oper ating on It must not collide with the port of any other network based service on the system In addition using a port below 1024 will probably require special permissions e STORAGE This is the selected storage system It can be memory netcache or qman The netcache and qman options require that the respective service has been set up and is running CACHEPORT CACHEHOST and CACHESERVICE These parameters are of relevance only if the netcache storage system is used Please refer to the net cache documentation for details e HOST This is the fully qualified name computer name and domain of the server host this application is being installed on as visible from the outside Internet In case a virtual host is used which comprises of more than one physical host use the virtual host name e DOMAIN This variable defines the document domain the sketcher will be operating in It can be set either to the same value as the HOST variable or it can be any more generic Internet domain For example if the host is pubchem ncbi nlm nih gov it may be set to the same value or ncbi nlm nih gov or nlm nih gov This parameter effectively controls from which sites the sketcher functionality can be used from If the fully qualified host name is used only pages served from the same host can receive sketcher data in forms and other page elements If a more generic domain is confi
51. status of the imported structure will be adjusted at upload time depending on the setting of the Hydrogen option menu These are its possible values Add A standard set of hydrogens is added to all open valences Add Special Hydrogen is added to all hetero atoms and carbon atoms where it is needed to make the encoding unambiguous i e at stereo centers and stereo bonds as well as to carbon atoms which traditionally are drawn with explicit hydrogens aldehydes C triple bond terminals etc Keep AslIs The hydrogen status is kept as it was in the upload file Strip Non Special Hydrogen is remove from carbon atoms except where it is needed to determine stereochemistry or where it is traditionally drawn aldehydes C triple bond terminals etc Strip All hydrogen atoms are removed from input The exact set of supported file formats for sketcher import is dependent on the installation In general almost any frequently used chemical structure file format will be understood more than 3 dozen file formats and format variants but specific installations may choose to reduce the set of file formats they are willing to support Structure Export The sketcher can export the currently edited structure in various formats This capability makes it a con venient tool for the input of data sets of limited to be used locally or even file format conversion 22 Sketcher Manual Sketcher Operation The current structure is
52. ted connections If the choice menu is set to Dialup a few changes in the processing of user input will reduce the amount of data transmitted and make the application more responsive over channels with limited capacity Reduction of the number of mouse tracking events sent when moving the mouse resulting in fewer image and structure data updates Higher required distance minima for sending update and catchup events in periods of mouse inactiv ity Sketcher Manual Sketcher Operation e The drawings will not use anti aliased fonts and lines cutting the size of drawing area images in half and thus reducing the amount of data transferred Element Buttons The middle section of the button area is filled by element buttons that are roughly arranged like the periodic table of elements Clicking one of these buttons will switch the editor to the element mode When one of these buttons is active the following operations are supported in the canvas area to the right e Clicking in an empty location ann This will add a single atom of the selected type at that location T 4 4 Yb e Clicking on an existing atom This will change the existing atom to the selected element If the Be Bic old atom has bonds and the number of bonds would result in a I gross valence violation some bonds will be automatically Mg Z0 removed Ga Ge e Starting on an existing atom and drag the mouse with left button p
53. terpreter used in a variety of PubChem Web services Its functionality is a superset of the standard csweb interpreter It has support for interacting with the PubChem database knows how to talk to the gman and netcache storage manager systems supports PubChem ASN 1 encoding and decoding of structure data and various other enhancements for operating in the PubChem environment To prepare for an installation either copy the selected interpreter executable into the unpacked installa tion directory or make at least sure that it is found in the standard path Sketcher Manual Configuring the Installation The key to setting up a custom installation is the Makefile found in the staging directory The first lines of the Makefile contain variable definitions which are used to process template files and update their internal references etc so that the whole set up works in the location of the target directory The following variables need to be set e TARGETDIR The full path name of the target directory for the installation as seen in the file system Usually it is a subdirectory of htdocs An attempt will be made to create the directory if it is not yet present INTERPRETER The name of the interpreter executable without a path e SERVER Allowable values are standalone for the user process daemon version and fcgi for FCGI A standard non developer installation will use fcgi e STANDALONEPORT This variable is only used for the
54. th more than one button the right mouse button is a shortcut to deletion opeat ions It will always work without the need to switch into the deletion mode It supports the quick deletion of atoms bonds and full fragments The selection rectangle can only be used in the proper deletion mode The quick deletion mode is especially useful when you needed to click into the drawing area for example in order to assign it the keyboard focus and by this click inadvertently added a single atom A quick right click and the spurious addition is gone Undoing Redoing and Starting Fresh The button marked Udo implements a simple undo redo facility Only a single opera tion can be undone If the button is then clicked again the undo operation is itself New Udo undone i e you end up with the old structure again Sketcher Manual 11 PubChem Sketcher User Manual The New button deletes the current drawing completely and gives you a blank slate This operation can also be undone in case the command was executed in error Both buttons perform their operations immediately as indicated by their raised shape and are not modes Undo does not change the current sketcher mode New resets it to the single bond drawing tool Cleaning up Structures The button labelled Cln clean recomputes the structure layout without changing other aspects of the structure The image to the d right shows a sample molecule before and after cleanup
55. y generate the mirror image of a E fragment or to change the stereochemistry of a double bond If a double gt C 3e bond is clicked the ligands on one side of the bond are flipped so that the compound with opposite cis trans stereochemistry on that bond results If the click point is a molecule box the whole molecule is mirrored along the x or y axis All tetrahe dral stereochemistry and wedge bonds are updated to represent the enantiomer of the mirrored mole cule There is no special action for clicking onto an atom this is the same as a click into the bounding box 10 Sketcher Manual Sketcher Operation Deleting Objects The button marked Del is used to enter the object deletion mode When this mode is active the following operations are supported rre ay b EB SIA DA 5 0 SJL FE woe so tin e Clicking on an atom The atom and all the bonds it participates in are deleted Clicking on a bond The bond will be deleted but its atoms remain e Clicking into a molecule bounding box but not onto an atom or bond The complete fragment will be deleted e Starting in an empty location and dragging This is shown in the image above red box is displayed which follows the dragged mouse When the mouse button is released all objects within the selected area are removed If you are using a mouse wi
56. ydrogen atoms are encoded with fixed positions so that the structure decodes to exactly the same tautomer as drawn Formula The line displays the molecular formula and molecular weight A full complement of hydrogen atoms is implicitly assumed 18 Sketcher Manual Sketcher Operation e SLN The line content is a Sybyl Line Notation encoding of the current structure The text in the data field can be conveniently be copied and pasted with normal text highlight and clipboard operations Thus the sketcher can be a convenient input tool even for sites which do not possess a direct data update link to the main query form but do allow their structure input data to be encoded in SMILES SMARTS or SLN In the SMILES SMARTS and SLN representations atom and bond query attributes are encoded as far as technically possible Not all supported query attributes can be expressed in all of these line notation formats The sketcher SMILES encoding uses the following custom extensions Complex bonds as special bond character Allowed hetero substituents x as query atom attribute On some sites the installer of the sketcher application may have opted to automatically and continuously copy the information from the data line to the clipboard after each data change This only works with the Internet Explorer Web browser and removes the need to manually copy the text content The PubChem site does not emp

Download Pdf Manuals

image

Related Search

Related Contents

user manual  fx-82ES fx-83ES fx-85ES fx-300ES fx-350ES - Support  Makita BDF460 User's Manual  Apri  INSTRUCTIONS - Harley  1- 6- 1 ortheses d`immobilisation - Centre Européen de la Colonne  取扱説明書(PDF:1327KB)  

Copyright © All rights reserved.
Failed to retrieve file