Maarvin View

User 0e345a0616

09-03-2012 17:34:31

Php code for sub structural search using marvin sketch

User 1b64124363

12-03-2012 08:54:16

Plz reply its urgent

ChemAxon 7c2d26e5cf

12-03-2012 09:53:21

Dear Monica,


Please specify your issue exactly. Do you have some problem with the integratation of Marvin Sketch applet into a php code?

User 1b64124363

12-03-2012 10:54:59

yep rite sir ..i want to integrate marvin in php code for sub structural search . i want its php code


 


and i also want to display structures in marvin view  using php.How to integrate marvin view in php.


 


 

User 1b64124363

12-03-2012 12:18:51

Hello sir


I am attaching my word file . here i am unable to display structure in marvin view..plz tell me its code .. i will also send u its code.


 


and the code for sub structural search using marvin sketch

ChemAxon 7c2d26e5cf

12-03-2012 13:10:23

I recommend to take a look at JChem Base examples.


http://www.chemaxon.com/products/online-tryouts/jchem-search/


It demonstrates how you can integrate MarvinSketch and MarvinView into substructure search.


Actually, there are two ways:


1. Generate image for each structure and insert it into the proper cell on the generated html. By clicking on the image, it is replaced to a MarvinView applet instance. The Ajax example follows this way.


2. Insert a multicell MarvinView applet. The table is rendered by the MarvinView. It display either the structure, IUPAC name, SMILES string and chemical structures. JSP based examples (like simple example) follows this way.


The source of examples you can find in the JChem package.


To be more familiar with MarvinView customization, I recommend to check also MarvinView applet examples on Marvin site:


http://www.chemaxon.com/marvin/examples/applets/view/