Converting group to pseudo atom in the standardization

User a83cdfbe8a

23-09-2010 10:37:58

We are facing a new problem about standardization. we set two transform(convert nitro to NO2 pseudo atom and convert azide to N3 pseudo atom) as the method you taught us.  But we found the pseudo atom had an effect to the chiral structure when we made a standardization using jchem for linux(5.3.7). The chiral information was removed. Could you help us to find out which setting  need to be modified.


Thank you very much


The attahced file(contract-1-standardized.sdf was standardized from contract-1.sdf)

ChemAxon e08c317633

24-09-2010 17:22:42

We cannot reproduce the error. I attached  the generated output (out.sdf), it seems fine.


Please let us know which Java version are you using on your system. Use the "java -version" command to identify the Java version.


$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)

ChemAxon products support only Sun distributed Java versions (see more details in System requirements). If your have a non-Sun distributed Java version, then you have the following options:

A.) Use the JChem installer with bundled Java (jchem-VERSION-linux_with_jre.sh). In this case, installer and installed components will use the bundled Sun Java.

B.) Install a Sun distributed Java to your machine and prefer this Java version in your PATH.


Let us know if this solves the problem.


Regards,
Zsolt

User a83cdfbe8a

27-09-2010 10:28:11











 


Zsolt wrote:



We cannot reproduce the error. I attached  the generated output (out.sdf), it seems fine.


Please let us know which Java version are you using on your system. Use the "java -version" command to identify the Java version.


$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)

ChemAxon products support only Sun distributed Java versions (see more details in System requirements). If your have a non-Sun distributed Java version, then you have the following options:

A.) Use the JChem installer with bundled Java (jchem-VERSION-linux_with_jre.sh). In this case, installer and installed components will use the bundled Sun Java.

B.) Install a Sun distributed Java to your machine and prefer this Java version in your PATH.


Let us know if this solves the problem.


Regards,
Zsolt



Hi, I  Use the JChem installer with bundled Java (jchem-5.3.7-linux_with_jre.sh),


linux-wim4:~ # java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)


java code:


String molfiles = request.getParameter("molfile");
Standardizer sta = new Standardizer(new File("config.xml"));
Molecule mols=MolImporter.importMol(molfiles);
Molecule molfilea=sta.standardize(mols);


String molfile=molfilea.toFormat("MRV");


When  put the molfile into database, it has such problems。


Thanks!

ChemAxon e08c317633

27-09-2010 12:33:36










cd2002 wrote:







When  put the molfile into database, it has such problems。



So the error occurs only if  molecules are read from database?


Could you run the Standardizer command line application on your system, and post here the output (out.sdf)?


standardize -c config.xml contract-1.sdf -f sdf -o out.sdf

 Zsolt

User a83cdfbe8a

28-09-2010 08:12:07










Zsolt wrote:










cd2002 wrote:







When  put the molfile into database, it has such problems。



So the error occurs only if  molecules are read from database?


Could you run the Standardizer command line application on your system, and post here the output (out.sdf)?


standardize -c config.xml contract-1.sdf -f sdf -o out.sdf

 Zsolt



Hi, Zsolt


Thanks for your suggest.


Our purpose was that the structure can be input into the structure database one by one after it was standardized using the above java code, rather than all the standardized structures were output as SDF.  I forget to say that the structure was saved in the database in mrv format.


Could you test if the error can be reproduced by standardizing the structure in mrv format? Is there  some bug with "Pseudo Transform"?


 

ChemAxon e08c317633

29-09-2010 11:36:14

Hi,


We can reproduce the bug now. The error occurs if the input structures are in mrv format (see outFromMrv.mrv). If the input comes from sdf file, then the result is correct (see outFromSdf.mrv). The output format does not matter.


$ standardize -c config.xml contract-1.mrv -f mrv -o outFromMrv.mrv

