User 247a2c5018
11-01-2006 16:31:07
I run :
cxcalc -S 2005-03-03_10.sdf logp > titi.sdf
In the new Sdfile titi.sdf, the CTAB block bas been modified.
Is it possible to store the same CTAB block than the original Sdfile (2005-03-03_10.sdf)?
User 247a2c5018
12-01-2006 08:57:10
the command is : output after cxcalc -S titi.sdf logp > toto.sdf
User 247a2c5018
12-01-2006 09:05:32
input :
-ISIS- 02100513522D
27 29 0 0 0 0 0 0 0 0999 V2000
-0.3806 0.4917 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.3818 -0.3357 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.3331 -0.7485 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.0495 -0.3352 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.0466 0.4953 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.3313 0.9045 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.7646 -0.7466 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.7659 -1.5716 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
2.4784 -0.3329 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
3.9074 -0.3307 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
4.6225 -0.7421 0.0000 N 0 0 3 0 0 0 0 0 0 0 0 0
3.9061 0.4943 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
4.6238 -1.5671 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
5.3363 -0.3285 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.0486 -0.7400 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.7619 -0.3271 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.7611 0.4988 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.0409 0.9100 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
5.3305 0.4947 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3.1875 -0.7417 0.0000 C 0 0 3 0 0 0 0 0 0 0 0 0
3.1858 -1.5667 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
2.6746 -2.1985 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.8738 -2.0697 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.3628 -2.7007 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.6543 -3.4603 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
2.4616 -3.5851 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
2.9691 -2.9529 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
11 13 1 0 0 0 0
1 2 2 0 0 0 0
11 14 1 0 0 0 0
4 7 1 0 0 0 0
14 15 2 0 0 0 0
3 4 2 0 0 0 0
15 16 1 0 0 0 0
7 8 2 0 0 0 0
16 17 2 0 0 0 0
17 18 1 0 0 0 0
7 9 1 0 0 0 0
18 19 2 0 0 0 0
19 14 1 0 0 0 0
9 20 1 0 0 0 0
4 5 1 0 0 0 0
20 21 1 4 0 0 0
20 10 1 0 0 0 0
21 22 1 0 0 0 0
2 3 1 0 0 0 0
22 23 2 0 0 0 0
10 11 1 0 0 0 0
23 24 1 0 0 0 0
5 6 2 0 0 0 0
24 25 2 0 0 0 0
10 12 2 0 0 0 0
25 26 1 0 0 0 0
6 1 1 0 0 0 0
26 27 2 0 0 0 0
27 22 1 0 0 0 0
M END
> <vrac> (3963)
50
$$$$
output :
Marvin 01120610032D
27 29 0 0 0 0 999 V2000
-0.3810 0.4923 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.3822 -0.3361 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.3335 -0.7493 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.0507 -0.3356 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.0478 0.4959 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.3317 0.9055 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.7666 -0.7474 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.7679 -1.5734 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
2.4812 -0.3333 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
3.9118 -0.3311 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
4.6277 -0.7429 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
3.9105 0.4949 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
4.6290 -1.5689 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
5.3423 -0.3289 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.0554 -0.7408 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.7695 -0.3275 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.7687 0.4994 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
6.0477 0.9110 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
5.3365 0.4953 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
3.1911 -0.7425 0.0000 C 0 0 3 0 0 0 0 0 0 0 0 0
3.1894 -1.5685 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
2.6776 -2.2010 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.8759 -2.0720 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.3643 -2.7037 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.6562 -3.4642 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
2.4644 -3.5891 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
2.9724 -2.9562 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
11 13 1 0 0 0 0
1 2 2 0 0 0 0
11 14 1 0 0 0 0
4 7 1 0 0 0 0
14 15 2 0 0 0 0
3 4 2 0 0 0 0
15 16 1 0 0 0 0
7 8 2 0 0 0 0
16 17 2 0 0 0 0
17 18 1 0 0 0 0
7 9 1 0 0 0 0
18 19 2 0 0 0 0
19 14 1 0 0 0 0
9 20 1 0 0 0 0
4 5 1 0 0 0 0
20 21 1 4 0 0 0
20 10 1 0 0 0 0
21 22 1 0 0 0 0
2 3 1 0 0 0 0
22 23 2 0 0 0 0
10 11 1 0 0 0 0
23 24 1 0 0 0 0
5 6 2 0 0 0 0
24 25 2 0 0 0 0
10 12 2 0 0 0 0
25 26 1 0 0 0 0
6 1 1 0 0 0 0
26 27 2 0 0 0 0
27 22 1 0 0 0 0
M END
> <vrac>
50
> <LOGP>
4,02
$$$$
ChemAxon 43e6884a7a
12-01-2006 09:17:03
The input is V3000 type SDfile and the output is V2000 SDfile.
You can convert the output to V3000 type using
Code: |
molconvert sdf:V3 toto.sdf >toto2.sdf |
However the CTAB block will still not be the same. There is no way to keep the same CTAB block as CTAB is not a canonical format.
I am not sure if this is useful, but you can generate canonical strings using SMIILES:
Code: |
cxcalc -i smiles:a-H 1.sdf logp >toto2.sdf |
User 247a2c5018
12-01-2006 09:29:17
for the second example , it is a V2000 format and yet the CTAB block has been changed after CXCALC -S
WHich option to avoid this change of CTAB block?
ChemAxon 43e6884a7a
12-01-2006 10:53:40
Please see may previous response: "However the CTAB block will still not be the same. There is no way to keep the same CTAB block as CTAB is not a canonical format."
User 247a2c5018
12-01-2006 11:21:35
Oh yes I understand your last post.
So is there any way to calculate LOGP by command line from a sdfile and at the output, just add the LOGP value for each structure in the input Sdfile without any change?
ChemAxon 43e6884a7a
12-01-2006 11:33:44
I don't think that we have any tool to support that, but we will discuss this. My colleague, Nora, who deals with these issues is off this week, so it might take some time to get back.
User 247a2c5018
13-01-2006 09:05:21
I run :
cxcalc logp titi.sdf > toto.txt
in toto.txt, I have
id logP
1 4,02
Is it possible to have only "4,02"?
ChemAxon fb166edcbd
14-01-2006 14:28:48
Yes, you should use the "-N hi" (no header and ID) cxcalc option:
Code: |
cxcalc -N hi logp titi.sdf
|
About the CTAB differences: if the -S (SDF output) option is specified,
cxcalc outputs the input molecules with calculation results in SDF tags. In order to do this, an import/export operation is performed. If the CTAB changes during this process then the CTAB is changed. I think usually there are no changes, but some minor changes may occur mainly if you use a different software (e.g. ISIS) to draw the molecules and Marvin might change some flags (e.g. no-parity to either-parity in the atom block). What type of CTAB changes do you think of?