$ standardize -c config.xml contract-1.sdf -f mrv -o outFromSdf.mrv

We will fix the error, the fix can be expected in JChem 5.4.1 (maybe earlier).


Workaround: convert the structures to sdf before standardization.


Note: the error occurs only if there are pseudo atom transforms in the Standardzier config


Zsolt

User a83cdfbe8a

14-03-2011 06:45:00










Zsolt wrote:

Hi,


We can reproduce the bug now. The error occurs if the input structures are in mrv format (see outFromMrv.mrv). If the input comes from sdf file, then the result is correct (see outFromSdf.mrv). The output format does not matter.


$ standardize -c config.xml contract-1.mrv -f mrv -o outFromMrv.mrv

$ standardize -c config.xml contract-1.sdf -f mrv -o outFromSdf.mrv

We will fix the error, the fix can be expected in JChem 5.4.1 (maybe earlier).


Workaround: convert the structures to sdf before standardization.


Note: the error occurs only if there are pseudo atom transforms in the Standardzier config


Zsolt



Hi,


We are glad to find Jchem 5.4.1 had been released, but this error is still exist. If the MRV file was input for standardized, the chiral information was removed with N3 or NO2 pseudo atom.  Could you fix this error? we are planning to upgrade the version of Jchem when we got a satisfying version. Thank you very much

ChemAxon e08c317633

16-03-2011 10:19:19

This bug will be fixed in JChem 5.5, it will be released in April 2011. Sorry for the inconvenience, it took more time to fix the issue than we expected.


Zsolt

User a83cdfbe8a

31-05-2011 09:51:09










Zsolt wrote:

This bug will be fixed in JChem 5.5, it will be released in April 2011. Sorry for the inconvenience, it took more time to fix the issue than we expected.


Zsolt




Hi, We downloaded the JChem 5.5 and was disappointed to find we can not standardize the structure with N3 and NO2 and other special structure.  Those structures can be stanardized in old version. The chiral problem is still existed. Could you help us to deal with them?

ChemAxon e08c317633

10-06-2011 16:42:06

Hi,


The original bug was fixed. JChem 5.5 generates the same output for MRV and SDF inputs:


$ standardize -c config.xml contract-1.mrv -f mrv -o outFromMrv.mrv

$ standardize -c config.xml contract-1.sdf -f mrv -o outFromSdf.mrv











cd2002 wrote:













Hi, We downloaded the JChem 5.5 and was disappointed to find we can not standardize the structure with N3 and NO2 and other special structure.  Those structures can be stanardized in old version. The chiral problem is still existed. Could you help us to deal with them?
 


Unfortunately it's a different bug: the created structures cannot be exported to MRV format. If the output format is SDF, then  the output is created.


$ standardize -c 20110314.xml Structures.mrv -f sdf -o out.sdf

I attached the output (out.sdf). It's still not correct, so we do not recommend converting groups to pseudo atoms, and then converting them back to groups using the "Alias To  Group" action (this was a workaround we suggested earlier). We will implement a Standardizen action that can convert the selected parts of the molecule (given as a substructure query) into groups in one step.


Sorry for the late answer.


Zsolt

User a83cdfbe8a

14-06-2011 08:44:58

Thank a lot


Our purpose is to standardize various type of N3, NO2 to a same type in MRV file. In order to display more beautifully, the N3, NO2 will be displayed as contract group. Certainly, the property of structure must be kept  no changed. Could you help us to recommend the suitable method? will we need to wait for the next version?


Thank very much for help

ChemAxon e08c317633

30-06-2011 08:52:08










cd2002 wrote:

Our purpose is to standardize various type of N3, NO2 to a same type in MRV file. In order to display more beautifully, the N3, NO2 will be displayed as contract group. Certainly, the property of structure must be kept  no changed. Could you help us to recommend the suitable method? will we need to wait for the next version?



Yes, you will have to wait for JChem 5.7 version.


Zsolt